Searched refs:link_len (Results 1 – 2 of 2) sorted by relevance
/fs/cifs/ |
D | link.c | 57 symlink_hash(unsigned int link_len, const char *link_str, u8 *md5_hash) in symlink_hash() argument 85 rc = crypto_shash_update(&sdescmd5->shash, link_str, link_len); in symlink_hash() 106 unsigned int link_len; in parse_mf_symlink() local 118 rc = sscanf(buf, CIFS_MF_SYMLINK_LEN_FORMAT, &link_len); in parse_mf_symlink() 122 rc = symlink_hash(link_len, link_str, md5_hash); in parse_mf_symlink() 136 *_link_str = kstrndup(link_str, link_len, GFP_KERNEL); in parse_mf_symlink() 141 *_link_len = link_len; in parse_mf_symlink() 149 unsigned int link_len; in format_mf_symlink() local 156 link_len = strlen(link_str); in format_mf_symlink() 158 if (link_len > CIFS_MF_SYMLINK_LINK_MAXLEN) in format_mf_symlink() [all …]
|
D | smbencrypt.c | 133 mdfour(unsigned char *md4_hash, unsigned char *link_str, int link_len) in mdfour() argument 161 rc = crypto_shash_update(&sdescmd4->shash, link_str, link_len); in mdfour()
|