-/* $OpenBSD: sk-usbhid.c,v 1.47 2024/12/03 08:31:49 djm Exp $ */
+/* $OpenBSD: sk-usbhid.c,v 1.48 2025/05/12 05:41:20 tb Exp $ */
/*
* Copyright (c) 2019 Markus Friedl
* Copyright (c) 2020 Pedro Martelletto
skdebug(__func__, "BN_bin2bn failed");
goto out;
}
- if (EC_POINT_set_affine_coordinates_GFp(g, q, x, y, NULL) != 1) {
- skdebug(__func__, "EC_POINT_set_affine_coordinates_GFp failed");
+ if (EC_POINT_set_affine_coordinates(g, q, x, y, NULL) != 1) {
+ skdebug(__func__, "EC_POINT_set_affine_coordinates failed");
goto out;
}
response->public_key_len = EC_POINT_point2oct(g, q,
-/* $OpenBSD: sshkey.c,v 1.149 2025/05/06 05:40:56 djm Exp $ */
+/* $OpenBSD: sshkey.c,v 1.150 2025/05/12 05:41:20 tb Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
* Copyright (c) 2008 Alexander von Gernler. All rights reserved.
/* log2(x) > log2(order)/2, log2(y) > log2(order)/2 */
if (EC_GROUP_get_order(group, order, NULL) != 1 ||
- EC_POINT_get_affine_coordinates_GFp(group, public,
- x, y, NULL) != 1) {
+ EC_POINT_get_affine_coordinates(group, public, x, y, NULL) != 1) {
ret = SSH_ERR_LIBCRYPTO_ERROR;
goto out;
}
fprintf(stderr, "%s: BN_new failed\n", __func__);
goto out;
}
- if (EC_POINT_get_affine_coordinates_GFp(group, point,
- x, y, NULL) != 1) {
- fprintf(stderr, "%s: EC_POINT_get_affine_coordinates_GFp\n",
+ if (EC_POINT_get_affine_coordinates(group, point, x, y, NULL) != 1) {
+ fprintf(stderr, "%s: EC_POINT_get_affine_coordinates\n",
__func__);
goto out;
}