Lines Matching defs:sctx
48 static inline void sm3_init(struct sm3_state *sctx)
50 sctx->state[0] = SM3_IVA;
51 sctx->state[1] = SM3_IVB;
52 sctx->state[2] = SM3_IVC;
53 sctx->state[3] = SM3_IVD;
54 sctx->state[4] = SM3_IVE;
55 sctx->state[5] = SM3_IVF;
56 sctx->state[6] = SM3_IVG;
57 sctx->state[7] = SM3_IVH;
58 sctx->count = 0;
61 void sm3_update(struct sm3_state *sctx, const u8 *data, unsigned int len);
62 void sm3_final(struct sm3_state *sctx, u8 *out);