-
Notifications
You must be signed in to change notification settings - Fork 0
/
USE.txt
14 lines (12 loc) · 1.01 KB
/
USE.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# reference keccak
gcc -o out main.c KeccakP-1600-reference.c my_keccak.c KeccakP-1600-times4-SIMD256.c my_par_keccak.c -fsanitize=address -march=native && ./out
# cross' keccak
gcc -o out main.c cross/cross_fips202.c cross/cross_keccakf1600.c KeccakP-1600-times4-SIMD256.c my_par_keccak.c -fsanitize=address -march=native && ./out
# -mavx2 -O3 [no-address-sanitizer]
gcc -o out main.c cross/cross_fips202.c cross/cross_keccakf1600.c KeccakP-1600-times4-SIMD256.c my_par_keccak.c -mavx2 -O3 && ./out
# -mavx2 -O3 [with-address-sanitizer]
gcc -o out main.c cross/cross_fips202.c cross/cross_keccakf1600.c KeccakP-1600-times4-SIMD256.c my_par_keccak.c -mavx2 -O3 -fsanitize=address && ./out
# -march=native -O3 [with-address-sanitizer]
gcc -o out main.c cross/cross_fips202.c cross/cross_keccakf1600.c KeccakP-1600-times4-SIMD256.c my_par_keccak.c -march=native -O3 -fsanitize=address && ./out
# pqclean
gcc -o out main.c pqclean/pqclean_fips202.c KeccakP-1600-times4-SIMD256.c my_par_keccak.c -mavx2 -O3 -fsanitize=address && ./out