Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/crypto/
Dsha256-spe-glue.c54 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) in ppc_sha256_clear_context()
56 int count = sizeof(struct sha256_state) >> 2; in ppc_sha256_clear_context()
60 BUILD_BUG_ON(sizeof(struct sha256_state) % 4); in ppc_sha256_clear_context()
66 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_init()
83 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha224_init()
101 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update()
145 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final()
206 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export()
214 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_import()
227 .descsize = sizeof(struct sha256_state),
[all …]
/linux-4.4.14/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-4.4.14/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),
183 .descsize = sizeof(struct sha256_state),
/linux-4.4.14/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.h73 struct sha256_state { struct
/linux-4.4.14/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),
122 .descsize = sizeof(struct sha256_state),
175 .descsize = sizeof(struct sha256_state),
190 .descsize = sizeof(struct sha256_state),
259 .descsize = sizeof(struct sha256_state),
274 .descsize = sizeof(struct sha256_state),
341 .descsize = sizeof(struct sha256_state),
356 .descsize = sizeof(struct sha256_state),
/linux-4.4.14/arch/x86/purgatory/
Dsha256.h17 extern int sha256_init(struct sha256_state *sctx);
18 extern int sha256_update(struct sha256_state *sctx, const u8 *input,
20 extern int sha256_final(struct sha256_state *sctx, u8 *hash);
Dpurgatory.c46 struct sha256_state sctx; in verify_sha256_digest()
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-4.4.14/arch/arm/crypto/
Dsha2-ce-glue.c28 asmlinkage void sha2_ce_transform(struct sha256_state *sst, u8 const *src,
34 struct sha256_state *sctx = shash_desc_ctx(desc); in sha2_ce_update()
74 .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),
92 .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),
84 .descsize = sizeof(struct sha256_state),
/linux-4.4.14/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-4.4.14/arch/s390/crypto/
Dsha256_s390.c46 struct sha256_state *octx = out; in sha256_export()
57 const struct sha256_state *ictx = in; in sha256_import()
74 .statesize = sizeof(struct sha256_state),
111 .statesize = sizeof(struct sha256_state),
/linux-4.4.14/drivers/crypto/
Dpadlock-sha.c155 struct sha256_state state; in padlock_sha256_finup()
277 .statesize = sizeof(struct sha256_state),
384 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_init_nano()
386 *sctx = (struct sha256_state){ in padlock_sha256_init_nano()
397 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_update_nano()
450 struct sha256_state *state = in padlock_sha256_final_nano()
451 (struct sha256_state *)shash_desc_ctx(desc); in padlock_sha256_final_nano()
518 .descsize = sizeof(struct sha256_state),
519 .statesize = sizeof(struct sha256_state),
Dn2_core.c297 struct sha256_state sha256;
/linux-4.4.14/drivers/crypto/qce/
Dsha.c159 struct sha256_state *out_state = out; in qce_ahash_export()
220 const struct sha256_state *state = in; in qce_ahash_import()
472 .statesize = sizeof(struct sha256_state),
490 .statesize = sizeof(struct sha256_state),
/linux-4.4.14/arch/arm64/crypto/
Dsha2-ce-glue.c28 struct sha256_state sst;
/linux-4.4.14/drivers/crypto/marvell/
Dhash.c1007 struct sha256_state *out_state = out; in mv_cesa_sha256_export()
1015 const struct sha256_state *in_state = in; in mv_cesa_sha256_import()
1031 .statesize = sizeof(struct sha256_state),
1356 struct sha256_state istate, ostate; in mv_cesa_ahmac_sha256_setkey()
1407 .statesize = sizeof(struct sha256_state),
/linux-4.4.14/crypto/
Dsha256_generic.c218 static void sha256_generic_block_fn(struct sha256_state *sst, u8 const *src, in sha256_generic_block_fn()
254 .descsize = sizeof(struct sha256_state),
268 .descsize = sizeof(struct sha256_state),
/linux-4.4.14/drivers/staging/rtl8723au/include/
Drtw_security.h160 struct sha256_state { struct
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Drtw_security.h172 struct sha256_state { struct
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_algs.c151 struct sha256_state sha256; in qat_alg_do_precomputes()