mirror of
https://github.com/cathugger/mkp224o.git
synced 2026-01-26 19:22:09 -06:00
fix ed25519-donna makedepends
This commit is contained in:
@@ -11,6 +11,7 @@ void *worker_batch(void *task)
|
||||
ge_p3 ge_public;
|
||||
char *sname;
|
||||
|
||||
// state to keep batch data
|
||||
ge_p3 ge_batch[BATCHNUM];
|
||||
fe *(batchgez)[BATCHNUM];
|
||||
fe tmp_batch[BATCHNUM];
|
||||
@@ -23,6 +24,7 @@ void *worker_batch(void *task)
|
||||
struct statstruct *st = (struct statstruct *)task;
|
||||
#endif
|
||||
|
||||
// set up right pointers
|
||||
for (size_t b = 0;b < BATCHNUM;++b)
|
||||
batchgez[b] = &GEZ(ge_batch[b]);
|
||||
|
||||
@@ -53,12 +55,13 @@ initseed:
|
||||
if (unlikely(endwork))
|
||||
goto end;
|
||||
|
||||
|
||||
for (size_t b = 0;b < BATCHNUM;++b) {
|
||||
ge_batch[b] = ge_public;
|
||||
ge_add(&sum,&ge_public,&ge_eightpoint);
|
||||
ge_p1p1_to_p3(&ge_public,&sum);
|
||||
}
|
||||
// NOTE: leaves unfinished
|
||||
// NOTE: leaves unfinished one bit at the very end
|
||||
ge_p3_batchtobytes_destructive_1(pk_batch,ge_batch,batchgez,tmp_batch,BATCHNUM);
|
||||
|
||||
#ifdef STATISTICS
|
||||
|
||||
Reference in New Issue
Block a user