diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-02-23 15:35:33 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-02-28 23:54:54 +0100 |
commit | 4a5bbc4ef57e21ac7b2f000c2dcbe86e01b2a882 (patch) | |
tree | 14f2a93c339b7ee998f43efc4f7ca5636bd19f49 /test/ectest.c | |
parent | Add X25519 test vectors from RFC7748 6.1 (diff) | |
download | openssl-4a5bbc4ef57e21ac7b2f000c2dcbe86e01b2a882.tar.xz openssl-4a5bbc4ef57e21ac7b2f000c2dcbe86e01b2a882.zip |
skip inappropriate X25519 tests
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'test/ectest.c')
-rw-r--r-- | test/ectest.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ectest.c b/test/ectest.c index b0fbcdc612..bbc7ed0ac9 100644 --- a/test/ectest.c +++ b/test/ectest.c @@ -1417,6 +1417,12 @@ static void internal_curve_test(void) for (n = 0; n < crv_len; n++) { EC_GROUP *group = NULL; int nid = curves[n].nid; + /* + * Skip for X25519 because low level operations such as EC_POINT_mul() + * are not supported for this curve + */ + if (nid == NID_X25519) + continue; fprintf(stdout, "%s:\n", OBJ_nid2sn(nid)); fflush(stdout); if ((group = EC_GROUP_new_by_curve_name(nid)) == NULL) { |