aboutsummaryrefslogtreecommitdiffstats
path: root/src/block
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-10-09 17:39:11 +0000
committerlloyd <[email protected]>2012-10-09 17:39:11 +0000
commite7358da854c0bdfbb981782b148040939925aa05 (patch)
treea6dc613ae1e98c853510621c54575895f9fde7a7 /src/block
parent7e0820857855d1e60ff886083bd30ec682c612fd (diff)
Compile fix for std::vector
Diffstat (limited to 'src/block')
-rw-r--r--src/block/aes_ni/aes_ni.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/aes_ni/aes_ni.cpp b/src/block/aes_ni/aes_ni.cpp
index 3ee0e608c..c320fe82c 100644
--- a/src/block/aes_ni/aes_ni.cpp
+++ b/src/block/aes_ni/aes_ni.cpp
@@ -488,7 +488,7 @@ void AES_192_NI::key_schedule(const byte key[], size_t)
#define AES_192_key_exp(RCON, EK_OFF) \
aes_192_key_expansion(&K0, &K1, \
_mm_aeskeygenassist_si128(K1, RCON), \
- EK + EK_OFF, EK_OFF == 48)
+ &EK[EK_OFF], EK_OFF == 48)
AES_192_key_exp(0x01, 6);
AES_192_key_exp(0x02, 12);