Home
last modified time | relevance | path

Searched refs:sha256_ctx (Results 1 – 8 of 8) 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 */
132 struct sha256_ctx sha256;
H A Ddm-verity-target.c125 struct sha256_ctx *ctx = &io->hash_ctx.sha256; in verity_hash()
1368 kmalloc_obj(struct sha256_ctx); 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/security/apparmor/
H A Dcrypto.c39 struct sha256_ctx sctx; in aa_calc_profile_hash()
/linux/crypto/
H A Dsha256.c134 #define SHA256_CTX(desc) ((struct sha256_ctx *)shash_desc_ctx(desc))
352 .descsize = sizeof(struct sha256_ctx),
/linux/fs/btrfs/
H A Dfs.h1108 struct sha256_ctx sha256;