Loading CHANGES +0 −3 Original line number Diff line number Diff line Loading @@ -22,9 +22,6 @@ extracted before the specific public key. [Nils Larsch <nla@trustcenter.de>] *) Add reference counting for EC_GROUP objects. [Nils Larsch <nla@trustcenter.de>] *) Include some named elliptic curves. These can be obtained from the new functions EC_GROUP_new_by_nid() Loading crypto/ec/ec_lcl.h +0 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,6 @@ struct ec_group_st { EC_POINT *generator; /* optional */ BIGNUM order, cofactor; int references; int nid; void *field_data1; /* method-specific (e.g., Montgomery structure) */ Loading crypto/ec/ec_lib.c +4 −18 Original line number Diff line number Diff line Loading @@ -96,8 +96,6 @@ EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) ret->nid = 0; ret->references = 1; if (!meth->group_init(ret)) { OPENSSL_free(ret); Loading @@ -110,12 +108,6 @@ EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) void EC_GROUP_free(EC_GROUP *group) { int i; i = CRYPTO_add(&group->references, -1, CRYPTO_LOCK_EC); if (i > 0) return; if (group->meth->group_finish != 0) group->meth->group_finish(group); Loading @@ -127,12 +119,6 @@ void EC_GROUP_free(EC_GROUP *group) void EC_GROUP_clear_free(EC_GROUP *group) { int i; i = CRYPTO_add(&group->references, -1, CRYPTO_LOCK_EC); if (i > 0) return; if (group->meth->group_clear_finish != 0) group->meth->group_clear_finish(group); else if (group->meth != NULL && group->meth->group_finish != 0) Loading Loading
CHANGES +0 −3 Original line number Diff line number Diff line Loading @@ -22,9 +22,6 @@ extracted before the specific public key. [Nils Larsch <nla@trustcenter.de>] *) Add reference counting for EC_GROUP objects. [Nils Larsch <nla@trustcenter.de>] *) Include some named elliptic curves. These can be obtained from the new functions EC_GROUP_new_by_nid() Loading
crypto/ec/ec_lcl.h +0 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,6 @@ struct ec_group_st { EC_POINT *generator; /* optional */ BIGNUM order, cofactor; int references; int nid; void *field_data1; /* method-specific (e.g., Montgomery structure) */ Loading
crypto/ec/ec_lib.c +4 −18 Original line number Diff line number Diff line Loading @@ -96,8 +96,6 @@ EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) ret->nid = 0; ret->references = 1; if (!meth->group_init(ret)) { OPENSSL_free(ret); Loading @@ -110,12 +108,6 @@ EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) void EC_GROUP_free(EC_GROUP *group) { int i; i = CRYPTO_add(&group->references, -1, CRYPTO_LOCK_EC); if (i > 0) return; if (group->meth->group_finish != 0) group->meth->group_finish(group); Loading @@ -127,12 +119,6 @@ void EC_GROUP_free(EC_GROUP *group) void EC_GROUP_clear_free(EC_GROUP *group) { int i; i = CRYPTO_add(&group->references, -1, CRYPTO_LOCK_EC); if (i > 0) return; if (group->meth->group_clear_finish != 0) group->meth->group_clear_finish(group); else if (group->meth != NULL && group->meth->group_finish != 0) Loading