Lines Matching refs:contex
43 struct swm_crc_cfg *crc_cfg = (struct swm_crc_cfg *)(ctx->parent.contex); in swm_crc_update()
147 struct swm_rng_cfg *rng_cfg = (struct swm_rng_cfg *)(ctx->parent.contex); in swm_rng_update()
178 ctx->contex = crc_cfg; in swm_crypto_create()
198 ctx->contex = rng_cfg; in swm_crypto_create()
214 struct swm_crc_cfg *crc_cfg = (struct swm_crc_cfg *)(ctx->contex); in swm_crypto_destroy()
232 rt_free(ctx->contex); in swm_crypto_destroy()
243 if (des->contex && src->contex) in swm_crypto_clone()
245 rt_memcpy(des->contex, src->contex, sizeof(struct swm_crc_cfg)); in swm_crypto_clone()
252 if (des->contex && src->contex) in swm_crypto_clone()
254 rt_memcpy(des->contex, src->contex, sizeof(struct swm_rng_cfg)); in swm_crypto_clone()
268 struct swm_crc_cfg *crc_cfg = (struct swm_crc_cfg *)(ctx->contex); in swm_crypto_reset()