mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-12-05 21:27:13 -06:00
implement worker_batch_pass
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user