mirror of
https://github.com/logos-storage/zk-benchmarks.git
synced 2026-01-05 07:13:08 +00:00
minor fixes
This commit is contained in:
parent
fa4f5313df
commit
c4479eae7a
@ -4,7 +4,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void generate(megabytes) {
|
||||
void generate(int megabytes) {
|
||||
|
||||
unsigned char buffer[257];
|
||||
for(int i=0;i<256;i++) { buffer[i] = 1+(i%255); }
|
||||
|
||||
@ -6,6 +6,7 @@ ZIK_PATH="../../../external/zikkurat-algebra/"
|
||||
mkdir -p build
|
||||
|
||||
gcc -O3 \
|
||||
-I ${ZIK_PATH}/lib/cbits/ \
|
||||
-I ${ZIK_PATH}/lib/cbits/bigint/ \
|
||||
-I ${ZIK_PATH}/lib/cbits/curves/fields/std/ \
|
||||
-I ${ZIK_PATH}/lib/cbits/curves/fields/mont/ \
|
||||
|
||||
@ -6,6 +6,7 @@ Poseidon2 arithmetic hash function, specialized to the BN128 scalar field and t=
|
||||
compile with:
|
||||
|
||||
gcc -O3 \
|
||||
-I ../lib/cbits/ \
|
||||
-I ../lib/cbits/bigint/ \
|
||||
-I ../lib/cbits/curves/fields/std/ \
|
||||
-I ../lib/cbits/curves/fields/mont/ \
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void generate(megabytes) {
|
||||
void generate(int megabytes) {
|
||||
|
||||
unsigned char buffer[257];
|
||||
for(int i=0;i<256;i++) { buffer[i] = 1+(i%255); }
|
||||
|
||||
2
hash/cpu/external/zikkurat-algebra
vendored
2
hash/cpu/external/zikkurat-algebra
vendored
@ -1 +1 @@
|
||||
Subproject commit e2b0fde371dad9a8be2085ca809d08e11bf4eba9
|
||||
Subproject commit 96e349786bd004e64a9cf50e0122f89863b24e92
|
||||
Loading…
x
Reference in New Issue
Block a user