Home
last modified time | relevance | path

Searched refs:sha1_state (Results 1 – 21 of 21) sorted by relevance

/linux-4.4.14/arch/powerpc/crypto/
Dsha1-spe-glue.c53 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) in ppc_sha1_clear_context()
55 int count = sizeof(struct sha1_state) >> 2; in ppc_sha1_clear_context()
59 BUILD_BUG_ON(sizeof(struct sha1_state) % 4); in ppc_sha1_clear_context()
65 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_init()
80 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_update()
123 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_final()
160 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_export()
168 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_import()
181 .descsize = sizeof(struct sha1_state),
182 .statesize = sizeof(struct sha1_state),
Dsha1.c33 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_init()
35 *sctx = (struct sha1_state){ in sha1_init()
45 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_update()
81 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_final()
109 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_export()
117 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_import()
130 .descsize = sizeof(struct sha1_state),
131 .statesize = sizeof(struct sha1_state),
/linux-4.4.14/arch/sparc/crypto/
Dsha1_glue.c31 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_init()
33 *sctx = (struct sha1_state){ in sha1_sparc64_init()
40 static void __sha1_sparc64_update(struct sha1_state *sctx, const u8 *data, in __sha1_sparc64_update()
64 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_update()
80 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_final()
113 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_export()
122 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_import()
136 .descsize = sizeof(struct sha1_state),
137 .statesize = sizeof(struct sha1_state),
/linux-4.4.14/arch/mips/cavium-octeon/crypto/
Docteon-sha1.c35 static void octeon_sha1_store_hash(struct sha1_state *sctx) in octeon_sha1_store_hash()
49 static void octeon_sha1_read_hash(struct sha1_state *sctx) in octeon_sha1_read_hash()
80 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_init()
92 static void __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, in __octeon_sha1_update()
126 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_update()
151 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_final()
191 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_export()
199 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_import()
212 .descsize = sizeof(struct sha1_state),
213 .statesize = sizeof(struct sha1_state),
/linux-4.4.14/include/crypto/
Dsha1_base.h18 typedef void (sha1_block_fn)(struct sha1_state *sst, u8 const *src, int blocks);
22 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_init()
39 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_update()
76 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_finalize()
97 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_finish()
104 *sctx = (struct sha1_state){}; in sha1_base_finish()
Dsha.h67 struct sha1_state { struct
/linux-4.4.14/arch/arm/crypto/
Dsha1-ce-glue.c27 asmlinkage void sha1_ce_transform(struct sha1_state *sst, u8 const *src,
33 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_ce_update()
71 .descsize = sizeof(struct sha1_state),
Dsha1_glue.c37 BUILD_BUG_ON(offsetof(struct sha1_state, state) != 0); in sha1_update_arm()
65 .descsize = sizeof(struct sha1_state),
Dsha1_neon_glue.c40 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_neon_update()
81 .descsize = sizeof(struct sha1_state),
/linux-4.4.14/arch/x86/crypto/
Dsha1_ssse3_glue.c40 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_update()
47 BUILD_BUG_ON(offsetof(struct sha1_state, state) != 0); in sha1_update()
102 .descsize = sizeof(struct sha1_state),
155 .descsize = sizeof(struct sha1_state),
247 .descsize = sizeof(struct sha1_state),
305 .descsize = sizeof(struct sha1_state),
/linux-4.4.14/arch/s390/crypto/
Dsha1_s390.c53 struct sha1_state *octx = out; in sha1_export()
64 const struct sha1_state *ictx = in; in sha1_import()
81 .statesize = sizeof(struct sha1_state),
/linux-4.4.14/drivers/crypto/
Dpadlock-sha.c89 struct sha1_state state; in padlock_sha1_finup()
253 .statesize = sizeof(struct sha1_state),
296 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_init_nano()
298 *sctx = (struct sha1_state){ in padlock_sha1_init_nano()
308 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_update_nano()
361 struct sha1_state *state = (struct sha1_state *)shash_desc_ctx(desc); in padlock_sha1_final_nano()
499 .descsize = sizeof(struct sha1_state),
500 .statesize = sizeof(struct sha1_state),
Dmv_cesa.c397 struct sha1_state shash_state; in mv_hash_import_sha1_ctx()
770 const struct sha1_state *isha1_state = istate, *osha1_state = ostate; in mv_hash_init_ivs()
Dn2_core.c296 struct sha1_state sha1;
/linux-4.4.14/crypto/
Dsha1_generic.c29 static void sha1_generic_block_fn(struct sha1_state *sst, u8 const *src, in sha1_generic_block_fn()
68 .descsize = sizeof(struct sha1_state),
/linux-4.4.14/drivers/crypto/qce/
Dsha.c152 struct sha1_state *out_state = out; in qce_ahash_export()
215 const struct sha1_state *state = in; in qce_ahash_import()
463 .statesize = sizeof(struct sha1_state),
481 .statesize = sizeof(struct sha1_state),
/linux-4.4.14/arch/arm64/crypto/
Dsha1-ce-glue.c28 struct sha1_state sst;
/linux-4.4.14/drivers/crypto/sunxi-ss/
Dsun4i-ss-hash.c92 struct sha1_state *octx = out; in sun4i_hash_export_sha1()
116 const struct sha1_state *ictx = in; in sun4i_hash_import_sha1()
Dsun4i-ss-core.c70 .statesize = sizeof(struct sha1_state),
/linux-4.4.14/drivers/crypto/marvell/
Dhash.c933 struct sha1_state *out_state = out; in mv_cesa_sha1_export()
941 const struct sha1_state *in_state = in; in mv_cesa_sha1_import()
968 .statesize = sizeof(struct sha1_state),
1299 struct sha1_state istate, ostate; in mv_cesa_ahmac_sha1_setkey()
1337 .statesize = sizeof(struct sha1_state),
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dqat_algs.c150 struct sha1_state sha1; in qat_alg_do_precomputes()