Searched refs:sha256_ctx (Results 1 – 8 of 8) sorted by relevance
329 struct sha256_ctx { struct341 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,
47 struct sha256_ctx *sha256; /* for use_sha256_lib=1 */132 struct sha256_ctx sha256;
125 struct sha256_ctx *ctx = &io->hash_ctx.sha256; in verity_hash()1368 kmalloc_obj(struct sha256_ctx); in verity_setup_salt_and_hashstate()
29 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()
19 struct sha256_ctx sctx; in verify_sha256_digest()
39 struct sha256_ctx sctx; in aa_calc_profile_hash()
134 #define SHA256_CTX(desc) ((struct sha256_ctx *)shash_desc_ctx(desc))352 .descsize = sizeof(struct sha256_ctx),
1108 struct sha256_ctx sha256;