Searched refs:SM4_ENCRYPT (Results 1 – 3 of 3) sorted by relevance
15 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()
11 #define SM4_ENCRYPT 1 macro
188 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()