projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-elapsed is also useful when using gettimeofday
[oweals/openssl.git]
/
crypto
/
ec
/
ec_lcl.h
diff --git
a/crypto/ec/ec_lcl.h
b/crypto/ec/ec_lcl.h
index 5730f2ab961bfe90b64f5b3e2d110d94c758855f..ae67ccfdc24bf9c62ef6453f2ef68886f38fe722 100644
(file)
--- a/
crypto/ec/ec_lcl.h
+++ b/
crypto/ec/ec_lcl.h
@@
-89,6
+89,11
@@
#include <openssl/ec.h>
#include <openssl/ec.h>
+/* 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. */
/* 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).
*/
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
BIGNUM a, b; /* Curve coefficients.
* (Here the assumption is that BIGNUMs can be used