Searched refs:CRYPTO_HMACSHA256 (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/fs/ksmbd/ |
D | auth.c | 587 rc = crypto_shash_init(CRYPTO_HMACSHA256(ctx)); in ksmbd_sign_smb2_pdu() 594 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in ksmbd_sign_smb2_pdu() 603 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), sig); in ksmbd_sign_smb2_pdu() 696 rc = crypto_shash_init(CRYPTO_HMACSHA256(ctx)); in generate_key() 702 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), i, 4); in generate_key() 708 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key() 716 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), &zero, 1); in generate_key() 722 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key() 732 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), L256, 4); in generate_key() 734 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), L128, 4); in generate_key() [all …]
|
D | crypto_ctx.h | 40 #define CRYPTO_HMACSHA256(c) ((c)->desc[CRYPTO_SHASH_HMACSHA256]) macro
|