/Linux-v4.19/arch/powerpc/crypto/ |
D | sha256-spe-glue.c | 55 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) in ppc_sha256_clear_context() 57 int count = sizeof(struct sha256_state) >> 2; in ppc_sha256_clear_context() 61 BUILD_BUG_ON(sizeof(struct sha256_state) % 4); in ppc_sha256_clear_context() 67 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_init() 84 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha224_init() 102 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update() 146 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final() 207 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export() 215 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_import() 228 .descsize = sizeof(struct sha256_state), [all …]
|
/Linux-v4.19/arch/mips/cavium-octeon/crypto/ |
D | octeon-sha256.c | 36 static void octeon_sha256_store_hash(struct sha256_state *sctx) in octeon_sha256_store_hash() 46 static void octeon_sha256_read_hash(struct sha256_state *sctx) in octeon_sha256_read_hash() 72 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha224_init() 89 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_init() 104 static void __octeon_sha256_update(struct sha256_state *sctx, const u8 *data, in __octeon_sha256_update() 138 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_update() 163 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_final() 215 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_export() 223 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_import() 236 .descsize = sizeof(struct sha256_state), [all …]
|
/Linux-v4.19/arch/sparc/crypto/ |
D | sha256_glue.c | 31 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-v4.19/include/crypto/ |
D | sha256_base.h | 18 typedef void (sha256_block_fn)(struct sha256_state *sst, u8 const *src, 23 struct sha256_state *sctx = shash_desc_ctx(desc); in sha224_base_init() 40 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_init() 60 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_update() 97 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_do_finalize() 119 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_base_finish() 126 *sctx = (struct sha256_state){}; in sha256_base_finish()
|
D | sha.h | 84 struct sha256_state { struct
|
/Linux-v4.19/arch/x86/crypto/ |
D | sha256_ssse3_glue.c | 50 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update() 57 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); in sha256_update() 107 .descsize = sizeof(struct sha256_state), 121 .descsize = sizeof(struct sha256_state), 173 .descsize = sizeof(struct sha256_state), 187 .descsize = sizeof(struct sha256_state), 255 .descsize = sizeof(struct sha256_state), 269 .descsize = sizeof(struct sha256_state), 335 .descsize = sizeof(struct sha256_state), 349 .descsize = sizeof(struct sha256_state),
|
/Linux-v4.19/include/linux/ |
D | sha256.h | 25 extern int sha256_init(struct sha256_state *sctx); 26 extern int sha256_update(struct sha256_state *sctx, const u8 *input, 28 extern int sha256_final(struct sha256_state *sctx, u8 *hash);
|
/Linux-v4.19/arch/arm/crypto/ |
D | sha2-ce-glue.c | 29 asmlinkage void sha2_ce_transform(struct sha256_state *sst, u8 const *src, 35 struct sha256_state *sctx = shash_desc_ctx(desc); in sha2_ce_update() 75 .descsize = sizeof(struct sha256_state), 89 .descsize = sizeof(struct sha256_state),
|
D | sha256_neon_glue.c | 35 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update() 77 .descsize = sizeof(struct sha256_state), 91 .descsize = sizeof(struct sha256_state),
|
D | sha256_glue.c | 40 BUILD_BUG_ON(offsetof(struct sha256_state, state) != 0); in crypto_sha256_arm_update() 69 .descsize = sizeof(struct sha256_state), 83 .descsize = sizeof(struct sha256_state),
|
/Linux-v4.19/arch/arm64/crypto/ |
D | sha256-glue.c | 67 .descsize = sizeof(struct sha256_state), 79 .descsize = sizeof(struct sha256_state), 90 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_update_neon() 150 .descsize = sizeof(struct sha256_state), 162 .descsize = sizeof(struct sha256_state),
|
D | sha2-ce-glue.c | 26 struct sha256_state sst;
|
/Linux-v4.19/drivers/crypto/nx/ |
D | nx-sha256.c | 51 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_init() 71 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_update() 191 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_final() 262 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_export() 271 struct sha256_state *sctx = shash_desc_ctx(desc); in nx_sha256_import() 285 .descsize = sizeof(struct sha256_state), 286 .statesize = sizeof(struct sha256_state),
|
/Linux-v4.19/arch/s390/crypto/ |
D | sha256_s390.c | 41 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-v4.19/drivers/crypto/ |
D | padlock-sha.c | 151 struct sha256_state state; in padlock_sha256_finup() 268 .statesize = sizeof(struct sha256_state), 369 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_init_nano() 371 *sctx = (struct sha256_state){ in padlock_sha256_init_nano() 382 struct sha256_state *sctx = shash_desc_ctx(desc); in padlock_sha256_update_nano() 430 struct sha256_state *state = in padlock_sha256_final_nano() 431 (struct sha256_state *)shash_desc_ctx(desc); in padlock_sha256_final_nano() 497 .descsize = sizeof(struct sha256_state), 498 .statesize = sizeof(struct sha256_state),
|
D | img-hash.c | 820 .statesize = sizeof(struct sha256_state), 846 .statesize = sizeof(struct sha256_state),
|
/Linux-v4.19/arch/s390/purgatory/ |
D | purgatory.c | 19 struct sha256_state sctx; in verify_sha256_digest()
|
/Linux-v4.19/arch/x86/purgatory/ |
D | purgatory.c | 45 struct sha256_state sctx; in verify_sha256_digest()
|
/Linux-v4.19/drivers/crypto/qce/ |
D | sha.c | 164 struct sha256_state *out_state = out; in qce_ahash_export() 225 const struct sha256_state *state = in; in qce_ahash_import() 454 .statesize = sizeof(struct sha256_state), 472 .statesize = sizeof(struct sha256_state),
|
/Linux-v4.19/drivers/crypto/marvell/ |
D | hash.c | 1035 struct sha256_state *out_state = out; in mv_cesa_sha256_export() 1043 const struct sha256_state *in_state = in; in mv_cesa_sha256_import() 1059 .statesize = sizeof(struct sha256_state), 1383 struct sha256_state istate, ostate; in mv_cesa_ahmac_sha256_setkey() 1434 .statesize = sizeof(struct sha256_state),
|
/Linux-v4.19/crypto/ |
D | sha256_generic.c | 234 static void sha256_generic_block_fn(struct sha256_state *sst, u8 const *src, in sha256_generic_block_fn() 270 .descsize = sizeof(struct sha256_state), 284 .descsize = sizeof(struct sha256_state),
|
/Linux-v4.19/lib/ |
D | sha256.c | 211 int sha256_init(struct sha256_state *sctx) in sha256_init() 226 int sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len) in sha256_update() 256 int sha256_final(struct sha256_state *sctx, u8 *out) in sha256_final()
|
/Linux-v4.19/drivers/staging/rtl8723bs/include/ |
D | rtw_security.h | 204 struct sha256_state { struct
|
/Linux-v4.19/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 359 .statesize = sizeof(struct sha256_state),
|
/Linux-v4.19/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 152 struct sha256_state sha256; in qat_alg_do_precomputes()
|