Searched refs:to_sm4_ecb_ctx (Results 1 – 1 of 1) sorted by relevance
23 static struct sm4_ecb_ctx *to_sm4_ecb_ctx(struct crypto_cipher_ctx *ctx) in to_sm4_ecb_ctx() function37 struct sm4_ecb_ctx *c = to_sm4_ecb_ctx(ctx); in sm4_ecb_init()54 struct sm4_ecb_ctx *c = to_sm4_ecb_ctx(ctx); in sm4_ecb_update()63 struct sm4_ecb_ctx *c = to_sm4_ecb_ctx(ctx); in sm4_ecb_final()70 free(to_sm4_ecb_ctx(ctx)); in sm4_ecb_free_ctx()76 struct sm4_ecb_ctx *src = to_sm4_ecb_ctx(src_ctx); in sm4_ecb_copy_state()77 struct sm4_ecb_ctx *dst = to_sm4_ecb_ctx(dst_ctx); in sm4_ecb_copy_state()