summaryrefslogtreecommitdiff
path: root/crypto/ec
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2003-07-22 12:34:21 +0000
committerBodo Möller <bodo@openssl.org>2003-07-22 12:34:21 +0000
commit968766cad84d15d556d9b8f7ab3c927df700c378 (patch)
tree29bd70e47d518c70ba3fdd1dbc360f3f6799b3bd /crypto/ec
parent652ae06badda3a8964f650ce1713e335257548d9 (diff)
downloadopenssl-new-968766cad84d15d556d9b8f7ab3c927df700c378.tar.gz
updates for draft-ietf-tls-ecc-03.txt
Submitted by: Douglas Stebila Reviewed by: Bodo Moeller
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/ec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h
index dcffc8c049..8f4d4e1818 100644
--- a/crypto/ec/ec.h
+++ b/crypto/ec/ec.h
@@ -158,6 +158,7 @@ int EC_GROUP_get_curve_GFp(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN
int EC_GROUP_set_curve_GF2m(EC_GROUP *, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *);
int EC_GROUP_get_curve_GF2m(const EC_GROUP *, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *);
+/* returns the number of bits needed to represent a field element */
int EC_GROUP_get_degree(const EC_GROUP *);
/* EC_GROUP_check() returns 1 if 'group' defines a valid group, 0 otherwise */