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/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/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.c472 struct sha256_ctx sctx; in tpm2_KDFe()
595 struct sha256_ctx sctx; in tpm_buf_fill_hmac_session()
769 struct sha256_ctx sctx; in tpm_buf_check_hmac_response()