From bd1b6d927e22505aa467d850814ff3be7fd1312b Mon Sep 17 00:00:00 2001 From: cathugger Date: Wed, 1 Jun 2022 18:41:40 +0000 Subject: [PATCH] cleanup some remaining dead refs --- ed25519/amd64-51-30k/fe25519.h | 3 --- ed25519/ed25519_impl_post.h | 1 - ed25519/ref10/fe.h | 2 -- 3 files changed, 6 deletions(-) diff --git a/ed25519/amd64-51-30k/fe25519.h b/ed25519/amd64-51-30k/fe25519.h index f037e72..64f9c99 100644 --- a/ed25519/amd64-51-30k/fe25519.h +++ b/ed25519/amd64-51-30k/fe25519.h @@ -17,7 +17,6 @@ #define fe25519_add CRYPTO_NAMESPACE(batch_fe25519_add) #define fe25519_sub CRYPTO_NAMESPACE(batch_fe25519_sub) #define fe25519_mul CRYPTO_NAMESPACE(batch_fe25519_mul) -#define fe25519_mul121666 CRYPTO_NAMESPACE(batch_fe25519_mul121666) #define fe25519_square CRYPTO_NAMESPACE(batch_fe25519_square) #define fe25519_nsquare CRYPTO_NAMESPACE(batch_fe25519_nsquare) #define fe25519_invert CRYPTO_NAMESPACE(batch_fe25519_invert) @@ -56,8 +55,6 @@ void fe25519_sub(fe25519 *r, const fe25519 *x, const fe25519 *y); void fe25519_mul(fe25519 *r, const fe25519 *x, const fe25519 *y) SYSVABI; -void fe25519_mul121666(fe25519 *r, const fe25519 *x); - void fe25519_square(fe25519 *r, const fe25519 *x) SYSVABI; void fe25519_nsquare(fe25519 *r, unsigned long long n) SYSVABI; diff --git a/ed25519/ed25519_impl_post.h b/ed25519/ed25519_impl_post.h index 0f5a3e8..470ad77 100644 --- a/ed25519/ed25519_impl_post.h +++ b/ed25519/ed25519_impl_post.h @@ -54,7 +54,6 @@ #undef ge25519_add_p1p1 #undef ge25519_dbl_p1p1 #undef choose_t -#undef choose_t_smultq #undef ge25519_nielsadd2 #undef ge25519_nielsadd_p1p1 #undef ge25519_pnielsadd_p1p1 diff --git a/ed25519/ref10/fe.h b/ed25519/ref10/fe.h index f4ec2bf..4613170 100644 --- a/ed25519/ref10/fe.h +++ b/ed25519/ref10/fe.h @@ -29,7 +29,6 @@ Bounds on each t[i] vary depending on context. #define fe_mul CRYPTO_NAMESPACE(fe_mul) #define fe_sq CRYPTO_NAMESPACE(fe_sq) #define fe_sq2 CRYPTO_NAMESPACE(fe_sq2) -#define fe_mul121666 CRYPTO_NAMESPACE(fe_mul121666) #define fe_invert CRYPTO_NAMESPACE(fe_invert) #define fe_batchinvert CRYPTO_NAMESPACE(fe_batchinvert) #define fe_pow22523 CRYPTO_NAMESPACE(fe_pow22523) @@ -51,7 +50,6 @@ extern void fe_neg(fe,const fe); extern void fe_mul(fe,const fe,const fe); extern void fe_sq(fe,const fe); extern void fe_sq2(fe,const fe); -extern void fe_mul121666(fe,const fe); extern void fe_invert(fe,const fe); extern void fe_batchinvert(fe *out,fe *in,fe *tmp,size_t num,size_t shift); extern void fe_pow22523(fe,const fe);