Searched refs:CRYPTO_HMACSHA256 (Results 1 – 2 of 2) sorted by relevance
/linux/fs/smb/server/ |
H A D | auth.c | 599 rc = crypto_shash_init(CRYPTO_HMACSHA256(ctx)); in ksmbd_sign_smb2_pdu() 606 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in ksmbd_sign_smb2_pdu() 615 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), sig); in ksmbd_sign_smb2_pdu() 708 rc = crypto_shash_init(CRYPTO_HMACSHA256(ctx)); in generate_key() 714 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), i, 4); in generate_key() 720 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key() 728 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), &zero, 1); in generate_key() 734 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key() 745 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), L256, 4); in generate_key() 747 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), L128, 4); in generate_key() [all …]
|
H A D | crypto_ctx.h | 40 #define CRYPTO_HMACSHA256(c) ((c)->desc[CRYPTO_SHASH_HMACSHA256]) macro
|