Home
last modified time | relevance | path

Searched refs:to_sm4_ecb_ctx (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/crypto/
H A Dsm4-ecb.c23 static struct sm4_ecb_ctx *to_sm4_ecb_ctx(struct crypto_cipher_ctx *ctx) in to_sm4_ecb_ctx() function
37 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()