summaryrefslogtreecommitdiff
path: root/dev-perl/Crypt-Curve25519
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-15 18:47:53 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-15 18:47:53 +0000
commita4eda25bf0f72d757244b128657832bc4da28375 (patch)
tree5a4bda4947a8d19e1f07c2385db1aff2c18ba0d2 /dev-perl/Crypt-Curve25519
parent6e8d3793323b8f24be801a4aaf31cdd31a8483e9 (diff)
gentoo auto-resync : 15:03:2024 - 18:47:52
Diffstat (limited to 'dev-perl/Crypt-Curve25519')
-rw-r--r--dev-perl/Crypt-Curve25519/Crypt-Curve25519-0.60.0-r1.ebuild39
-rw-r--r--dev-perl/Crypt-Curve25519/Manifest3
-rw-r--r--dev-perl/Crypt-Curve25519/files/Crypt-Curve25519-0.60.0-fmul-fixedvar.patch174
3 files changed, 0 insertions, 216 deletions
diff --git a/dev-perl/Crypt-Curve25519/Crypt-Curve25519-0.60.0-r1.ebuild b/dev-perl/Crypt-Curve25519/Crypt-Curve25519-0.60.0-r1.ebuild
deleted file mode 100644
index 752ca7b257bd..000000000000
--- a/dev-perl/Crypt-Curve25519/Crypt-Curve25519-0.60.0-r1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DIST_AUTHOR=AJGB
-DIST_VERSION=0.06
-inherit perl-module
-
-DESCRIPTION="Shared secret elliptic-curve Diffie-Hellman generator"
-LICENSE="|| ( Artistic GPL-1+ ) BSD CC-PD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-PATCHES=(
- "${FILESDIR}/${P}-fmul-fixedvar.patch"
-)
-
-RDEPEND="
- virtual/perl-Carp
- virtual/perl-Exporter
- virtual/perl-XSLoader
-"
-BDEPEND="${RDEPEND}
- virtual/perl-ExtUtils-MakeMaker
- test? (
- virtual/perl-File-Spec
- virtual/perl-IO
- virtual/perl-Test-Simple
- )
-"
-src_compile() {
- mymake=(
- "OPTIMIZE=${CFLAGS}"
- )
- perl-module_src_compile
-}
diff --git a/dev-perl/Crypt-Curve25519/Manifest b/dev-perl/Crypt-Curve25519/Manifest
index bc46df6404b2..aa75c4f82c56 100644
--- a/dev-perl/Crypt-Curve25519/Manifest
+++ b/dev-perl/Crypt-Curve25519/Manifest
@@ -1,6 +1,3 @@
-AUX Crypt-Curve25519-0.60.0-fmul-fixedvar.patch 6225 BLAKE2B 96227f80b3da21226400d4e94089c18ab630307d1ae172d4b2b42344998f933e5540ba45bde91199735fbc2b0ce42840a9096337c098672981c741bd2339e30f SHA512 e534ee2ca915287c97622cf7b1cca889416a1bf31f6f80c263a7bc02638c95a6f4058665deebeb42f0d5fb5775279902bfb431f31e16f8230e115a712d663c03
-DIST Crypt-Curve25519-0.06.tar.gz 27835 BLAKE2B 39ab90ae4044e897a9cf24c21d5a922520dc1724e0aa4612864ce996b27fe9234111cc8394f60caeac9734cab64f3a378a74b3eaf087ee5e6b3d168fa967f5bf SHA512 e5d351c36c9f60e1b55f45bf9fa871fddf949bd5c0a20b4d065e1eb2d4e24ba43807289591eda854fca28b5909fd6af1b0fc9ede63efbeeaf6e011e7382a4e1d
DIST Crypt-Curve25519-0.07.tar.gz 16216 BLAKE2B 88f1558863748889d983e239e8715069868de6fdd6ca2c0654c462b657857b1ca0e6edca1089ea9fd2ff9cc037d7ec445bad268beeb2f6c9d1b39123ac2be7c9 SHA512 8b7107c3d96239974836f99d8e6d0603b8006ec1b3c80a8364b82259d9f79938d77b0b5bac8c1e2b14147bc2c86e39e27b79cfe0f316dfd4e9518aab313e5103
-EBUILD Crypt-Curve25519-0.60.0-r1.ebuild 696 BLAKE2B 54dad829e0508a03798eb77531a5b1fc938cb0e31f5f03acaf046fc2edd321d1bad4234ea29e620ce11519323a55750636dfc59a65b3792640998aae0cda4257 SHA512 d0f13fcb12f173405e0297843b54f7de661d265e5faa25fa5c8021ba64e96064d665362f17f1e905818da7e27dbe8aef04d01f786c9fc9813278cfeb4935f0e0
EBUILD Crypt-Curve25519-0.70.0.ebuild 357 BLAKE2B fb7b5151aea73cde746bed5b309da053917cb2e962de05315afeb8014e7156b8c0f44220c8fc49e45d82b19fe9b6a33434af3cbe7ec14afbf2bf84760b1a13f9 SHA512 186304fcbb55367b198d1a91bbf49d59da11a9cd0694a2ccf8d83e5d66df48dba6cec83cd2d58cf6a2525c324b09c924241e5d1c7438ea196ee2d3973e7fb8a8
MISC metadata.xml 405 BLAKE2B acbc215035eb175c5d04100095b9195856c3948213dbd2400c695f3a79a818ff9f26aa9a8ebd02c9e41e9e1b207d84d7be92be814e5dac68c25ca2c7bb7951c7 SHA512 50f58b7c4230afdfb251c9d79475a50e32f0d9985d18d58b17697552b59bdf7cf3feb0056f47ef4edbd8a8c1b6d578e49b125656d34e506de63a50cfe523c473
diff --git a/dev-perl/Crypt-Curve25519/files/Crypt-Curve25519-0.60.0-fmul-fixedvar.patch b/dev-perl/Crypt-Curve25519/files/Crypt-Curve25519-0.60.0-fmul-fixedvar.patch
deleted file mode 100644
index 83f3e7e5130f..000000000000
--- a/dev-perl/Crypt-Curve25519/files/Crypt-Curve25519-0.60.0-fmul-fixedvar.patch
+++ /dev/null
@@ -1,174 +0,0 @@
-diff -uNr Crypt-Curve25519-0.06.ORIG/curve25519-donna.c Crypt-Curve25519-0.06/curve25519-donna.c
---- Crypt-Curve25519-0.06.ORIG/curve25519-donna.c 2019-06-13 11:19:36.492819752 +0100
-+++ Crypt-Curve25519-0.06/curve25519-donna.c 2019-06-13 11:19:55.595991363 +0100
-@@ -325,7 +325,7 @@
- * reduced coefficient.
- */
- static void
--fmul(limb *output, const limb *in, const limb *in2) {
-+fixedvar(limb *output, const limb *in, const limb *in2) {
- limb t[19];
- fproduct(t, in, in2);
- freduce_degree(t);
-@@ -661,54 +661,54 @@
- /* 2 */ fsquare(z2,z);
- /* 4 */ fsquare(t1,z2);
- /* 8 */ fsquare(t0,t1);
-- /* 9 */ fmul(z9,t0,z);
-- /* 11 */ fmul(z11,z9,z2);
-+ /* 9 */ fixedvar(z9,t0,z);
-+ /* 11 */ fixedvar(z11,z9,z2);
- /* 22 */ fsquare(t0,z11);
-- /* 2^5 - 2^0 = 31 */ fmul(z2_5_0,t0,z9);
-+ /* 2^5 - 2^0 = 31 */ fixedvar(z2_5_0,t0,z9);
-
- /* 2^6 - 2^1 */ fsquare(t0,z2_5_0);
- /* 2^7 - 2^2 */ fsquare(t1,t0);
- /* 2^8 - 2^3 */ fsquare(t0,t1);
- /* 2^9 - 2^4 */ fsquare(t1,t0);
- /* 2^10 - 2^5 */ fsquare(t0,t1);
-- /* 2^10 - 2^0 */ fmul(z2_10_0,t0,z2_5_0);
-+ /* 2^10 - 2^0 */ fixedvar(z2_10_0,t0,z2_5_0);
-
- /* 2^11 - 2^1 */ fsquare(t0,z2_10_0);
- /* 2^12 - 2^2 */ fsquare(t1,t0);
- /* 2^20 - 2^10 */ for (i = 2;i < 10;i += 2) { fsquare(t0,t1); fsquare(t1,t0); }
-- /* 2^20 - 2^0 */ fmul(z2_20_0,t1,z2_10_0);
-+ /* 2^20 - 2^0 */ fixedvar(z2_20_0,t1,z2_10_0);
-
- /* 2^21 - 2^1 */ fsquare(t0,z2_20_0);
- /* 2^22 - 2^2 */ fsquare(t1,t0);
- /* 2^40 - 2^20 */ for (i = 2;i < 20;i += 2) { fsquare(t0,t1); fsquare(t1,t0); }
-- /* 2^40 - 2^0 */ fmul(t0,t1,z2_20_0);
-+ /* 2^40 - 2^0 */ fixedvar(t0,t1,z2_20_0);
-
- /* 2^41 - 2^1 */ fsquare(t1,t0);
- /* 2^42 - 2^2 */ fsquare(t0,t1);
- /* 2^50 - 2^10 */ for (i = 2;i < 10;i += 2) { fsquare(t1,t0); fsquare(t0,t1); }
-- /* 2^50 - 2^0 */ fmul(z2_50_0,t0,z2_10_0);
-+ /* 2^50 - 2^0 */ fixedvar(z2_50_0,t0,z2_10_0);
-
- /* 2^51 - 2^1 */ fsquare(t0,z2_50_0);
- /* 2^52 - 2^2 */ fsquare(t1,t0);
- /* 2^100 - 2^50 */ for (i = 2;i < 50;i += 2) { fsquare(t0,t1); fsquare(t1,t0); }
-- /* 2^100 - 2^0 */ fmul(z2_100_0,t1,z2_50_0);
-+ /* 2^100 - 2^0 */ fixedvar(z2_100_0,t1,z2_50_0);
-
- /* 2^101 - 2^1 */ fsquare(t1,z2_100_0);
- /* 2^102 - 2^2 */ fsquare(t0,t1);
- /* 2^200 - 2^100 */ for (i = 2;i < 100;i += 2) { fsquare(t1,t0); fsquare(t0,t1); }
-- /* 2^200 - 2^0 */ fmul(t1,t0,z2_100_0);
-+ /* 2^200 - 2^0 */ fixedvar(t1,t0,z2_100_0);
-
- /* 2^201 - 2^1 */ fsquare(t0,t1);
- /* 2^202 - 2^2 */ fsquare(t1,t0);
- /* 2^250 - 2^50 */ for (i = 2;i < 50;i += 2) { fsquare(t0,t1); fsquare(t1,t0); }
-- /* 2^250 - 2^0 */ fmul(t0,t1,z2_50_0);
-+ /* 2^250 - 2^0 */ fixedvar(t0,t1,z2_50_0);
-
- /* 2^251 - 2^1 */ fsquare(t1,t0);
- /* 2^252 - 2^2 */ fsquare(t0,t1);
- /* 2^253 - 2^3 */ fsquare(t1,t0);
- /* 2^254 - 2^4 */ fsquare(t0,t1);
- /* 2^255 - 2^5 */ fsquare(t1,t0);
-- /* 2^255 - 21 */ fmul(out,t1,z11);
-+ /* 2^255 - 21 */ fixedvar(out,t1,z11);
- }
-
- int curve25519_donna(u8 *, const u8 *, const u8 *);
-@@ -727,7 +727,7 @@
- fexpand(bp, basepoint);
- cmult(x, z, e, bp);
- crecip(zmone, z);
-- fmul(z, x, zmone);
-+ fixedvar(z, x, zmone);
- freduce_coefficients(z);
- fcontract(mypublic, z);
- return 0;
-diff -uNr Crypt-Curve25519-0.06.ORIG/curve25519-donna-c64.c Crypt-Curve25519-0.06/curve25519-donna-c64.c
---- Crypt-Curve25519-0.06.ORIG/curve25519-donna-c64.c 2019-06-13 11:19:36.492819752 +0100
-+++ Crypt-Curve25519-0.06/curve25519-donna-c64.c 2019-06-13 11:19:55.598991390 +0100
-@@ -96,7 +96,7 @@
- * On return, output[i] < 2**52
- */
- static inline void force_inline
--fmul(felem output, const felem in2, const felem in) {
-+fixedvar(felem output, const felem in2, const felem in) {
- uint128_t t[5];
- limb r0,r1,r2,r3,r4,s0,s1,s2,s3,s4,c;
-
-@@ -305,22 +305,22 @@
- memcpy(origxprime, xprime, sizeof(limb) * 5);
- fsum(xprime, zprime);
- fdifference_backwards(zprime, origxprime);
-- fmul(xxprime, xprime, z);
-- fmul(zzprime, x, zprime);
-+ fixedvar(xxprime, xprime, z);
-+ fixedvar(zzprime, x, zprime);
- memcpy(origxprime, xxprime, sizeof(limb) * 5);
- fsum(xxprime, zzprime);
- fdifference_backwards(zzprime, origxprime);
- fsquare_times(x3, xxprime, 1);
- fsquare_times(zzzprime, zzprime, 1);
-- fmul(z3, zzzprime, qmqp);
-+ fixedvar(z3, zzzprime, qmqp);
-
- fsquare_times(xx, x, 1);
- fsquare_times(zz, z, 1);
-- fmul(x2, xx, zz);
-+ fixedvar(x2, xx, zz);
- fdifference_backwards(zz, xx); // does zz = xx - zz
- fscalar_product(zzz, zz, 121665);
- fsum(zzz, xx);
-- fmul(z2, zz, zzz);
-+ fixedvar(z2, zz, zzz);
- }
-
- // -----------------------------------------------------------------------------
-@@ -405,26 +405,26 @@
-
- /* 2 */ fsquare_times(a, z, 1); // a = 2
- /* 8 */ fsquare_times(t0, a, 2);
-- /* 9 */ fmul(b, t0, z); // b = 9
-- /* 11 */ fmul(a, b, a); // a = 11
-+ /* 9 */ fixedvar(b, t0, z); // b = 9
-+ /* 11 */ fixedvar(a, b, a); // a = 11
- /* 22 */ fsquare_times(t0, a, 1);
-- /* 2^5 - 2^0 = 31 */ fmul(b, t0, b);
-+ /* 2^5 - 2^0 = 31 */ fixedvar(b, t0, b);
- /* 2^10 - 2^5 */ fsquare_times(t0, b, 5);
-- /* 2^10 - 2^0 */ fmul(b, t0, b);
-+ /* 2^10 - 2^0 */ fixedvar(b, t0, b);
- /* 2^20 - 2^10 */ fsquare_times(t0, b, 10);
-- /* 2^20 - 2^0 */ fmul(c, t0, b);
-+ /* 2^20 - 2^0 */ fixedvar(c, t0, b);
- /* 2^40 - 2^20 */ fsquare_times(t0, c, 20);
-- /* 2^40 - 2^0 */ fmul(t0, t0, c);
-+ /* 2^40 - 2^0 */ fixedvar(t0, t0, c);
- /* 2^50 - 2^10 */ fsquare_times(t0, t0, 10);
-- /* 2^50 - 2^0 */ fmul(b, t0, b);
-+ /* 2^50 - 2^0 */ fixedvar(b, t0, b);
- /* 2^100 - 2^50 */ fsquare_times(t0, b, 50);
-- /* 2^100 - 2^0 */ fmul(c, t0, b);
-+ /* 2^100 - 2^0 */ fixedvar(c, t0, b);
- /* 2^200 - 2^100 */ fsquare_times(t0, c, 100);
-- /* 2^200 - 2^0 */ fmul(t0, t0, c);
-+ /* 2^200 - 2^0 */ fixedvar(t0, t0, c);
- /* 2^250 - 2^50 */ fsquare_times(t0, t0, 50);
-- /* 2^250 - 2^0 */ fmul(t0, t0, b);
-+ /* 2^250 - 2^0 */ fixedvar(t0, t0, b);
- /* 2^255 - 2^5 */ fsquare_times(t0, t0, 5);
-- /* 2^255 - 21 */ fmul(out, t0, a);
-+ /* 2^255 - 21 */ fixedvar(out, t0, a);
- }
-
- int curve25519_donna(u8 *, const u8 *, const u8 *);
-@@ -443,7 +443,7 @@
- fexpand(bp, basepoint);
- cmult(x, z, e, bp);
- crecip(zmone, z);
-- fmul(z, x, zmone);
-+ fixedvar(z, x, zmone);
- fcontract(mypublic, z);
- return 0;
- }