aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/idea/idea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block/idea/idea.cpp')
-rw-r--r--src/lib/block/idea/idea.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/block/idea/idea.cpp b/src/lib/block/idea/idea.cpp
index fa98e3754..764115013 100644
--- a/src/lib/block/idea/idea.cpp
+++ b/src/lib/block/idea/idea.cpp
@@ -110,7 +110,7 @@ void idea_op(const byte in[], byte out[], size_t blocks, const u16bit K[52])
*/
void IDEA::encrypt_n(const byte in[], byte out[], size_t blocks) const
{
- idea_op(in, out, blocks, &EK[0]);
+ idea_op(in, out, blocks, EK.data());
}
/*
@@ -118,7 +118,7 @@ void IDEA::encrypt_n(const byte in[], byte out[], size_t blocks) const
*/
void IDEA::decrypt_n(const byte in[], byte out[], size_t blocks) const
{
- idea_op(in, out, blocks, &DK[0]);
+ idea_op(in, out, blocks, DK.data());
}
/*