Home
last modified time | relevance | path

Searched refs:sha256_update (Results 1 – 8 of 8) 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.c475 sha256_update(&sctx, (u8 *)&c, sizeof(c)); in tpm2_KDFe()
477 sha256_update(&sctx, z, EC_PT_SZ); in tpm2_KDFe()
479 sha256_update(&sctx, str, strlen(str)+1); in tpm2_KDFe()
480 sha256_update(&sctx, pt_u, EC_PT_SZ); in tpm2_KDFe()
481 sha256_update(&sctx, pt_v, EC_PT_SZ); in tpm2_KDFe()
704 sha256_update(&sctx, (u8 *)&head->ordinal, sizeof(head->ordinal)); in tpm_buf_fill_hmac_session()
716 sha256_update(&sctx, auth->name[i], ret); in tpm_buf_fill_hmac_session()
720 sha256_update(&sctx, (u8 *)&h, 4); in tpm_buf_fill_hmac_session()
724 sha256_update(&sctx, &buf->data[offset_s], in tpm_buf_fill_hmac_session()
843 sha256_update( 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/fs/btrfs/
H A Dfs.c97 sha256_update(&ctx->sha256, data, len); in btrfs_csum_update()
/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/drivers/md/
H A Ddm-verity-target.c132 sha256_update(ctx, data, len); in verity_hash()
1374 sha256_update(v->initial_hashstate.sha256, in verity_setup_salt_and_hashstate()