From 3baadcabe01da1148f0738f260cbba1d7389ea86 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 17 Jun 2015 16:37:34 +0300 Subject: factor out 128-bit XORing --- src/box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/box.c b/src/box.c index 01f3b20..61f4439 100644 --- a/src/box.c +++ b/src/box.c @@ -13,7 +13,7 @@ static AesNI_StatusCode aesni_box_xor_state_aes( const AesNI_State* src, AesNI_ErrorDetails* err_details) { - dest->aes_block = _mm_xor_si128(dest->aes_block, src->aes_block); + dest->aes_block = aesni_xor_block128(dest->aes_block, src->aes_block); return AESNI_SUCCESS; } -- cgit v1.2.3