X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fec%2Fec_lcl.h;h=ae67ccfdc24bf9c62ef6453f2ef68886f38fe722;hb=5d9470ff8e8c030b71dcc2e02c1c43d5deb1fa72;hp=5730f2ab961bfe90b64f5b3e2d110d94c758855f;hpb=35b73a1f2069f17c6cde57ff534d5b09a5e4be02;p=oweals%2Fopenssl.git diff --git a/crypto/ec/ec_lcl.h b/crypto/ec/ec_lcl.h index 5730f2ab96..ae67ccfdc2 100644 --- a/crypto/ec/ec_lcl.h +++ b/crypto/ec/ec_lcl.h @@ -89,6 +89,11 @@ #include +/* internal function: ec_group_index2nid() returns the NID of curve + * with the given index i from the internal curve list */ +int ec_group_index2nid(int i); + + /* Structure details are not part of the exported interface, * so all this may change in future versions. */ @@ -207,10 +212,10 @@ struct ec_group_st { */ unsigned int poly[5]; /* Field specification for curves over GF(2^m). - * The irreducible f(t) is then of the form: - * t^poly[0] + t^poly[1] + ... + t^poly[k] - * where m = poly[0] > poly[1] > ... > poly[k] = 0. - */ + * The irreducible f(t) is then of the form: + * t^poly[0] + t^poly[1] + ... + t^poly[k] + * where m = poly[0] > poly[1] > ... > poly[k] = 0. + */ BIGNUM a, b; /* Curve coefficients. * (Here the assumption is that BIGNUMs can be used