/linux-6.1.9/arch/powerpc/crypto/ |
D | sha256-spe-glue.c | 50 static inline void ppc_sha256_clear_context(struct sha256_state *sctx) in ppc_sha256_clear_context() 52 int count = sizeof(struct sha256_state) >> 2; in ppc_sha256_clear_context() 56 BUILD_BUG_ON(sizeof(struct sha256_state) % 4); in ppc_sha256_clear_context() 63 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_update() 107 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_final() 168 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_export() 176 struct sha256_state *sctx = shash_desc_ctx(desc); in ppc_spe_sha256_import() 189 .descsize = sizeof(struct sha256_state), 190 .statesize = sizeof(struct sha256_state), 205 .descsize = sizeof(struct sha256_state), [all …]
|
/linux-6.1.9/arch/x86/crypto/ |
D | sha256_ssse3_glue.c | 43 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), 146 asmlinkage void sha256_transform_avx(struct sha256_state *state, 172 .descsize = sizeof(struct sha256_state), 186 .descsize = sizeof(struct sha256_state), 222 asmlinkage void sha256_transform_rorx(struct sha256_state *state, 248 .descsize = sizeof(struct sha256_state), [all …]
|
D | sha256-ssse3-asm.S | 351 ## void sha256_transform_ssse3(struct sha256_state *state, const u8 *data, 354 ## (struct sha256_state is assumed to begin with u32 state[8])
|
/linux-6.1.9/arch/mips/cavium-octeon/crypto/ |
D | octeon-sha256.c | 33 static void octeon_sha256_store_hash(struct sha256_state *sctx) in octeon_sha256_store_hash() 43 static void octeon_sha256_read_hash(struct sha256_state *sctx) in octeon_sha256_read_hash() 67 static void __octeon_sha256_update(struct sha256_state *sctx, const u8 *data, in __octeon_sha256_update() 101 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_update() 126 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_final() 178 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_export() 186 struct sha256_state *sctx = shash_desc_ctx(desc); in octeon_sha256_import() 199 .descsize = sizeof(struct sha256_state), 200 .statesize = sizeof(struct sha256_state), 213 .descsize = sizeof(struct sha256_state),
|
/linux-6.1.9/include/crypto/ |
D | sha2.h | 67 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);
|
D | sha256_base.h | 19 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-6.1.9/arch/sparc/crypto/ |
D | sha256_glue.c | 30 static void __sha256_sparc64_update(struct sha256_state *sctx, const u8 *data, in __sha256_sparc64_update() 54 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_update() 69 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_final() 114 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_export() 122 struct sha256_state *sctx = shash_desc_ctx(desc); in sha256_sparc64_import() 135 .descsize = sizeof(struct sha256_state), 136 .statesize = sizeof(struct sha256_state), 151 .descsize = sizeof(struct sha256_state),
|
/linux-6.1.9/arch/arm64/crypto/ |
D | sha2-ce-glue.c | 26 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),
|
D | sha256-glue.c | 29 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-6.1.9/arch/arm/crypto/ |
D | sha2-ce-glue.c | 27 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),
|
D | sha256_neon_glue.c | 30 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),
|
D | sha256_glue.c | 34 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-6.1.9/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-6.1.9/lib/crypto/ |
D | sha256.c | 122 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-6.1.9/drivers/crypto/ |
D | padlock-sha.c | 143 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),
|
D | img-hash.c | 818 .statesize = sizeof(struct sha256_state), 844 .statesize = sizeof(struct sha256_state),
|
D | n2_core.c | 305 struct sha256_state sha256; 1282 .statesize = sizeof(struct sha256_state), 1291 .statesize = sizeof(struct sha256_state),
|
/linux-6.1.9/crypto/ |
D | sha256_generic.c | 67 .descsize = sizeof(struct sha256_state), 81 .descsize = sizeof(struct sha256_state),
|
/linux-6.1.9/arch/s390/purgatory/ |
D | purgatory.c | 19 struct sha256_state sctx; in verify_sha256_digest()
|
/linux-6.1.9/arch/riscv/purgatory/ |
D | purgatory.c | 23 struct sha256_state ss; in verify_sha256_digest()
|
/linux-6.1.9/arch/x86/purgatory/ |
D | purgatory.c | 27 struct sha256_state sctx; in verify_sha256_digest()
|
/linux-6.1.9/drivers/crypto/marvell/cesa/ |
D | hash.c | 1067 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-6.1.9/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-core.c | 364 .statesize = sizeof(struct sha256_state), 394 .statesize = sizeof(struct sha256_state),
|
/linux-6.1.9/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 396 .statesize = sizeof(struct sha256_state),
|
/linux-6.1.9/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-core.c | 454 .statesize = sizeof(struct sha256_state), 484 .statesize = sizeof(struct sha256_state),
|