mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-05-05 04:40:35 +00:00
implement worker_batch_pass
This commit is contained in:
parent
6f7e220b60
commit
9bc52c5fb7
8 changed files with 157 additions and 8 deletions
13
worker.c
13
worker.c
|
@ -210,8 +210,17 @@ static void reseedright(u8 sk[SECRET_LEN])
|
|||
#include "worker_fast_pass.inc.h"
|
||||
|
||||
|
||||
#ifndef BATCHNUM
|
||||
#define BATCHNUM 2048
|
||||
#if !defined(BATCHNUM)
|
||||
#define BATCHNUM 2048
|
||||
#else
|
||||
#if BATCHNUM & (BATCHNUM - 1)
|
||||
#error "BATCHNUM must be power of 2"
|
||||
#endif
|
||||
#if (BATCHNUM * 8) > DETERMINISTIC_LOOP_COUNT
|
||||
#error "BATCHNUM is too large"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "worker_batch.inc.h"
|
||||
|
||||
#include "worker_batch_pass.inc.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue