Lines Matching refs:CRYPTO_HMACSHA256
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()
753 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), hashptr); in generate_key()