From ada0e717fa36f4202298b797b9b663831a47548c Mon Sep 17 00:00:00 2001 From: Bodo Möller Date: Mon, 21 Jul 2003 13:43:28 +0000 Subject: new function EC_GROUP_cmp() (used by EVP_PKEY_cmp()) Submitted by: Nils Larsch --- crypto/ec/ec.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crypto/ec/ec.h') 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 *); -- cgit v1.2.3