implement worker_batch_pass

This commit is contained in:
cathugger 2019-11-15 04:58:21 +00:00
parent 6f7e220b60
commit 9bc52c5fb7
No known key found for this signature in database
GPG key ID: 9BADDA2DAF6F01A8
8 changed files with 157 additions and 8 deletions

View file

@ -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"