Home
last modified time | relevance | path

Searched refs:sha256_ctx (Results 1 – 12 of 12) sorted by relevance

/linux/include/crypto/
H A Dsha2.h329 struct sha256_ctx { struct
341 void sha256_init(struct sha256_ctx *ctx);
353 static inline void sha256_update(struct sha256_ctx *ctx, in sha256_update()
368 void sha256_final(struct sha256_ctx *ctx, u8 out[at_least SHA256_DIGEST_SIZE]);
394 void sha256_finup_2x(const struct sha256_ctx *ctx, const u8 *data1,
/linux/drivers/md/
H A Ddm-verity.h47 struct sha256_ctx *sha256; /* for use_sha256_lib=1 */
129 struct sha256_ctx sha256;
H A Ddm-verity-target.c124 struct sha256_ctx *ctx = &io->hash_ctx.sha256; in verity_hash()
1374 kmalloc(sizeof(struct sha256_ctx), GFP_KERNEL); in verity_setup_salt_and_hashstate()
/linux/lib/crypto/
H A Dsha256.c29 static const struct sha256_ctx initial_sha256_ctx = {
179 void sha256_init(struct sha256_ctx *ctx) in sha256_init()
245 void sha256_final(struct sha256_ctx *ctx, u8 out[SHA256_DIGEST_SIZE]) in sha256_final()
264 struct sha256_ctx ctx; in sha256()
308 void sha256_finup_2x(const struct sha256_ctx *ctx, const u8 *data1, in sha256_finup_2x()
/linux/arch/s390/purgatory/
H A Dpurgatory.c19 struct sha256_ctx sctx; in verify_sha256_digest()
/linux/arch/riscv/purgatory/
H A Dpurgatory.c23 struct sha256_ctx sctx; in verify_sha256_digest()
/linux/arch/x86/purgatory/
H A Dpurgatory.c28 struct sha256_ctx sctx; in verify_sha256_digest()
/linux/security/apparmor/
H A Dcrypto.c39 struct sha256_ctx sctx; in aa_calc_profile_hash()
/linux/fs/verity/
H A Dfsverity_private.h34 struct sha256_ctx sha256;
/linux/crypto/
H A Dsha256.c134 #define SHA256_CTX(desc) ((struct sha256_ctx *)shash_desc_ctx(desc))
352 .descsize = sizeof(struct sha256_ctx),
/linux/drivers/char/tpm/
H A Dtpm2-sessions.c469 struct sha256_ctx sctx; in tpm2_KDFe()
592 struct sha256_ctx sctx; in tpm_buf_fill_hmac_session()
766 struct sha256_ctx sctx; in tpm_buf_check_hmac_response()
/linux/kernel/
H A Dkexec_file.c804 struct sha256_ctx sctx; in kexec_calculate_store_digests()