/linux-4.4.14/arch/powerpc/crypto/ |
D | sha1-spe-glue.c | 53 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),
|
D | sha1.c | 33 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/ |
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-4.4.14/arch/mips/cavium-octeon/crypto/ |
D | octeon-sha1.c | 35 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/ |
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 | 67 struct sha1_state { struct
|
/linux-4.4.14/arch/arm/crypto/ |
D | sha1-ce-glue.c | 27 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),
|
D | sha1_glue.c | 37 BUILD_BUG_ON(offsetof(struct sha1_state, state) != 0); in sha1_update_arm() 65 .descsize = sizeof(struct sha1_state),
|
D | sha1_neon_glue.c | 40 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/ |
D | sha1_ssse3_glue.c | 40 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/ |
D | sha1_s390.c | 53 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/ |
D | padlock-sha.c | 89 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),
|
D | mv_cesa.c | 397 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()
|
D | n2_core.c | 296 struct sha1_state sha1;
|
/linux-4.4.14/crypto/ |
D | sha1_generic.c | 29 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/ |
D | sha.c | 152 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/ |
D | sha1-ce-glue.c | 28 struct sha1_state sst;
|
/linux-4.4.14/drivers/crypto/sunxi-ss/ |
D | sun4i-ss-hash.c | 92 struct sha1_state *octx = out; in sun4i_hash_export_sha1() 116 const struct sha1_state *ictx = in; in sun4i_hash_import_sha1()
|
D | sun4i-ss-core.c | 70 .statesize = sizeof(struct sha1_state),
|
/linux-4.4.14/drivers/crypto/marvell/ |
D | hash.c | 933 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/ |
D | qat_algs.c | 150 struct sha1_state sha1; in qat_alg_do_precomputes()
|