ecdhtest.c: move NAMED CURVES TESTS to evptests.txt
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3187)
This commit is contained in:
parent
c491a39986
commit
d663c2db56
2 changed files with 3035 additions and 12 deletions
|
@ -570,18 +570,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
if (!EC_get_builtin_curves(curves, crv_len)) goto err;
|
||||
|
||||
/* NAMED CURVES TESTS */
|
||||
for (n = 0; n < crv_len; n++) {
|
||||
nid = curves[n].nid;
|
||||
/*
|
||||
* Skipped for X25519 because affine coordinate operations are not
|
||||
* supported for this curve.
|
||||
* Higher level ECDH tests are performed in evptests.txt instead.
|
||||
*/
|
||||
if (nid == NID_X25519)
|
||||
continue;
|
||||
if (!test_ecdh_curve(nid, ctx, out)) goto err;
|
||||
}
|
||||
/* NAMED CURVES TESTS: moved to evptests.txt */
|
||||
|
||||
/* KATs */
|
||||
for (n = 0; n < (sizeof(ecdh_kats)/sizeof(ecdh_kat_t)); n++) {
|
||||
|
|
3034
test/evptests.txt
3034
test/evptests.txt
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue