Searched refs:hmac_sha256_update (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/char/tpm/ |
| H A D | tpm2-sessions.c | 446 hmac_sha256_update(&hctx, (u8 *)&c, sizeof(c)); in tpm2_KDFa() 447 hmac_sha256_update(&hctx, label, strlen(label) + 1); in tpm2_KDFa() 448 hmac_sha256_update(&hctx, u, SHA256_DIGEST_SIZE); in tpm2_KDFa() 449 hmac_sha256_update(&hctx, v, SHA256_DIGEST_SIZE); in tpm2_KDFa() 450 hmac_sha256_update(&hctx, (u8 *)&bits, sizeof(bits)); in tpm2_KDFa() 718 hmac_sha256_update(&hctx, cphash, sizeof(cphash)); in tpm_buf_fill_hmac_session() 719 hmac_sha256_update(&hctx, auth->our_nonce, sizeof(auth->our_nonce)); in tpm_buf_fill_hmac_session() 720 hmac_sha256_update(&hctx, auth->tpm_nonce, sizeof(auth->tpm_nonce)); in tpm_buf_fill_hmac_session() 721 hmac_sha256_update(&hctx, &auth->attrs, 1); in tpm_buf_fill_hmac_session() 840 hmac_sha256_update(&hctx, rphash, sizeof(rphash)); in tpm_buf_check_hmac_response() [all …]
|
| /linux/fs/smb/client/ |
| H A D | smb2transport.c | 246 hmac_sha256_update(&hmac_ctx, iov[0].iov_base, iov[0].iov_len); in smb2_calc_signature() 283 hmac_sha256_update(&hmac_ctx, i, 4); in generate_key() 284 hmac_sha256_update(&hmac_ctx, label.iov_base, label.iov_len); in generate_key() 285 hmac_sha256_update(&hmac_ctx, &zero, 1); in generate_key() 286 hmac_sha256_update(&hmac_ctx, context.iov_base, context.iov_len); in generate_key() 290 hmac_sha256_update(&hmac_ctx, L256, 4); in generate_key() 292 hmac_sha256_update(&hmac_ctx, L128, 4); in generate_key()
|
| H A D | cifsencrypt.c | 38 hmac_sha256_update(ctx->hmac, data, len); in cifs_sig_update()
|
| /linux/fs/smb/server/ |
| H A D | auth.c | 478 hmac_sha256_update(&ctx, iov[i].iov_base, iov[i].iov_len); in ksmbd_sign_smb2_pdu() 552 hmac_sha256_update(&ctx, i, 4); in generate_key() 553 hmac_sha256_update(&ctx, label.iov_base, label.iov_len); in generate_key() 554 hmac_sha256_update(&ctx, &zero, 1); in generate_key() 555 hmac_sha256_update(&ctx, context.iov_base, context.iov_len); in generate_key() 560 hmac_sha256_update(&ctx, L256, 4); in generate_key() 562 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/net/ceph/ |
| H A D | messenger_v2.c | 800 hmac_sha256_update(&ctx, kvecs[i].iov_base, kvecs[i].iov_len); in ceph_hmac_sha256()
|