Lines Matching refs:CRYPTO_HMACSHA256
581 rc = crypto_shash_init(CRYPTO_HMACSHA256(ctx)); in ksmbd_sign_smb2_pdu()
588 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in ksmbd_sign_smb2_pdu()
597 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), sig); in ksmbd_sign_smb2_pdu()
689 rc = crypto_shash_init(CRYPTO_HMACSHA256(ctx)); in generate_key()
695 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), i, 4); in generate_key()
701 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key()
709 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), &zero, 1); in generate_key()
715 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), in generate_key()
725 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), L256, 4); in generate_key()
727 rc = crypto_shash_update(CRYPTO_HMACSHA256(ctx), L128, 4); in generate_key()
733 rc = crypto_shash_final(CRYPTO_HMACSHA256(ctx), hashptr); in generate_key()