Searched refs:sm4_cbc_ctx (Results 1 – 1 of 1) sorted by relevance
17 struct sm4_cbc_ctx { struct25 static struct sm4_cbc_ctx *to_sm4_cbc_ctx(struct crypto_cipher_ctx *ctx) in to_sm4_cbc_ctx() argument29 return container_of(ctx, struct sm4_cbc_ctx, ctx); in to_sm4_cbc_ctx()38 struct sm4_cbc_ctx *c = to_sm4_cbc_ctx(ctx); in sm4_cbc_init()57 struct sm4_cbc_ctx *c = to_sm4_cbc_ctx(ctx); in sm4_cbc_update()66 struct sm4_cbc_ctx *c = to_sm4_cbc_ctx(ctx); in sm4_cbc_final()80 struct sm4_cbc_ctx *src = to_sm4_cbc_ctx(src_ctx); in sm4_cbc_copy_state()81 struct sm4_cbc_ctx *dst = to_sm4_cbc_ctx(dst_ctx); in sm4_cbc_copy_state()97 struct sm4_cbc_ctx *c = NULL; in crypto_sm4_cbc_alloc_ctx()