Home
last modified time | relevance | path

Searched refs:hmacmd5 (Results 1 – 1 of 1) sorted by relevance

/linux/fs/smb/client/
H A Dcifsencrypt.c419 const struct nls_table *nls_cp, struct shash_desc *hmacmd5) in calc_ntlmv2_hash() argument
431 rc = crypto_shash_setkey(hmacmd5->tfm, nt_hash, CIFS_NTHASH_SIZE); in calc_ntlmv2_hash()
437 rc = crypto_shash_init(hmacmd5); in calc_ntlmv2_hash()
456 rc = crypto_shash_update(hmacmd5, (char *)user, 2 * len); in calc_ntlmv2_hash()
473 rc = crypto_shash_update(hmacmd5, (char *)domain, 2 * len); in calc_ntlmv2_hash()
488 rc = crypto_shash_update(hmacmd5, (char *)server, 2 * len); in calc_ntlmv2_hash()
496 rc = crypto_shash_final(hmacmd5, ntlmv2_hash); in calc_ntlmv2_hash()
504 CalcNTLMv2_response(const struct cifs_ses *ses, char *ntlmv2_hash, struct shash_desc *hmacmd5) in CalcNTLMv2_response() argument
515 rc = crypto_shash_setkey(hmacmd5->tfm, ntlmv2_hash, CIFS_HMAC_MD5_HASH_SIZE); in CalcNTLMv2_response()
521 rc = crypto_shash_init(hmacmd5); in CalcNTLMv2_response()
[all …]