diff options
Diffstat (limited to 'src/block/idea')
-rw-r--r-- | src/block/idea/idea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/block/idea/idea.cpp b/src/block/idea/idea.cpp index 0c5dfed42..7673ead7e 100644 --- a/src/block/idea/idea.cpp +++ b/src/block/idea/idea.cpp @@ -111,7 +111,7 @@ void idea_op(const byte in[], byte out[], u32bit blocks, const u16bit K[52]) */ void IDEA::encrypt_n(const byte in[], byte out[], u32bit blocks) const { - idea_op(in, out, blocks, EK); + idea_op(in, out, blocks, &EK[0]); } /* @@ -119,7 +119,7 @@ void IDEA::encrypt_n(const byte in[], byte out[], u32bit blocks) const */ void IDEA::decrypt_n(const byte in[], byte out[], u32bit blocks) const { - idea_op(in, out, blocks, DK); + idea_op(in, out, blocks, &DK[0]); } /* |