Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/crypto/
A Dsha256-spe-glue.c51 int count = sizeof(struct sha256_state) >> 2; in ppc_sha256_clear_context()
55 BUILD_BUG_ON(sizeof(struct sha256_state) % 4); in ppc_sha256_clear_context()
61 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_init()
78 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha224_init()
96 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update()
140 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final()
201 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export()
222 .descsize = sizeof(struct sha256_state),
223 .statesize = sizeof(struct sha256_state),
238 .descsize = sizeof(struct sha256_state),
[all …]
/linux/arch/mips/cavium-octeon/crypto/
A Docteon-sha256.c32 static void octeon_sha256_store_hash(struct sha256_state *sctx) in octeon_sha256_store_hash()
42 static void octeon_sha256_read_hash(struct sha256_state *sctx) in octeon_sha256_read_hash()
68 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha224_init()
85 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_init()
134 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_update()
159 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_final()
211 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_export()
219 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_import()
232 .descsize = sizeof(struct sha256_state),
233 .statesize = sizeof(struct sha256_state),
[all …]
/linux/arch/x86/crypto/
A Dsha256_ssse3_glue.c43 asmlinkage void sha256_transform_ssse3(struct sha256_state *state,
49 struct sha256_state *sctx = shash_desc_ctx(desc); in _sha256_update()
59 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); in _sha256_update()
107 .descsize = sizeof(struct sha256_state),
121 .descsize = sizeof(struct sha256_state),
172 .descsize = sizeof(struct sha256_state),
186 .descsize = sizeof(struct sha256_state),
248 .descsize = sizeof(struct sha256_state),
262 .descsize = sizeof(struct sha256_state),
323 .descsize = sizeof(struct sha256_state),
[all …]
A Dsha256-ssse3-asm.S350 ## void sha256_transform_ssse3(struct sha256_state *state, const u8 *data,
353 ## (struct sha256_state is assumed to begin with u32 state[8])
/linux/arch/sparc/crypto/
A 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/include/crypto/
A Dsha2.h67 struct sha256_state { struct
103 static inline void sha256_init(struct sha256_state *sctx) in sha256_init()
115 void sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len);
116 void sha256_final(struct sha256_state *sctx, u8 *out);
119 static inline void sha224_init(struct sha256_state *sctx) in sha224_init()
131 void sha224_update(struct sha256_state *sctx, const u8 *data, unsigned int len);
132 void sha224_final(struct sha256_state *sctx, u8 *out);
A Dsha256_base.h19 typedef void (sha256_block_fn)(struct sha256_state *sst, u8 const *src,
24 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_base_init()
32 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init()
43 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_update()
80 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_finalize()
102 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_finish()
/linux/arch/arm64/crypto/
A Dsha2-ce-glue.c26 struct sha256_state sst;
36 static void __sha2_ce_transform(struct sha256_state *sst, u8 const *src, in __sha2_ce_transform()
58 static void __sha256_block_data_order(struct sha256_state *sst, u8 const *src, in __sha256_block_data_order()
123 memcpy(out, &sctx->sst, sizeof(struct sha256_state)); in sha256_ce_export()
131 memcpy(&sctx->sst, in, sizeof(struct sha256_state)); in sha256_ce_import()
144 .statesize = sizeof(struct sha256_state),
161 .statesize = sizeof(struct sha256_state),
A Dsha256-glue.c29 static void __sha256_block_data_order(struct sha256_state *sst, u8 const *src, in __sha256_block_data_order()
38 static void __sha256_block_neon(struct sha256_state *sst, u8 const *src, in __sha256_block_neon()
73 .descsize = sizeof(struct sha256_state),
85 .descsize = sizeof(struct sha256_state),
96 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update_neon()
153 .descsize = sizeof(struct sha256_state),
165 .descsize = sizeof(struct sha256_state),
/linux/arch/arm/crypto/
A Dsha2-ce-glue.c27 asmlinkage void sha2_ce_transform(struct sha256_state *sst, u8 const *src,
33 struct sha256_state *sctx = shash_desc_ctx(desc); in sha2_ce_update()
73 .descsize = sizeof(struct sha256_state),
87 .descsize = sizeof(struct sha256_state),
A Dsha256_neon_glue.c30 struct sha256_state *sctx = shash_desc_ctx(desc); in crypto_sha256_neon_update()
72 .descsize = sizeof(struct sha256_state),
86 .descsize = sizeof(struct sha256_state),
A Dsha256_glue.c34 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); in crypto_sha256_arm_update()
63 .descsize = sizeof(struct sha256_state),
77 .descsize = sizeof(struct sha256_state),
/linux/arch/s390/crypto/
A 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/lib/crypto/
A Dsha256.c122 void sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len) in sha256_update()
154 void sha224_update(struct sha256_state *sctx, const u8 *data, unsigned int len) in sha224_update()
160 static void __sha256_final(struct sha256_state *sctx, u8 *out, int digest_words) in __sha256_final()
187 void sha256_final(struct sha256_state *sctx, u8 *out) in sha256_final()
193 void sha224_final(struct sha256_state *sctx, u8 *out) in sha224_final()
201 struct sha256_state sctx; in sha256()
/linux/drivers/crypto/
A Dpadlock-sha.c143 struct sha256_state state; in padlock_sha256_finup()
255 .statesize = sizeof(struct sha256_state),
354 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_init_nano()
356 *sctx = (struct sha256_state){ in padlock_sha256_init_nano()
367 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_update_nano()
415 struct sha256_state *state = in padlock_sha256_final_nano()
416 (struct sha256_state *)shash_desc_ctx(desc); in padlock_sha256_final_nano()
482 .descsize = sizeof(struct sha256_state),
483 .statesize = sizeof(struct sha256_state),
A Dimg-hash.c814 .statesize = sizeof(struct sha256_state),
840 .statesize = sizeof(struct sha256_state),
A Dsa2ul.c411 struct sha256_state *sha256; in sa_export_shash()
442 struct sha256_state sha256; in sa_prepare_iopads()
2110 sizeof(struct sha256_state),
/linux/crypto/
A Dsha256_generic.c79 .descsize = sizeof(struct sha256_state),
93 .descsize = sizeof(struct sha256_state),
/linux/arch/s390/purgatory/
A Dpurgatory.c19 struct sha256_state sctx; in verify_sha256_digest()
/linux/arch/x86/purgatory/
A Dpurgatory.c27 struct sha256_state sctx; in verify_sha256_digest()
/linux/drivers/crypto/marvell/cesa/
A Dhash.c1067 struct sha256_state *out_state = out; in mv_cesa_sha256_export()
1075 const struct sha256_state *in_state = in; in mv_cesa_sha256_import()
1091 .statesize = sizeof(struct sha256_state),
1417 struct sha256_state istate, ostate; in mv_cesa_ahmac_sha256_setkey()
1468 .statesize = sizeof(struct sha256_state),
/linux/drivers/crypto/allwinner/sun8i-ss/
A Dsun8i-ss-core.c362 .statesize = sizeof(struct sha256_state),
392 .statesize = sizeof(struct sha256_state),
/linux/drivers/crypto/allwinner/sun8i-ce/
A Dsun8i-ce-core.c435 .statesize = sizeof(struct sha256_state),
465 .statesize = sizeof(struct sha256_state),
/linux/drivers/crypto/rockchip/
A Drk3288_crypto_ahash.c357 .statesize = sizeof(struct sha256_state),
/linux/drivers/crypto/marvell/octeontx/
A Dotx_cptvf_algs.c710 struct sha256_state *sha256; in copy_pad()
721 sha256 = (struct sha256_state *) in_pad; in copy_pad()

Completed in 32 milliseconds

12