aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-17 16:37:34 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-17 16:37:34 +0300
commit3baadcabe01da1148f0738f260cbba1d7389ea86 (patch)
treead59b02fb036d6eea61805fbf847075a5b100312 /src
parenttest: add utilities to play with "boxes" (diff)
downloadaes-tools-3baadcabe01da1148f0738f260cbba1d7389ea86.tar.gz
aes-tools-3baadcabe01da1148f0738f260cbba1d7389ea86.zip
factor out 128-bit XORing
Diffstat (limited to 'src')
-rw-r--r--src/box.c2
1 files changed, 1 insertions, 1 deletions
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;
}