Home
last modified time | relevance | path

Searched refs:sha256_update (Results 1 – 11 of 11) sorted by relevance

/linux/security/apparmor/
H A Dcrypto.c50 sha256_update(&sctx, (u8 *)&le32_version, 4); in aa_calc_profile_hash()
51 sha256_update(&sctx, (u8 *)start, len); in aa_calc_profile_hash()
/linux/drivers/char/tpm/
H A Dtpm2-sessions.c479 sha256_update(&sctx, (u8 *)&c, sizeof(c)); in tpm2_KDFe()
481 sha256_update(&sctx, z, EC_PT_SZ); in tpm2_KDFe()
483 sha256_update(&sctx, str, strlen(str)+1); in tpm2_KDFe()
484 sha256_update(&sctx, pt_u, EC_PT_SZ); in tpm2_KDFe()
485 sha256_update(&sctx, pt_v, EC_PT_SZ); in tpm2_KDFe()
690 sha256_update(&sctx, (u8 *)&head->ordinal, sizeof(head->ordinal)); in tpm_buf_fill_hmac_session()
702 sha256_update(&sctx, auth->name[i], ret); in tpm_buf_fill_hmac_session()
706 sha256_update(&sctx, (u8 *)&h, 4); in tpm_buf_fill_hmac_session()
710 sha256_update(&sctx, &buf->data[offset_s], in tpm_buf_fill_hmac_session()
829 sha256_update(&sctx, (u8 *)&head->return_code, in tpm_buf_check_hmac_response()
[all …]
/linux/fs/verity/
H A Dhash_algs.c79 sha256_update(&ctx.sha256, padded_salt, padded_salt_size); in fsverity_prepare_hash_state()
117 sha256_update(&ctx.sha256, data, params->block_size); in fsverity_hash_block()
/linux/arch/s390/purgatory/
H A Dpurgatory.c25 sha256_update(&sctx, (uint8_t *)(ptr->start), ptr->len); in verify_sha256_digest()
/linux/arch/riscv/purgatory/
H A Dpurgatory.c29 sha256_update(&sctx, (uint8_t *)(ptr->start), ptr->len); in verify_sha256_digest()
/linux/arch/x86/purgatory/
H A Dpurgatory.c34 sha256_update(&sctx, (uint8_t *)(ptr->start), ptr->len); in verify_sha256_digest()
/linux/crypto/
H A Dsha256.c145 sha256_update(SHA256_CTX(desc), data, len); in crypto_sha256_update()
/linux/include/crypto/
H A Dsha2.h353 static inline void sha256_update(struct sha256_ctx *ctx, in sha256_update() function
/linux/kernel/
H A Dkexec_file.c849 sha256_update(&sctx, ksegment->kbuf, ksegment->bufsz); in kexec_calculate_store_digests()
861 sha256_update(&sctx, zero_buf, bytes); in kexec_calculate_store_digests()
/linux/lib/crypto/
H A Dsha256.c267 sha256_update(&ctx, data, len); in sha256()
/linux/drivers/md/
H A Ddm-verity-target.c131 sha256_update(ctx, data, len); in verity_hash()
1380 sha256_update(v->initial_hashstate.sha256, in verity_setup_salt_and_hashstate()