Lines Matching refs:hmacmd5
507 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5, nt_hash, in calc_ntlmv2_hash()
610 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5, in CalcNTLMv2_response()
655 server->secmech.hmacmd5 = crypto_alloc_shash("hmac(md5)", 0, 0); in crypto_hmacmd5_alloc()
656 if (IS_ERR(server->secmech.hmacmd5)) { in crypto_hmacmd5_alloc()
658 rc = PTR_ERR(server->secmech.hmacmd5); in crypto_hmacmd5_alloc()
659 server->secmech.hmacmd5 = NULL; in crypto_hmacmd5_alloc()
664 crypto_shash_descsize(server->secmech.hmacmd5); in crypto_hmacmd5_alloc()
667 crypto_free_shash(server->secmech.hmacmd5); in crypto_hmacmd5_alloc()
668 server->secmech.hmacmd5 = NULL; in crypto_hmacmd5_alloc()
671 server->secmech.sdeschmacmd5->shash.tfm = server->secmech.hmacmd5; in crypto_hmacmd5_alloc()
755 rc = crypto_shash_setkey(ses->server->secmech.hmacmd5, in setup_ntlmv2_rsp()
854 if (server->secmech.hmacmd5) { in cifs_crypto_shash_release()
855 crypto_free_shash(server->secmech.hmacmd5); in cifs_crypto_shash_release()
856 server->secmech.hmacmd5 = NULL; in cifs_crypto_shash_release()