diff options
author | Bodo Möller <bodo@openssl.org> | 2003-07-21 13:43:28 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2003-07-21 13:43:28 +0000 |
commit | ada0e717fa36f4202298b797b9b663831a47548c (patch) | |
tree | 8d1f4a95fe4573559540003db39e317203996e68 /crypto/ec/ec.h | |
parent | 2c789c82be736604ede5485519f070a1ae0d176d (diff) | |
download | openssl-ada0e717fa36f4202298b797b9b663831a47548c.tar.gz |
new function EC_GROUP_cmp() (used by EVP_PKEY_cmp())
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/ec/ec.h')
-rw-r--r-- | crypto/ec/ec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/ec/ec.h b/crypto/ec/ec.h index 431a28b38f..dcffc8c049 100644 --- a/crypto/ec/ec.h +++ b/crypto/ec/ec.h @@ -166,6 +166,9 @@ int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx); * elliptic curve is not zero, 0 otherwise */ int EC_GROUP_check_discriminant(const EC_GROUP *, BN_CTX *); +/* EC_GROUP_cmp() returns 0 if both groups are equal and 1 otherwise */ +int EC_GROUP_cmp(const EC_GROUP *, const EC_GROUP *, BN_CTX *); + /* EC_GROUP_new_GF*() calls EC_GROUP_new() and EC_GROUP_set_GF*() * after choosing an appropriate EC_METHOD */ EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *); |