Home
last modified time | relevance | path

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

/optee_os/core/crypto/
H A Dsm4_accel.c15 ctx->mode = SM4_ENCRYPT; in sm4_setkey_enc()
38 if (ctx->mode == SM4_ENCRYPT) in sm4_crypt_cbc()
59 if (ctx->mode == SM4_ENCRYPT) in sm4_crypt_xts()
H A Dsm4.h11 #define SM4_ENCRYPT 1 macro
H A Dsm4.c188 ctx->mode = SM4_ENCRYPT; in sm4_setkey_enc()
224 if (ctx->mode == SM4_ENCRYPT) { in sm4_crypt_cbc()
326 if (ctx->mode == SM4_ENCRYPT) { in sm4_crypt_xts()