Home
last modified time | relevance | path

Searched refs:sm3_state (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/include/crypto/
H A Dsm3.h32 struct sm3_state { struct
48 static inline void sm3_init(struct sm3_state *sctx) in sm3_init() argument
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()
/openbmc/linux/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()
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),
/openbmc/linux/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),
/openbmc/linux/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()
/openbmc/linux/drivers/crypto/starfive/
H A Djh7110-hash.c857 .statesize = sizeof(struct sm3_state),
887 .statesize = sizeof(struct sm3_state),