X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fec%2Fec.h;h=e401eb739c969bec8081e771d6fac34713c5f7e5;hp=51cc3f8c08dc2920e26c3028fc081889adda331b;hb=8aefe253a7bd734bcfa025cd6f5fe3ab31206583;hpb=7e31164ae08fdc00fb62f749f7b6d18aaa75523e diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index 51cc3f8c08..e401eb739c 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -191,12 +191,6 @@ const char *EC_GROUP_get0_comment(int nid); * with the given index i from the internal curve list */ int ec_group_index2nid(int i); -/* EC_GROUP_get_basis_type() returns the NID of the basis type - * used to represent the field elements (in case of a pentanomial or trinomial - * basis the coefficient are returned in the k? arguments) */ -int EC_GROUP_get_basis_type(const EC_GROUP *, unsigned int *k1, - unsigned int *k2, unsigned int *k3); - /* EC_POINT functions */ @@ -261,6 +255,13 @@ int EC_GROUP_precompute_mult(EC_GROUP *, BN_CTX *); /* ASN1 stuff */ + +/* EC_GROUP_get_basis_type() returns the NID of the basis type + * used to represent the field elements (in case of a pentanomial or trinomial + * basis the coefficient are returned in the k? arguments) */ +int EC_GROUP_get_basis_type(const EC_GROUP *, unsigned int *k1, + unsigned int *k2, unsigned int *k3); + #define OPENSSL_EC_NAMED_CURVE 0x001 typedef struct ecpk_parameters_st ECPKPARAMETERS;