Searched refs:sm3_state (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/include/crypto/ |
A D | sm3.h | 32 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);
|
A D | sm3_base.h | 19 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()
|
/linux-6.3-rc2/arch/x86/crypto/ |
A D | sm3_avx_glue.c | 20 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),
|
/linux-6.3-rc2/arch/arm64/crypto/ |
A D | sm3-ce-glue.c | 23 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),
|
A D | sm3-neon-glue.c | 20 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),
|
/linux-6.3-rc2/crypto/ |
A D | sm3_generic.c | 46 struct sm3_state *sctx = shash_desc_ctx(desc); in crypto_sm3_finup() 60 .descsize = sizeof(struct sm3_state),
|
A D | sm2.c | 216 static int sm2_z_digest_update(struct sm3_state *sctx, in sm2_z_digest_update() 242 static int sm2_z_digest_update_point(struct sm3_state *sctx, in sm2_z_digest_update_point() 268 struct sm3_state sctx; in sm2_compute_z_digest()
|
A D | sm3.c | 72 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()
|
Completed in 11 milliseconds