set thread size

This commit is contained in:
cathugger 2020-11-22 13:13:50 +00:00
parent 51d87c3857
commit af5a7cfe12
No known key found for this signature in database
GPG key ID: 9BADDA2DAF6F01A8
8 changed files with 59 additions and 39 deletions

View file

@ -8,7 +8,7 @@ void *worker_fast(void *task)
u8 seed[SEED_LEN];
u8 hashsrc[checksumstrlen + PUBLIC_LEN + 1];
u8 wpk[PUBLIC_LEN + 1];
ge_p3 ge_public;
ge_p3 ALIGN(16) ge_public;
char *sname;
size_t counter;
@ -45,7 +45,7 @@ initseed:
ge_p3_tobytes(pk,&ge_public);
for (counter = 0;counter < SIZE_MAX-8;counter += 8) {
ge_p1p1 sum;
ge_p1p1 ALIGN(16) sum;
if (unlikely(endwork))
goto end;