Searched refs:link_str (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/fs/cifs/ |
D | link.c | 38 symlink_hash(unsigned int link_len, const char *link_str, u8 *md5_hash) in symlink_hash() argument 52 rc = crypto_shash_update(md5, link_str, link_len); in symlink_hash() 73 const char *link_str; in parse_mf_symlink() local 81 link_str = (const char *)&buf[CIFS_MF_SYMLINK_LINK_OFFSET]; in parse_mf_symlink() 90 rc = symlink_hash(link_len, link_str, md5_hash); in parse_mf_symlink() 104 *_link_str = kstrndup(link_str, link_len, GFP_KERNEL); in parse_mf_symlink() 114 format_mf_symlink(u8 *buf, unsigned int buf_len, const char *link_str) in format_mf_symlink() argument 124 link_len = strlen(link_str); in format_mf_symlink() 129 rc = symlink_hash(link_len, link_str, md5_hash); in format_mf_symlink() 141 memcpy(buf + ofs, link_str, link_len); in format_mf_symlink()
|
D | smbencrypt.c | 43 mdfour(unsigned char *md4_hash, unsigned char *link_str, int link_len) in mdfour() argument 53 rc = cifs_md4_update(&mctx, link_str, link_len); in mdfour()
|