diff options
author | tb <> | 2021-04-20 17:30:32 +0000 |
---|---|---|
committer | tb <> | 2021-04-20 17:30:32 +0000 |
commit | 5ac32b17def2bf66d2e60cc7866c946a98c4a411 (patch) | |
tree | f5e3851f327f97e35498a71684a9fb4ffc00ccf7 /src/regress/lib/libcrypto/ec/ectest.c | |
parent | 5526be4d8fa037d5beac3416101f07402befa9a3 (diff) | |
download | openbsd-5ac32b17def2bf66d2e60cc7866c946a98c4a411.tar.gz openbsd-5ac32b17def2bf66d2e60cc7866c946a98c4a411.tar.bz2 openbsd-5ac32b17def2bf66d2e60cc7866c946a98c4a411.zip |
Adjust ectest.c for get_Jprojective coordinate change
Diffstat (limited to 'src/regress/lib/libcrypto/ec/ectest.c')
-rw-r--r-- | src/regress/lib/libcrypto/ec/ectest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/ec/ectest.c b/src/regress/lib/libcrypto/ec/ectest.c index f090d309b2..710bebe483 100644 --- a/src/regress/lib/libcrypto/ec/ectest.c +++ b/src/regress/lib/libcrypto/ec/ectest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ectest.c,v 1.10 2021/04/20 17:19:39 tb Exp $ */ | 1 | /* $OpenBSD: ectest.c,v 1.11 2021/04/20 17:30:32 tb Exp $ */ |
2 | /* crypto/ec/ectest.c */ | 2 | /* crypto/ec/ectest.c */ |
3 | /* | 3 | /* |
4 | * Originally written by Bodo Moeller for the OpenSSL project. | 4 | * Originally written by Bodo Moeller for the OpenSSL project. |
@@ -336,7 +336,7 @@ prime_field_tests(void) | |||
336 | fprintf(stdout, "\nGenerator as octet string, hybrid form:\n "); | 336 | fprintf(stdout, "\nGenerator as octet string, hybrid form:\n "); |
337 | for (i = 0; i < len; i++) fprintf(stdout, "%02X", buf[i]); | 337 | for (i = 0; i < len; i++) fprintf(stdout, "%02X", buf[i]); |
338 | 338 | ||
339 | if (!EC_POINT_get_Jprojective_coordinates_GFp(group, R, x, y, z, ctx)) | 339 | if (!EC_POINT_get_Jprojective_coordinates(group, R, x, y, z, ctx)) |
340 | ABORT; | 340 | ABORT; |
341 | fprintf(stdout, "\nA representation of the inverse of that generator in\nJacobian projective coordinates:\n X = 0x"); | 341 | fprintf(stdout, "\nA representation of the inverse of that generator in\nJacobian projective coordinates:\n X = 0x"); |
342 | BN_print_fp(stdout, x); | 342 | BN_print_fp(stdout, x); |