Home
last modified time | relevance | path

Searched refs:sha256_update (Results 1 – 9 of 9) 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.c485 sha256_update(&sctx, (u8 *)&c, sizeof(c)); in tpm2_KDFe()
487 sha256_update(&sctx, z, EC_PT_SZ); in tpm2_KDFe()
489 sha256_update(&sctx, str, strlen(str)+1); in tpm2_KDFe()
490 sha256_update(&sctx, pt_u, EC_PT_SZ); in tpm2_KDFe()
491 sha256_update(&sctx, pt_v, EC_PT_SZ);
714 sha256_update(&sctx, (u8 *)&head->ordinal, sizeof(head->ordinal)); in tpm_buf_fill_hmac_session()
726 sha256_update(&sctx, auth->name[i], ret); in tpm_buf_fill_hmac_session()
730 sha256_update(&sctx, (u8 *)&h, 4); in tpm_buf_fill_hmac_session()
734 sha256_update(&sctx, &buf->data[offset_s],
853 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/arch/riscv/purgatory/
H A Dpurgatory.c29 sha256_update(&sctx, (const u8 *)(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/lib/crypto/
H A Dsha256.c267 sha256_update(&ctx, data, len); in sha256()