/Linux-v5.10/arch/powerpc/crypto/ |
D | sha1-spe-glue.c | 48 static inline void ppc_sha1_clear_context(struct sha1_state *sctx) in ppc_sha1_clear_context() 50 int count = sizeof(struct sha1_state) >> 2; in ppc_sha1_clear_context() 54 BUILD_BUG_ON(sizeof(struct sha1_state) % 4); in ppc_sha1_clear_context() 60 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_init() 75 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_update() 118 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_final() 155 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_export() 163 struct sha1_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha1_import() 176 .descsize = sizeof(struct sha1_state), 177 .statesize = sizeof(struct sha1_state),
|
D | sha1.c | 27 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_init() 29 *sctx = (struct sha1_state){ in powerpc_sha1_init() 39 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_update() 73 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_final() 101 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_export() 109 struct sha1_state *sctx = shash_desc_ctx(desc); in powerpc_sha1_import() 122 .descsize = sizeof(struct sha1_state), 123 .statesize = sizeof(struct sha1_state),
|
/Linux-v5.10/arch/sparc/crypto/ |
D | sha1_glue.c | 31 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-v5.10/arch/mips/cavium-octeon/crypto/ |
D | octeon-sha1.c | 31 static void octeon_sha1_store_hash(struct sha1_state *sctx) in octeon_sha1_store_hash() 45 static void octeon_sha1_read_hash(struct sha1_state *sctx) in octeon_sha1_read_hash() 76 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_init() 88 static void __octeon_sha1_update(struct sha1_state *sctx, const u8 *data, in __octeon_sha1_update() 122 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_update() 147 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_final() 187 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_export() 195 struct sha1_state *sctx = shash_desc_ctx(desc); in octeon_sha1_import() 208 .descsize = sizeof(struct sha1_state), 209 .statesize = sizeof(struct sha1_state),
|
/Linux-v5.10/arch/x86/crypto/ |
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-v5.10/include/crypto/ |
D | sha1_base.h | 18 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()
|
D | sha.h | 78 struct sha1_state { struct
|
/Linux-v5.10/arch/arm64/crypto/ |
D | sha1-ce-glue.c | 24 struct sha1_state sst; 34 static void __sha1_ce_transform(struct sha1_state *sst, u8 const *src, in __sha1_ce_transform() 101 memcpy(out, &sctx->sst, sizeof(struct sha1_state)); in sha1_ce_export() 109 memcpy(&sctx->sst, in, sizeof(struct sha1_state)); in sha1_ce_import() 122 .statesize = sizeof(struct sha1_state),
|
/Linux-v5.10/arch/arm/crypto/ |
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),
|
D | sha1_glue.c | 31 BUILD_BUG_ON(offsetof(struct sha1_state, state) != 0); in sha1_update_arm() 59 .descsize = sizeof(struct sha1_state),
|
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-v5.10/arch/s390/crypto/ |
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-v5.10/drivers/crypto/ |
D | padlock-sha.c | 81 struct sha1_state state; in padlock_sha1_finup() 231 .statesize = sizeof(struct sha1_state), 270 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_init_nano() 272 *sctx = (struct sha1_state){ in padlock_sha1_init_nano() 282 struct sha1_state *sctx = shash_desc_ctx(desc); in padlock_sha1_update_nano() 330 struct sha1_state *state = (struct sha1_state *)shash_desc_ctx(desc); in padlock_sha1_final_nano() 463 .descsize = sizeof(struct sha1_state), 464 .statesize = sizeof(struct sha1_state),
|
D | img-hash.c | 792 .statesize = sizeof(struct sha1_state),
|
D | sa2ul.c | 384 struct sha1_state sha1; in sa_export_shash() 2057 sizeof(struct sha1_state),
|
/Linux-v5.10/crypto/ |
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-v5.10/drivers/crypto/qce/ |
D | sha.c | 150 struct sha1_state *out_state = out; in qce_ahash_export() 221 const struct sha1_state *state = in; in qce_ahash_import() 453 .statesize = sizeof(struct sha1_state), 471 .statesize = sizeof(struct sha1_state),
|
/Linux-v5.10/drivers/crypto/marvell/cesa/ |
D | hash.c | 958 struct sha1_state *out_state = out; in mv_cesa_sha1_export() 966 const struct sha1_state *in_state = in; in mv_cesa_sha1_import() 993 .statesize = sizeof(struct sha1_state), 1335 struct sha1_state istate, ostate; in mv_cesa_ahmac_sha1_setkey() 1373 .statesize = sizeof(struct sha1_state),
|
/Linux-v5.10/drivers/crypto/allwinner/sun4i-ss/ |
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()
|
D | sun4i-ss-core.c | 74 .statesize = sizeof(struct sha1_state),
|
/Linux-v5.10/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 327 .statesize = sizeof(struct sha1_state),
|
/Linux-v5.10/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 710 struct sha1_state *sha1; in copy_pad() 714 sha1 = (struct sha1_state *) in_pad; in copy_pad()
|
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-core.c | 332 .statesize = sizeof(struct sha1_state),
|
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-core.c | 405 .statesize = sizeof(struct sha1_state),
|
/Linux-v5.10/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 75 struct sha1_state sha1;
|