Home
last modified time | relevance | path

Searched refs:sha256_state (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v4.19/arch/powerpc/crypto/
Dsha256-spe-glue.c55 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) in ppc_sha256_clear_context()
57 int count = sizeof(struct sha256_state) >> 2; in ppc_sha256_clear_context()
61 BUILD_BUG_ON(sizeof(struct sha256_state) % 4); in ppc_sha256_clear_context()
67 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_init()
84 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha224_init()
102 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update()
146 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final()
207 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export()
215 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_import()
228 .descsize = sizeof(struct sha256_state),
[all …]
/Linux-v4.19/arch/mips/cavium-octeon/crypto/
Docteon-sha256.c36 static void octeon_sha256_store_hash(struct sha256_state *sctx) in octeon_sha256_store_hash()
46 static void octeon_sha256_read_hash(struct sha256_state *sctx) in octeon_sha256_read_hash()
72 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha224_init()
89 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_init()
104 static void __octeon_sha256_update(struct sha256_state *sctx, const u8 *data, in __octeon_sha256_update()
138 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_update()
163 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_final()
215 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_export()
223 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_import()
236 .descsize = sizeof(struct sha256_state),
[all …]
/Linux-v4.19/arch/sparc/crypto/
Dsha256_glue.c31 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_sparc64_init()
47 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_init()
61 static void __sha256_sparc64_update(struct sha256_state *sctx, const u8 *data, in __sha256_sparc64_update()
85 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_update()
100 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_final()
145 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_export()
153 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_import()
166 .descsize = sizeof(struct sha256_state),
167 .statesize = sizeof(struct sha256_state),
182 .descsize = sizeof(struct sha256_state),
/Linux-v4.19/include/crypto/
Dsha256_base.h18 typedef void (sha256_block_fn)(struct sha256_state *sst, u8 const *src,
23 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_base_init()
40 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init()
60 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_update()
97 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_finalize()
119 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_finish()
126 *sctx = (struct sha256_state){}; in sha256_base_finish()
Dsha.h84 struct sha256_state { struct
/Linux-v4.19/arch/x86/crypto/
Dsha256_ssse3_glue.c50 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update()
57 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); in sha256_update()
107 .descsize = sizeof(struct sha256_state),
121 .descsize = sizeof(struct sha256_state),
173 .descsize = sizeof(struct sha256_state),
187 .descsize = sizeof(struct sha256_state),
255 .descsize = sizeof(struct sha256_state),
269 .descsize = sizeof(struct sha256_state),
335 .descsize = sizeof(struct sha256_state),
349 .descsize = sizeof(struct sha256_state),
/Linux-v4.19/include/linux/
Dsha256.h25 extern int sha256_init(struct sha256_state *sctx);
26 extern int sha256_update(struct sha256_state *sctx, const u8 *input,
28 extern int sha256_final(struct sha256_state *sctx, u8 *hash);
/Linux-v4.19/arch/arm/crypto/
Dsha2-ce-glue.c29 asmlinkage void sha2_ce_transform(struct sha256_state *sst, u8 const *src,
35 struct sha256_state *sctx = shash_desc_ctx(desc); in sha2_ce_update()
75 .descsize = sizeof(struct sha256_state),
89 .descsize = sizeof(struct sha256_state),
Dsha256_neon_glue.c35 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update()
77 .descsize = sizeof(struct sha256_state),
91 .descsize = sizeof(struct sha256_state),
Dsha256_glue.c40 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); in crypto_sha256_arm_update()
69 .descsize = sizeof(struct sha256_state),
83 .descsize = sizeof(struct sha256_state),
/Linux-v4.19/arch/arm64/crypto/
Dsha256-glue.c67 .descsize = sizeof(struct sha256_state),
79 .descsize = sizeof(struct sha256_state),
90 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update_neon()
150 .descsize = sizeof(struct sha256_state),
162 .descsize = sizeof(struct sha256_state),
Dsha2-ce-glue.c26 struct sha256_state sst;
/Linux-v4.19/drivers/crypto/nx/
Dnx-sha256.c51 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_init()
71 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_update()
191 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_final()
262 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_export()
271 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_import()
285 .descsize = sizeof(struct sha256_state),
286 .statesize = sizeof(struct sha256_state),
/Linux-v4.19/arch/s390/crypto/
Dsha256_s390.c41 struct sha256_state *octx = out; in sha256_export()
52 const struct sha256_state *ictx = in; in sha256_import()
69 .statesize = sizeof(struct sha256_state),
105 .statesize = sizeof(struct sha256_state),
/Linux-v4.19/drivers/crypto/
Dpadlock-sha.c151 struct sha256_state state; in padlock_sha256_finup()
268 .statesize = sizeof(struct sha256_state),
369 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_init_nano()
371 *sctx = (struct sha256_state){ in padlock_sha256_init_nano()
382 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_update_nano()
430 struct sha256_state *state = in padlock_sha256_final_nano()
431 (struct sha256_state *)shash_desc_ctx(desc); in padlock_sha256_final_nano()
497 .descsize = sizeof(struct sha256_state),
498 .statesize = sizeof(struct sha256_state),
Dimg-hash.c820 .statesize = sizeof(struct sha256_state),
846 .statesize = sizeof(struct sha256_state),
/Linux-v4.19/arch/s390/purgatory/
Dpurgatory.c19 struct sha256_state sctx; in verify_sha256_digest()
/Linux-v4.19/arch/x86/purgatory/
Dpurgatory.c45 struct sha256_state sctx; in verify_sha256_digest()
/Linux-v4.19/drivers/crypto/qce/
Dsha.c164 struct sha256_state *out_state = out; in qce_ahash_export()
225 const struct sha256_state *state = in; in qce_ahash_import()
454 .statesize = sizeof(struct sha256_state),
472 .statesize = sizeof(struct sha256_state),
/Linux-v4.19/drivers/crypto/marvell/
Dhash.c1035 struct sha256_state *out_state = out; in mv_cesa_sha256_export()
1043 const struct sha256_state *in_state = in; in mv_cesa_sha256_import()
1059 .statesize = sizeof(struct sha256_state),
1383 struct sha256_state istate, ostate; in mv_cesa_ahmac_sha256_setkey()
1434 .statesize = sizeof(struct sha256_state),
/Linux-v4.19/crypto/
Dsha256_generic.c234 static void sha256_generic_block_fn(struct sha256_state *sst, u8 const *src, in sha256_generic_block_fn()
270 .descsize = sizeof(struct sha256_state),
284 .descsize = sizeof(struct sha256_state),
/Linux-v4.19/lib/
Dsha256.c211 int sha256_init(struct sha256_state *sctx) in sha256_init()
226 int sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len) in sha256_update()
256 int sha256_final(struct sha256_state *sctx, u8 *out) in sha256_final()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_security.h204 struct sha256_state { struct
/Linux-v4.19/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c359 .statesize = sizeof(struct sha256_state),
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_algs.c152 struct sha256_state sha256; in qat_alg_do_precomputes()

12