update to p5-Crypt-OpenSSL-EC-1.34

This commit is contained in:
sthen
2026-03-13 10:03:11 +00:00
parent c06f7ea34a
commit 8cd7c53d10
3 changed files with 15 additions and 33 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
COMMENT = EC using OpenSSL COMMENT = EC using OpenSSL
DISTNAME = Crypt-OpenSSL-EC-1.32 DISTNAME = Crypt-OpenSSL-EC-1.34
REVISION = 3 CPAN_AUTHOR = RADIATOR
CATEGORIES = security CATEGORIES = security
# Perl # Perl
PERMIT_PACKAGE = Yes PERMIT_PACKAGE = Yes
WANTLIB = c crypto perl ssl WANTLIB = c crypto perl ssl
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (Crypt-OpenSSL-EC-1.32.tar.gz) = V1prttdpTUpLc6kSXbkrR5ya0qZvRGdKwv08RBOiwZo= SHA256 (Crypt-OpenSSL-EC-1.34.tar.gz) = E20ZDBYg4tN4PGTFEznWm4QfqSes2XifbO+893bmphg=
SIZE (Crypt-OpenSSL-EC-1.32.tar.gz) = 69455 SIZE (Crypt-OpenSSL-EC-1.34.tar.gz) = 149750
@@ -1,7 +1,7 @@
Index: EC.xs Index: EC.xs
--- EC.xs.orig --- EC.xs.orig
+++ EC.xs +++ EC.xs
@@ -19,6 +19,8 @@ BOOT: @@ -29,6 +29,8 @@ BOOT:
ERR_load_crypto_strings(); ERR_load_crypto_strings();
ERR_load_EC_strings(); ERR_load_EC_strings();
@@ -10,7 +10,7 @@ Index: EC.xs
const EC_METHOD * const EC_METHOD *
EC_GFp_simple_method() EC_GFp_simple_method()
@@ -28,6 +30,8 @@ EC_GFp_mont_method() @@ -38,6 +40,8 @@ EC_GFp_mont_method()
const EC_METHOD * const EC_METHOD *
EC_GFp_nist_method() EC_GFp_nist_method()
@@ -19,7 +19,7 @@ Index: EC.xs
#ifndef OPENSSL_NO_EC2M #ifndef OPENSSL_NO_EC2M
const EC_METHOD * const EC_METHOD *
@@ -69,6 +73,8 @@ ERR_error_string(error,buf=NULL) @@ -79,6 +83,8 @@ ERR_error_string(error,buf=NULL)
MODULE = Crypt::OpenSSL::EC PACKAGE = Crypt::OpenSSL::EC::EC_GROUP PREFIX=EC_GROUP_ MODULE = Crypt::OpenSSL::EC PACKAGE = Crypt::OpenSSL::EC::EC_GROUP PREFIX=EC_GROUP_
@@ -28,7 +28,7 @@ Index: EC.xs
EC_GROUP * EC_GROUP *
EC_GROUP_new(const EC_METHOD *meth) EC_GROUP_new(const EC_METHOD *meth)
CODE: CODE:
@@ -76,6 +82,8 @@ EC_GROUP_new(const EC_METHOD *meth) @@ -86,6 +92,8 @@ EC_GROUP_new(const EC_METHOD *meth)
OUTPUT: OUTPUT:
RETVAL RETVAL
@@ -37,7 +37,7 @@ Index: EC.xs
void void
EC_GROUP_DESTROY(EC_GROUP * group) EC_GROUP_DESTROY(EC_GROUP * group)
CODE: CODE:
@@ -84,18 +92,22 @@ EC_GROUP_DESTROY(EC_GROUP * group) @@ -94,18 +102,22 @@ EC_GROUP_DESTROY(EC_GROUP * group)
void void
EC_GROUP_free(EC_GROUP * group) EC_GROUP_free(EC_GROUP * group)
@@ -63,7 +63,7 @@ Index: EC.xs
int int
EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor) EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor)
@@ -162,12 +174,16 @@ EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM @@ -172,12 +184,16 @@ EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM
int int
EC_GROUP_get_degree(const EC_GROUP *group) EC_GROUP_get_degree(const EC_GROUP *group)
@@ -80,7 +80,7 @@ Index: EC.xs
int int
EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx) EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx)
@@ -184,12 +200,15 @@ EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM @@ -194,12 +210,15 @@ EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM
EC_GROUP * EC_GROUP *
EC_GROUP_new_by_curve_name(int nid) EC_GROUP_new_by_curve_name(int nid)
@@ -96,7 +96,7 @@ Index: EC.xs
int int
EC_GROUP_get_basis_type(const EC_GROUP *group) EC_GROUP_get_basis_type(const EC_GROUP *group)
@@ -247,19 +266,23 @@ EC_POINT_copy(EC_POINT *dst, const EC_POINT *src) @@ -257,18 +276,22 @@ EC_POINT_copy(EC_POINT *dst, const EC_POINT *src)
EC_POINT * EC_POINT *
EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group) EC_POINT_dup(const EC_POINT *src, const EC_GROUP *group)
@@ -117,26 +117,8 @@ Index: EC.xs
int int
EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx) EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, const EC_POINT *p, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx)
+#endif
+ +
+#endif
int int
EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx)
@@ -347,16 +370,6 @@ EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a,
int
EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx)
-
-#if 0
-
-int
-EC_POINTs_make_affine(const EC_GROUP *group, size_t num, EC_POINT *p[], BN_CTX *ctx)
-
-int
-EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, size_t num, const EC_POINT *p[], const BIGNUM *m[], BN_CTX *ctx)
-
-#endif
int
EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *n, const EC_POINT *q, const BIGNUM *m, BN_CTX *ctx)