Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/
H A Dauth.c99 rc = crypto_shash_init(CRYPTO_HMACMD5(ctx)); in ksmbd_gen_sess_key()
105 rc = crypto_shash_update(CRYPTO_HMACMD5(ctx), in ksmbd_gen_sess_key()
113 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), sess->sess_key); in ksmbd_gen_sess_key()
146 ret = crypto_shash_init(CRYPTO_HMACMD5(ctx)); in calc_ntlmv2_hash()
168 ret = crypto_shash_update(CRYPTO_HMACMD5(ctx), in calc_ntlmv2_hash()
191 ret = crypto_shash_update(CRYPTO_HMACMD5(ctx), in calc_ntlmv2_hash()
199 ret = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_hash); in calc_ntlmv2_hash()
250 rc = crypto_shash_init(CRYPTO_HMACMD5(ctx)); in ksmbd_auth_ntlmv2()
266 rc = crypto_shash_update(CRYPTO_HMACMD5(ctx), construct, len); in ksmbd_auth_ntlmv2()
272 rc = crypto_shash_final(CRYPTO_HMACMD5(ctx), ntlmv2_rsp); in ksmbd_auth_ntlmv2()
H A Dcrypto_ctx.h39 #define CRYPTO_HMACMD5(c) ((c)->desc[CRYPTO_SHASH_HMACMD5]) macro