X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fec%2Fec.h;h=51cc3f8c08dc2920e26c3028fc081889adda331b;hp=4eb4ad678c1f07b52079e9e7d5e29a0bd04ffa84;hb=7e31164ae08fdc00fb62f749f7b6d18aaa75523e;hpb=ad55f581f93592705617039cd4b5ed8dc02b6192 diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index 4eb4ad678c..51cc3f8c08 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -191,6 +191,14 @@ 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 */ EC_POINT *EC_POINT_new(const EC_GROUP *); void EC_POINT_free(EC_POINT *);