Lines Matching refs:sm4_one_round
163 static void sm4_one_round(uint32_t sk[32], const uint8_t input[16], in sm4_one_round() function
209 sm4_one_round(ctx->sk, input, output); in sm4_crypt_ecb()
228 sm4_one_round(ctx->sk, output, output); in sm4_crypt_cbc()
238 sm4_one_round(ctx->sk, input, output); in sm4_crypt_cbc()
259 sm4_one_round(ctx->sk, ctr, ctr); in sm4_crypt_ctr()
306 sm4_one_round(ctx_ek->sk, iv, tweak); in sm4_crypt_xts()
313 sm4_one_round(ctx->sk, ct, ct); in sm4_crypt_xts()
319 sm4_one_round(ctx_dk->sk, tweak, iv); in sm4_crypt_xts()
334 sm4_one_round(ctx->sk, ct, ct); in sm4_crypt_xts()
340 sm4_one_round(ctx->sk, ct, ct); in sm4_crypt_xts()
348 sm4_one_round(ctx->sk, ct, ct); in sm4_crypt_xts()