Home
last modified time | relevance | path

Searched refs:sha512_state (Results 1 – 21 of 21) sorted by relevance

/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Dsha512_ssse3_glue.c41 asmlinkage void sha512_transform_ssse3(struct sha512_state *state,
47 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_update()
57 BUILD_BUG_ON(offsetof(struct sha512_state, state) != 0); in sha512_update()
105 .descsize = sizeof(struct sha512_state),
119 .descsize = sizeof(struct sha512_state),
144 asmlinkage void sha512_transform_avx(struct sha512_state *state,
181 .descsize = sizeof(struct sha512_state),
195 .descsize = sizeof(struct sha512_state),
220 asmlinkage void sha512_transform_rorx(struct sha512_state *state,
247 .descsize = sizeof(struct sha512_state),
[all …]
H A Dsha512-ssse3-asm.S272 ## void sha512_transform_ssse3(struct sha512_state *state, const u8 *data,
274 # (struct sha512_state is assumed to begin with u64 state[8])
H A Dsha512-avx-asm.S273 # void sha512_transform_avx(sha512_state *state, const u8 *data, int blocks)
H A Dsha512-avx2-asm.S565 # void sha512_transform_rorx(sha512_state *state, const u8 *data, int blocks)
/OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/crypto/
H A Docteon-sha512.c31 static void octeon_sha512_store_hash(struct sha512_state *sctx) in octeon_sha512_store_hash()
43 static void octeon_sha512_read_hash(struct sha512_state *sctx) in octeon_sha512_read_hash()
79 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_init()
96 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha384_init()
111 static void __octeon_sha512_update(struct sha512_state *sctx, const u8 *data, in __octeon_sha512_update()
148 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_update()
173 struct sha512_state *sctx = shash_desc_ctx(desc); in octeon_sha512_final()
207 memset(sctx, 0, sizeof(struct sha512_state)); in octeon_sha512_final()
229 .descsize = sizeof(struct sha512_state),
242 .descsize = sizeof(struct sha512_state),
/OK3568_Linux_fs/kernel/include/crypto/
H A Dsha512_base.h18 typedef void (sha512_block_fn)(struct sha512_state *sst, u8 const *src,
23 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_base_init()
40 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_init()
60 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_update()
99 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_do_finalize()
122 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_base_finish()
129 *sctx = (struct sha512_state){}; in sha512_base_finish()
H A Dsha.h90 struct sha512_state { struct
/OK3568_Linux_fs/kernel/arch/sparc/crypto/
H A Dsha512_glue.c30 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_init()
46 struct sha512_state *sctx = shash_desc_ctx(desc); in sha384_sparc64_init()
60 static void __sha512_sparc64_update(struct sha512_state *sctx, const u8 *data, in __sha512_sparc64_update()
85 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_update()
101 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_sparc64_final()
152 .descsize = sizeof(struct sha512_state),
167 .descsize = sizeof(struct sha512_state),
/OK3568_Linux_fs/kernel/arch/arm64/crypto/
H A Dsha512-ce-glue.c29 asmlinkage int sha512_ce_transform(struct sha512_state *sst, u8 const *src,
34 static void __sha512_ce_transform(struct sha512_state *sst, u8 const *src, in __sha512_ce_transform()
48 static void __sha512_block_data_order(struct sha512_state *sst, u8 const *src, in __sha512_block_data_order()
89 .descsize = sizeof(struct sha512_state),
101 .descsize = sizeof(struct sha512_state),
H A Dsha512-glue.c26 static void __sha512_block_data_order(struct sha512_state *sst, u8 const *src, in __sha512_block_data_order()
61 .descsize = sizeof(struct sha512_state),
73 .descsize = sizeof(struct sha512_state),
/OK3568_Linux_fs/kernel/drivers/crypto/nx/
H A Dnx-sha512.c39 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_init()
59 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_update()
181 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_final()
254 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_export()
263 struct sha512_state *sctx = shash_desc_ctx(desc); in nx_sha512_import()
277 .descsize = sizeof(struct sha512_state),
278 .statesize = sizeof(struct sha512_state),
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Dsha512_s390.c42 struct sha512_state *octx = out; in sha512_export()
54 const struct sha512_state *ictx = in; in sha512_import()
74 .statesize = sizeof(struct sha512_state),
112 .statesize = sizeof(struct sha512_state),
/OK3568_Linux_fs/kernel/arch/arm/crypto/
H A Dsha512-neon-glue.c29 struct sha512_state *sctx = shash_desc_ctx(desc); in sha512_neon_update()
70 .descsize = sizeof(struct sha512_state),
85 .descsize = sizeof(struct sha512_state),
H A Dsha512-glue.c57 .descsize = sizeof(struct sha512_state),
71 .descsize = sizeof(struct sha512_state),
/OK3568_Linux_fs/kernel/crypto/
H A Dsha512_generic.c151 static void sha512_generic_block_fn(struct sha512_state *sst, u8 const *src, in sha512_generic_block_fn()
187 .descsize = sizeof(struct sha512_state),
201 .descsize = sizeof(struct sha512_state),
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk_crypto_core.h45 #define sha384_state sha512_state
/OK3568_Linux_fs/kernel/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-core.c495 .statesize = sizeof(struct sha512_state),
525 .statesize = sizeof(struct sha512_state),
/OK3568_Linux_fs/kernel/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c708 struct sha512_state *sha512; in copy_pad()
727 sha512 = (struct sha512_state *) in_pad; in copy_pad()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dsa2ul.c386 struct sha512_state sha512; in sa_export_shash()
2119 sizeof(struct sha512_state),
/OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/
H A Dqat_algs.c65 struct sha512_state sha512;
/OK3568_Linux_fs/kernel/drivers/crypto/chelsio/
H A Dchcr_algo.c315 struct sha512_state sha512_st; in chcr_compute_partial_hash()