disable setting stack size, port batch pack to amd64-51-30k, set default batch num 2048

This commit is contained in:
cathugger
2019-01-20 02:15:58 +02:00
parent 9972a833a8
commit 417b7615f8
5 changed files with 65 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
#ifndef FE25519_H
#define FE25519_H
#include <stddef.h>
#define fe25519 crypto_sign_ed25519_amd64_51_30k_batch_fe25519
#define fe25519_freeze crypto_sign_ed25519_amd64_51_30k_batch_fe25519_freeze
#define fe25519_unpack crypto_sign_ed25519_amd64_51_30k_batch_fe25519_unpack
@@ -60,6 +62,8 @@ void fe25519_nsquare(fe25519 *r, unsigned long long n);
void fe25519_invert(fe25519 *r, const fe25519 *x);
void fe25519_batchinvert(fe25519 *out[],fe25519 tmp[],fe25519 * const in[], size_t num);
void fe25519_pow2523(fe25519 *r, const fe25519 *x);
#endif