diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-17 16:37:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-17 16:37:34 +0300 |
commit | 3baadcabe01da1148f0738f260cbba1d7389ea86 (patch) | |
tree | ad59b02fb036d6eea61805fbf847075a5b100312 /src | |
parent | test: add utilities to play with "boxes" (diff) | |
download | aes-tools-3baadcabe01da1148f0738f260cbba1d7389ea86.tar.gz aes-tools-3baadcabe01da1148f0738f260cbba1d7389ea86.zip |
factor out 128-bit XORing
Diffstat (limited to '')
-rw-r--r-- | src/box.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |