/linux-6.3-rc2/arch/powerpc/crypto/ |
A D | sha1-spe-glue.c | 49 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) in ppc_sha1_clear_context() 51 int count = sizeof(struct sha1_state) >> 2; in ppc_sha1_clear_context() 55 BUILD_BUG_ON(sizeof(struct sha1_state) % 4); in ppc_sha1_clear_context() 62 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_update() 105 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_final() 142 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_export() 150 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_import() 163 .descsize = sizeof(struct sha1_state), 164 .statesize = sizeof(struct sha1_state),
|
A D | sha1.c | 29 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_update() 63 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_final() 91 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_export() 99 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_import() 112 .descsize = sizeof(struct sha1_state), 113 .statesize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/arch/mips/cavium-octeon/crypto/ |
A D | octeon-sha1.c | 32 static void octeon_sha1_store_hash(struct sha1_state *sctx) in octeon_sha1_store_hash() 46 static void octeon_sha1_read_hash(struct sha1_state *sctx) in octeon_sha1_read_hash() 75 static void __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, in __octeon_sha1_update() 109 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_update() 134 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_final() 174 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_export() 182 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_import() 195 .descsize = sizeof(struct sha1_state), 196 .statesize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/arch/x86/crypto/ |
A D | sha1_ssse3_glue.c | 32 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_update() 42 BUILD_BUG_ON(offsetof(struct sha1_state, state) != 0); in sha1_update() 66 asmlinkage void sha1_transform_ssse3(struct sha1_state *state, 93 .descsize = sizeof(struct sha1_state), 116 asmlinkage void sha1_transform_avx(struct sha1_state *state, 142 .descsize = sizeof(struct sha1_state), 178 asmlinkage void sha1_transform_avx2(struct sha1_state *state, 191 static void sha1_apply_transform_avx2(struct sha1_state *state, in sha1_apply_transform_avx2() 224 .descsize = sizeof(struct sha1_state), 248 asmlinkage void sha1_ni_transform(struct sha1_state *digest, const u8 *data, [all …]
|
/linux-6.3-rc2/arch/sparc/crypto/ |
A D | sha1_glue.c | 30 static void __sha1_sparc64_update(struct sha1_state *sctx, const u8 *data, in __sha1_sparc64_update() 54 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_update() 70 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_final() 103 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_export() 112 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_sparc64_import() 126 .descsize = sizeof(struct sha1_state), 127 .statesize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/include/crypto/ |
A D | sha1_base.h | 19 typedef void (sha1_block_fn)(struct sha1_state *sst, u8 const *src, int blocks); 23 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_init() 40 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_update() 77 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_do_finalize() 98 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_base_finish()
|
A D | sha1.h | 22 struct sha1_state { struct
|
/linux-6.3-rc2/arch/arm64/crypto/ |
A D | sha1-ce-glue.c | 25 struct sha1_state sst; 35 static void __sha1_ce_transform(struct sha1_state *sst, u8 const *src, in __sha1_ce_transform() 104 memcpy(out, &sctx->sst, sizeof(struct sha1_state)); in sha1_ce_export() 112 memcpy(&sctx->sst, in, sizeof(struct sha1_state)); in sha1_ce_import() 125 .statesize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/arch/arm/crypto/ |
A D | sha1_glue.c | 24 asmlinkage void sha1_block_data_order(struct sha1_state *digest, 31 BUILD_BUG_ON(offsetof(struct sha1_state, state) != 0); in sha1_update_arm() 57 .descsize = sizeof(struct sha1_state),
|
A D | sha1-ce-glue.c | 26 asmlinkage void sha1_ce_transform(struct sha1_state *sst, u8 const *src, 32 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_ce_update() 70 .descsize = sizeof(struct sha1_state),
|
A D | sha1_neon_glue.c | 35 struct sha1_state *sctx = shash_desc_ctx(desc); in sha1_neon_update() 76 .descsize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/arch/s390/crypto/ |
A D | sha1_s390.c | 48 struct sha1_state *octx = out; in s390_sha1_export() 59 const struct sha1_state *ictx = in; in s390_sha1_import() 76 .statesize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/drivers/crypto/ |
A D | padlock-sha.c | 82 struct sha1_state state; in padlock_sha1_finup() 232 .statesize = sizeof(struct sha1_state), 271 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_init_nano() 273 *sctx = (struct sha1_state){ in padlock_sha1_init_nano() 283 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_update_nano() 331 struct sha1_state *state = (struct sha1_state *)shash_desc_ctx(desc); in padlock_sha1_final_nano() 464 .descsize = sizeof(struct sha1_state), 465 .statesize = sizeof(struct sha1_state),
|
A D | sa2ul.c | 410 struct sha1_state *sha1; in sa_export_shash() 441 struct sha1_state sha1; in sa_prepare_iopads() 2081 sizeof(struct sha1_state),
|
A D | n2_core.c | 304 struct sha1_state sha1; 1273 .statesize = sizeof(struct sha1_state),
|
A D | img-hash.c | 792 .statesize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/crypto/ |
A D | sha1_generic.c | 30 static void sha1_generic_block_fn(struct sha1_state *sst, u8 const *src, in sha1_generic_block_fn() 69 .descsize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/drivers/crypto/marvell/cesa/ |
A D | hash.c | 982 struct sha1_state *out_state = out; in mv_cesa_sha1_export() 990 const struct sha1_state *in_state = in; in mv_cesa_sha1_import() 1017 .statesize = sizeof(struct sha1_state), 1334 struct sha1_state istate, ostate; in mv_cesa_ahmac_sha1_setkey() 1372 .statesize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun4i-ss/ |
A D | sun4i-ss-hash.c | 107 struct sha1_state *octx = out; in sun4i_hash_export_sha1() 131 const struct sha1_state *ictx = in; in sun4i_hash_import_sha1()
|
A D | sun4i-ss-core.c | 75 .statesize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun8i-ss/ |
A D | sun8i-ss-core.c | 335 .statesize = sizeof(struct sha1_state), 426 .statesize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/drivers/crypto/rockchip/ |
A D | rk3288_crypto_ahash.c | 378 .statesize = sizeof(struct sha1_state),
|
/linux-6.3-rc2/drivers/crypto/marvell/octeontx/ |
A D | otx_cptvf_algs.c | 712 struct sha1_state *sha1; in copy_pad() 716 sha1 = (struct sha1_state *) in_pad; in copy_pad()
|
/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cptvf_algs.c | 767 struct sha1_state *sha1; in copy_pad() 771 sha1 = (struct sha1_state *) in_pad; in copy_pad()
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun8i-ce/ |
A D | sun8i-ce-core.c | 425 .statesize = sizeof(struct sha1_state),
|