mirror of
https://github.com/cathugger/mkp224o.git
synced 2026-01-26 11:12:09 -06:00
dont do indirection in for batch stuff
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
#define ed25519_keygen ed25519_ref10_keygen
|
||||
#include "ref10/ge.h"
|
||||
|
||||
#define GEZ(x) ((x).Z)
|
||||
|
||||
/* The basepoint multiplied by 8. */
|
||||
static const ge_cached ge_eightpoint = {
|
||||
/* YplusX */
|
||||
@@ -80,8 +78,6 @@ inline static void ge_initeightpoint(void) {}
|
||||
|
||||
#define ge_p3_batchtobytes_destructive_1 ge25519_batchpack_destructive_1
|
||||
#define ge_p3_batchtobytes_destructive_finish ge25519_batchpack_destructive_finish
|
||||
|
||||
#define GEZ(x) ((x).z)
|
||||
#endif
|
||||
|
||||
|
||||
@@ -190,8 +186,6 @@ static int ed25519_keypair(unsigned char *pk,unsigned char *sk)
|
||||
#define ge_p3_batchtobytes_destructive_1 ge25519_batchpack_destructive_1
|
||||
#define ge_p3_batchtobytes_destructive_finish ge25519_batchpack_destructive_finish
|
||||
|
||||
#define GEZ(x) ((x).z)
|
||||
|
||||
DONNA_INLINE static void ge_add(ge25519_p1p1 *r,const ge25519 *p,const ge25519_pniels *q)
|
||||
{
|
||||
ge25519_pnielsadd_p1p1(r,p,q,0);
|
||||
|
||||
Reference in New Issue
Block a user