Home
last modified time | relevance | path

Searched refs:sm3_state (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/include/crypto/
H A Dsm3.h32 struct sm3_state { struct
48 static inline void sm3_init(struct sm3_state *sctx) in sm3_init()
61 void sm3_update(struct sm3_state *sctx, const u8 *data, unsigned int len);
62 void sm3_final(struct sm3_state *sctx, u8 *out);
H A Dsm3_base.h19 typedef void (sm3_block_fn)(struct sm3_state *sst, u8 const *src, int blocks);
23 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_init()
43 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_update()
80 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_finalize()
101 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_finish()
/kernel/linux/linux-5.10/include/crypto/
H A Dsm3_base.h18 typedef void (sm3_block_fn)(struct sm3_state *sst, u8 const *src, int blocks);
22 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_init()
42 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_update()
79 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_do_finalize()
100 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_base_finish()
107 *sctx = (struct sm3_state){}; in sm3_base_finish()
H A Dsm3.h27 struct sm3_state { struct
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Dsm3_avx_glue.c20 asmlinkage void sm3_transform_avx(struct sm3_state *state,
26 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_avx_update()
35 * Make sure struct sm3_state begins directly with the SM3 in sm3_avx_update()
38 BUILD_BUG_ON(offsetof(struct sm3_state, state) != 0); in sm3_avx_update()
51 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_avx_finup()
89 .descsize = sizeof(struct sm3_state),
/kernel/linux/linux-6.6/arch/arm64/crypto/
H A Dsm3-neon-glue.c20 asmlinkage void sm3_neon_transform(struct sm3_state *sst, u8 const *src,
56 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_neon_finup()
79 .descsize = sizeof(struct sm3_state),
H A Dsm3-ce-glue.c23 asmlinkage void sm3_ce_transform(struct sm3_state *sst, u8 const *src,
59 struct sm3_state *sctx = shash_desc_ctx(desc); in sm3_ce_finup()
82 .descsize = sizeof(struct sm3_state),
/kernel/linux/linux-5.10/arch/arm64/crypto/
H A Dsm3-ce-glue.c23 asmlinkage void sm3_ce_transform(struct sm3_state *sst, u8 const *src,
70 .descsize = sizeof(struct sm3_state),
/kernel/linux/linux-6.6/crypto/
H A Dsm3_generic.c46 struct sm3_state *sctx = shash_desc_ctx(desc); in crypto_sm3_finup()
60 .descsize = sizeof(struct sm3_state),
H A Dsm3.c72 static void sm3_transform(struct sm3_state *sctx, u8 const *data, u32 W[16]) in sm3_transform()
169 static inline void sm3_block(struct sm3_state *sctx, in sm3_block()
178 void sm3_update(struct sm3_state *sctx, const u8 *data, unsigned int len) in sm3_update()
215 void sm3_final(struct sm3_state *sctx, u8 *out) in sm3_final()
/kernel/linux/linux-5.10/crypto/
H A Dsm3_generic.c124 static void sm3_transform(struct sm3_state *sst, u8 const *src) in sm3_transform()
136 static void sm3_generic_block_fn(struct sm3_state *sst, u8 const *src, in sm3_generic_block_fn()
173 .descsize = sizeof(struct sm3_state),
/kernel/linux/linux-6.6/drivers/crypto/starfive/
H A Djh7110-hash.c857 .statesize = sizeof(struct sm3_state),
887 .statesize = sizeof(struct sm3_state),

Completed in 5 milliseconds