Home
last modified time | relevance | path

Searched refs:hmac_sha256_update (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/char/tpm/
H A Dtpm2-sessions.c442 hmac_sha256_update(&hctx, (u8 *)&c, sizeof(c)); in tpm2_KDFa()
443 hmac_sha256_update(&hctx, label, strlen(label) + 1); in tpm2_KDFa()
444 hmac_sha256_update(&hctx, u, SHA256_DIGEST_SIZE); in tpm2_KDFa()
445 hmac_sha256_update(&hctx, v, SHA256_DIGEST_SIZE); in tpm2_KDFa()
446 hmac_sha256_update(&hctx, (u8 *)&bits, sizeof(bits)); in tpm2_KDFa()
732 hmac_sha256_update(&hctx, cphash, sizeof(cphash)); in tpm_buf_fill_hmac_session()
733 hmac_sha256_update(&hctx, auth->our_nonce, sizeof(auth->our_nonce)); in tpm_buf_fill_hmac_session()
734 hmac_sha256_update(&hctx, auth->tpm_nonce, sizeof(auth->tpm_nonce)); in tpm_buf_fill_hmac_session()
735 hmac_sha256_update(&hctx, &auth->attrs, 1); in tpm_buf_fill_hmac_session()
854 hmac_sha256_update(&hctx, rphash, sizeof(rphash)); in tpm_buf_check_hmac_response()
[all …]
/linux/fs/smb/server/
H A Dauth.c500 hmac_sha256_update(&ctx, iov[i].iov_base, iov[i].iov_len); in ksmbd_sign_smb2_pdu()
549 hmac_sha256_update(&ctx, i, 4); in generate_key()
550 hmac_sha256_update(&ctx, label.iov_base, label.iov_len); in generate_key()
551 hmac_sha256_update(&ctx, &zero, 1); in generate_key()
552 hmac_sha256_update(&ctx, context.iov_base, context.iov_len); in generate_key()
557 hmac_sha256_update(&ctx, L256, 4); in generate_key()
559 hmac_sha256_update(&ctx, L128, 4); in generate_key()
/linux/crypto/
H A Dsha256.c270 hmac_sha256_update(HMAC_SHA256_CTX(desc), data, len); in crypto_hmac_sha256_update()
/linux/include/crypto/
H A Dsha2.h507 * hmac_sha256_update() - Update an HMAC-SHA256 context with message data
516 static inline void hmac_sha256_update(struct hmac_sha256_ctx *ctx,
479 static inline void hmac_sha256_update(struct hmac_sha256_ctx *ctx, hmac_sha256_update() function
/linux/drivers/nvme/common/
H A Dauth.c256 hmac_sha256_update(&hmac->sha256, data, data_len); in nvme_auth_hmac_update()
/linux/net/ipv4/
H A Dtcp_ao.c104 hmac_sha256_update(&mac_ctx->hmac_sha256, data, data_len); in tcp_ao_mac_update()
/linux/net/ceph/
H A Dmessenger_v2.c798 hmac_sha256_update(&ctx, kvecs[i].iov_base, kvecs[i].iov_len); in con_hmac_sha256()