Searched refs:hmac_sha256_update (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/char/tpm/ |
| H A D | tpm2-sessions.c | 449 hmac_sha256_update(&hctx, (u8 *)&c, sizeof(c)); in tpm2_KDFa() 450 hmac_sha256_update(&hctx, label, strlen(label) + 1); in tpm2_KDFa() 451 hmac_sha256_update(&hctx, u, SHA256_DIGEST_SIZE); in tpm2_KDFa() 452 hmac_sha256_update(&hctx, v, SHA256_DIGEST_SIZE); in tpm2_KDFa() 453 hmac_sha256_update(&hctx, (u8 *)&bits, sizeof(bits)); in tpm2_KDFa() 721 hmac_sha256_update(&hctx, cphash, sizeof(cphash)); in tpm_buf_fill_hmac_session() 722 hmac_sha256_update(&hctx, auth->our_nonce, sizeof(auth->our_nonce)); in tpm_buf_fill_hmac_session() 723 hmac_sha256_update(&hctx, auth->tpm_nonce, sizeof(auth->tpm_nonce)); in tpm_buf_fill_hmac_session() 724 hmac_sha256_update(&hctx, &auth->attrs, 1); in tpm_buf_fill_hmac_session() 843 hmac_sha256_update(&hctx, rphash, sizeof(rphash)); in tpm_buf_check_hmac_response() [all …]
|
| /linux/fs/smb/client/ |
| H A D | smb2transport.c | 239 hmac_sha256_update(&hmac_ctx, iov[0].iov_base, iov[0].iov_len); in smb2_calc_signature() 270 hmac_sha256_update(&hmac_ctx, i, 4); in generate_key() 271 hmac_sha256_update(&hmac_ctx, label.iov_base, label.iov_len); in generate_key() 272 hmac_sha256_update(&hmac_ctx, &zero, 1); in generate_key() 273 hmac_sha256_update(&hmac_ctx, context.iov_base, context.iov_len); in generate_key() 277 hmac_sha256_update(&hmac_ctx, L256, 4); in generate_key() 279 hmac_sha256_update(&hmac_ctx, L128, 4); in generate_key()
|
| /linux/fs/smb/server/ |
| H A D | auth.c | 480 hmac_sha256_update(&ctx, iov[i].iov_base, iov[i].iov_len); in ksmbd_sign_smb2_pdu() 529 hmac_sha256_update(&ctx, i, 4); in generate_key() 530 hmac_sha256_update(&ctx, label.iov_base, label.iov_len); in generate_key() 531 hmac_sha256_update(&ctx, &zero, 1); in generate_key() 532 hmac_sha256_update(&ctx, context.iov_base, context.iov_len); in generate_key() 537 hmac_sha256_update(&ctx, L256, 4); in generate_key() 539 hmac_sha256_update(&ctx, L128, 4); in generate_key()
|
| /linux/lib/crypto/ |
| H A D | sha256.c | 453 hmac_sha256_update(&ctx, data, data_len); in hmac_sha256() 477 hmac_sha256_update(&ctx, data, data_len); in hmac_sha256_usingrawkey()
|
| /linux/crypto/ |
| H A D | sha256.c | 270 hmac_sha256_update(HMAC_SHA256_CTX(desc), data, len); in crypto_hmac_sha256_update()
|
| /linux/include/crypto/ |
| H A D | sha2.h | 479 static inline void hmac_sha256_update(struct hmac_sha256_ctx *ctx, in hmac_sha256_update() function
|
| /linux/drivers/nvme/common/ |
| H A D | auth.c | 256 hmac_sha256_update(&hmac->sha256, data, data_len); in nvme_auth_hmac_update()
|
| /linux/net/ceph/ |
| H A D | messenger_v2.c | 798 hmac_sha256_update(&ctx, kvecs[i].iov_base, kvecs[i].iov_len); in con_hmac_sha256()
|