Added NTRU key exchange to default IKE proposal
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 22 Nov 2013 20:24:51 +0000 (21:24 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 27 Nov 2013 19:21:41 +0000 (20:21 +0100)
src/libcharon/config/proposal.c

index 1f3f2ba..891d1be 100644 (file)
@@ -741,6 +741,10 @@ static void proposal_add_supported_ike(private_proposal_t *this)
                        case ECP_256_BP:
                        case ECP_384_BP:
                        case ECP_512_BP:
+                       case NTRU_112_BIT:
+                       case NTRU_128_BIT:
+                       case NTRU_192_BIT:
+                       case NTRU_256_BIT:
                                add_algorithm(this, DIFFIE_HELLMAN_GROUP, group, 0);
                                break;
                        default: