[PATCH] Stribog: fix C16 table size

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Sun Dec 28 10:15:33 CET 2014


Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
 cipher/stribog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cipher/stribog.c b/cipher/stribog.c
index 942bbf4..de167a7 100644
--- a/cipher/stribog.c
+++ b/cipher/stribog.c
@@ -1080,7 +1080,7 @@ static const u64 stribog_table[8][256] =
     U64_C(0x72d14d3493b2e388), U64_C(0xd6a30f258c153427) },
 };
 
-static const u64 C16[13][16] =
+static const u64 C16[12][8] =
 {
   { U64_C(0xdd806559f2a64507), U64_C(0x05767436cc744d23),
     U64_C(0xa2422a08a460d315), U64_C(0x4b7ce09192676901),
-- 
2.1.4




More information about the Gcrypt-devel mailing list