11 bits are needed to encode a maximum index of 1086
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 15 Mar 2014 18:22:16 +0000 (19:22 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 15 Mar 2014 18:22:16 +0000 (19:22 +0100)
src/libstrongswan/plugins/ntru/ntru_param_set.c

index 8f25a4a..2bc61f6 100644 (file)
@@ -100,7 +100,7 @@ static ntru_param_set_t ntru_param_sets[] = {
         NTRU_EES1087EP2,             /* parameter-set id */
         {0x00, 0x06, 0x03},          /* OID */
         0x25,                        /* DER id */
-        10,                          /* no. of bits in N (i.e., in an index) */
+        11,                          /* no. of bits in N (i.e., in an index) */
         1087,                        /* N */
         32,                          /* security strength in octets */
         2048,                        /* q */