aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-12-07 23:54:53 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2013-12-07 23:54:53 +0100
commit84814a6b7cd3773fd03d3c0a2827c145bc057d42 (patch)
tree1bddf912eb295f162b2a1c4cf26c8723c4f19d12
parent5da659523eb09f340a4c42393c4ff5ec3b052a6f (diff)
downloadstrongswan-84814a6b7cd3773fd03d3c0a2827c145bc057d42.tar.bz2
strongswan-84814a6b7cd3773fd03d3c0a2827c145bc057d42.tar.xz
min_MGF_hash_calls parameter is not needed anymore
-rw-r--r--src/libstrongswan/plugins/ntru/ntru_crypto/ntru_crypto_ntru_encrypt_param_sets.c16
-rw-r--r--src/libstrongswan/plugins/ntru/ntru_crypto/ntru_crypto_ntru_encrypt_param_sets.h2
2 files changed, 0 insertions, 18 deletions
diff --git a/src/libstrongswan/plugins/ntru/ntru_crypto/ntru_crypto_ntru_encrypt_param_sets.c b/src/libstrongswan/plugins/ntru/ntru_crypto/ntru_crypto_ntru_encrypt_param_sets.c
index fbbf810ae..cf3c8620a 100644
--- a/src/libstrongswan/plugins/ntru/ntru_crypto/ntru_crypto_ntru_encrypt_param_sets.c
+++ b/src/libstrongswan/plugins/ntru/ntru_crypto/ntru_crypto_ntru_encrypt_param_sets.c
@@ -57,7 +57,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
11, /* c */
1, /* lLen */
32, /* min. no. of hash calls for IGF-2 */
- 9, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -78,7 +77,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
9, /* c */
1, /* lLen */
31, /* min. no. of hash calls for IGF-2 */
- 9, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -99,7 +97,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
11, /* c */
1, /* lLen */
27, /* min. no. of hash calls for IGF-2 */
- 9, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -120,7 +117,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
13, /* c */
1, /* lLen */
25, /* min. no. of hash calls for IGF-2 */
- 14, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -141,7 +137,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
12, /* c */
1, /* lLen */
15, /* min. no. of hash calls for IGF-2 */
- 11, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -162,7 +157,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
11, /* c */
1, /* lLen */
16, /* min. no. of hash calls for IGF-2 */
- 13, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -183,7 +177,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
10, /* c */
1, /* lLen */
13, /* min. no. of hash calls for IGF-2 */
- 12, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -204,7 +197,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
12, /* c */
1, /* lLen */
20, /* min. no. of hash calls for IGF-2 */
- 15, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -225,7 +217,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
11, /* c */
1, /* lLen */
11, /* min. no. of hash calls for IGF-2 */
- 14, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -246,7 +237,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
12, /* c */
1, /* lLen */
13, /* min. no. of hash calls for IGF-2 */
- 16, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -267,7 +257,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
13, /* c */
1, /* lLen */
13, /* min. no. of hash calls for IGF-2 */
- 14, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -288,7 +277,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
13, /* c */
1, /* lLen */
17, /* min. no. of hash calls for IGF-2 */
- 19, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -309,7 +297,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
11, /* c */
1, /* lLen */
10, /* min. no. of hash calls for IGF-2 */
- 6, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -330,7 +317,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
9, /* c */
1, /* lLen */
15, /* min. no. of hash calls for IGF-2 */
- 6, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -351,7 +337,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
11, /* c */
1, /* lLen */
12, /* min. no. of hash calls for IGF-2 */
- 5, /* min. no. of hash calls for MGF-TP-1 */
},
{
@@ -372,7 +357,6 @@ static NTRU_ENCRYPT_PARAM_SET ntruParamSets[] = {
13, /* c */
1, /* lLen */
12, /* min. no. of hash calls for IGF-2 */
- 7, /* min. no. of hash calls for MGF-TP-1 */
},
};
diff --git a/src/libstrongswan/plugins/ntru/ntru_crypto/ntru_crypto_ntru_encrypt_param_sets.h b/src/libstrongswan/plugins/ntru/ntru_crypto/ntru_crypto_ntru_encrypt_param_sets.h
index bdef7f9ea..08c87be1e 100644
--- a/src/libstrongswan/plugins/ntru/ntru_crypto/ntru_crypto_ntru_encrypt_param_sets.h
+++ b/src/libstrongswan/plugins/ntru/ntru_crypto/ntru_crypto_ntru_encrypt_param_sets.h
@@ -68,8 +68,6 @@ typedef struct _NTRU_ENCRYPT_PARAM_SET {
mLenOctets */
uint8_t min_IGF_hash_calls; /* min. no. of hash calls for
IGF-2 */
- uint8_t min_MGF_hash_calls; /* min. no. of hash calls for
- MGF-TP-1 */
} NTRU_ENCRYPT_PARAM_SET;