diff options
Diffstat (limited to 'src/lib/libcrypto/ec/ec.h')
| -rw-r--r-- | src/lib/libcrypto/ec/ec.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h index dd06dcb8b4..0229a4bf41 100644 --- a/src/lib/libcrypto/ec/ec.h +++ b/src/lib/libcrypto/ec/ec.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec.h,v 1.49 2025/01/25 17:59:44 tb Exp $ */ | 1 | /* $OpenBSD: ec.h,v 1.50 2025/03/09 15:33:35 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Originally written by Bodo Moeller for the OpenSSL project. | 3 | * Originally written by Bodo Moeller for the OpenSSL project. |
| 4 | */ | 4 | */ |
| @@ -95,23 +95,15 @@ typedef enum { | |||
| 95 | POINT_CONVERSION_HYBRID = 6 | 95 | POINT_CONVERSION_HYBRID = 6 |
| 96 | } point_conversion_form_t; | 96 | } point_conversion_form_t; |
| 97 | 97 | ||
| 98 | typedef struct ec_method_st EC_METHOD; | ||
| 99 | typedef struct ec_group_st EC_GROUP; | 98 | typedef struct ec_group_st EC_GROUP; |
| 100 | typedef struct ec_point_st EC_POINT; | 99 | typedef struct ec_point_st EC_POINT; |
| 101 | 100 | ||
| 102 | const EC_METHOD *EC_GFp_simple_method(void); | ||
| 103 | const EC_METHOD *EC_GFp_mont_method(void); | ||
| 104 | |||
| 105 | EC_GROUP *EC_GROUP_new(const EC_METHOD *meth); | ||
| 106 | void EC_GROUP_free(EC_GROUP *group); | 101 | void EC_GROUP_free(EC_GROUP *group); |
| 107 | void EC_GROUP_clear_free(EC_GROUP *group); | 102 | void EC_GROUP_clear_free(EC_GROUP *group); |
| 108 | 103 | ||
| 109 | int EC_GROUP_copy(EC_GROUP *dst, const EC_GROUP *src); | 104 | int EC_GROUP_copy(EC_GROUP *dst, const EC_GROUP *src); |
| 110 | EC_GROUP *EC_GROUP_dup(const EC_GROUP *src); | 105 | EC_GROUP *EC_GROUP_dup(const EC_GROUP *src); |
| 111 | 106 | ||
| 112 | const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group); | ||
| 113 | int EC_METHOD_get_field_type(const EC_METHOD *meth); | ||
| 114 | |||
| 115 | int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, | 107 | int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, |
| 116 | const BIGNUM *order, const BIGNUM *cofactor); | 108 | const BIGNUM *order, const BIGNUM *cofactor); |
| 117 | const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group); | 109 | const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group); |
| @@ -172,8 +164,6 @@ void EC_POINT_clear_free(EC_POINT *point); | |||
| 172 | int EC_POINT_copy(EC_POINT *dst, const EC_POINT *src); | 164 | int EC_POINT_copy(EC_POINT *dst, const EC_POINT *src); |
| 173 | EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group); | 165 | EC_POINT *EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group); |
| 174 | 166 | ||
| 175 | const EC_METHOD *EC_POINT_method_of(const EC_POINT *point); | ||
| 176 | |||
| 177 | int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point); | 167 | int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point); |
| 178 | 168 | ||
| 179 | int EC_POINT_set_affine_coordinates(const EC_GROUP *group, EC_POINT *p, | 169 | int EC_POINT_set_affine_coordinates(const EC_GROUP *group, EC_POINT *p, |
