|
4 | 4 | "target_name": "bitcoinpqc", |
5 | 5 | "sources": [ |
6 | 6 | "src/native/bitcoinpqc_addon.cc", |
7 | | - "../src/bitcoinpqc.c", |
8 | | - "../src/ml_dsa/keygen.c", |
9 | | - "../src/ml_dsa/sign.c", |
10 | | - "../src/ml_dsa/verify.c", |
11 | | - "../src/ml_dsa/utils.c", |
12 | | - "../src/slh_dsa/keygen.c", |
13 | | - "../src/slh_dsa/sign.c", |
14 | | - "../src/slh_dsa/verify.c", |
15 | | - "../src/slh_dsa/utils.c", |
16 | | - "../src/fn_dsa/keygen.c", |
17 | | - "../src/fn_dsa/sign.c", |
18 | | - "../src/fn_dsa/verify.c", |
19 | | - "../src/fn_dsa/utils.c", |
20 | | - "../dilithium/ref/sign.c", |
21 | | - "../dilithium/ref/packing.c", |
22 | | - "../dilithium/ref/polyvec.c", |
23 | | - "../dilithium/ref/poly.c", |
24 | | - "../dilithium/ref/ntt.c", |
25 | | - "../dilithium/ref/reduce.c", |
26 | | - "../dilithium/ref/rounding.c", |
27 | | - "../dilithium/ref/fips202.c", |
28 | | - "../dilithium/ref/symmetric-shake.c", |
29 | | - "../dilithium/ref/randombytes_custom.c", |
30 | | - "../sphincsplus/ref/address.c", |
31 | | - "../sphincsplus/ref/fors.c", |
32 | | - "../sphincsplus/ref/hash_shake.c", |
33 | | - "../sphincsplus/ref/merkle.c", |
34 | | - "../sphincsplus/ref/sign.c", |
35 | | - "../sphincsplus/ref/thash_shake_simple.c", |
36 | | - "../sphincsplus/ref/utils.c", |
37 | | - "../sphincsplus/ref/utilsx1.c", |
38 | | - "../sphincsplus/ref/wots.c", |
39 | | - "../sphincsplus/ref/wotsx1.c", |
40 | | - "../sphincsplus/ref/fips202.c", |
41 | | - "../falcon/codec.c", |
42 | | - "../falcon/common.c", |
43 | | - "../falcon/falcon.c", |
44 | | - "../falcon/fft.c", |
45 | | - "../falcon/fpr.c", |
46 | | - "../falcon/keygen.c", |
47 | | - "../falcon/shake.c", |
48 | | - "../falcon/sign.c", |
49 | | - "../falcon/vrfy.c", |
50 | | - "../falcon/rng.c" |
| 7 | + "src/c_sources/bitcoinpqc.c", |
| 8 | + "src/c_sources/ml_dsa/keygen.c", |
| 9 | + "src/c_sources/ml_dsa/sign.c", |
| 10 | + "src/c_sources/ml_dsa/verify.c", |
| 11 | + "src/c_sources/ml_dsa/utils.c", |
| 12 | + "src/c_sources/slh_dsa/keygen.c", |
| 13 | + "src/c_sources/slh_dsa/sign.c", |
| 14 | + "src/c_sources/slh_dsa/verify.c", |
| 15 | + "src/c_sources/slh_dsa/utils.c", |
| 16 | + "src/c_sources/dilithium_ref/sign.c", |
| 17 | + "src/c_sources/dilithium_ref/packing.c", |
| 18 | + "src/c_sources/dilithium_ref/polyvec.c", |
| 19 | + "src/c_sources/dilithium_ref/poly.c", |
| 20 | + "src/c_sources/dilithium_ref/ntt.c", |
| 21 | + "src/c_sources/dilithium_ref/reduce.c", |
| 22 | + "src/c_sources/dilithium_ref/rounding.c", |
| 23 | + "src/c_sources/dilithium_ref/fips202.c", |
| 24 | + "src/c_sources/dilithium_ref/symmetric-shake.c", |
| 25 | + "src/c_sources/dilithium_ref/randombytes_custom.c", |
| 26 | + "src/c_sources/sphincsplus_ref/address.c", |
| 27 | + "src/c_sources/sphincsplus_ref/fors.c", |
| 28 | + "src/c_sources/sphincsplus_ref/hash_shake.c", |
| 29 | + "src/c_sources/sphincsplus_ref/merkle.c", |
| 30 | + "src/c_sources/sphincsplus_ref/sign.c", |
| 31 | + "src/c_sources/sphincsplus_ref/thash_shake_simple.c", |
| 32 | + "src/c_sources/sphincsplus_ref/utils.c", |
| 33 | + "src/c_sources/sphincsplus_ref/utilsx1.c", |
| 34 | + "src/c_sources/sphincsplus_ref/wots.c", |
| 35 | + "src/c_sources/sphincsplus_ref/wotsx1.c", |
| 36 | + "src/c_sources/sphincsplus_ref/fips202.c" |
51 | 37 | ], |
52 | 38 | "include_dirs": [ |
53 | 39 | "<!@(node -p \"require('node-addon-api').include\")", |
54 | | - "../include", |
55 | | - "../dilithium/ref", |
56 | | - "../sphincsplus/ref", |
57 | | - "../falcon" |
| 40 | + "src/c_sources/include", |
| 41 | + "src/c_sources/dilithium_ref", |
| 42 | + "src/c_sources/sphincsplus_ref" |
58 | 43 | ], |
59 | 44 | "dependencies": [ |
60 | 45 | "<!(node -p \"require('node-addon-api').gyp\")" |
|
67 | 52 | "DILITHIUM_MODE=2", |
68 | 53 | "CRYPTO_ALGNAME=\"SPHINCS+-shake-128s\"", |
69 | 54 | "PARAMS=sphincs-shake-128s", |
70 | | - "FALCON_LOGN_512=9", |
71 | 55 | "CUSTOM_RANDOMBYTES=1" |
72 | 56 | ], |
73 | 57 | "conditions": [ |
|
88 | 72 | "-Wno-implicit-function-declaration" |
89 | 73 | ] |
90 | 74 | }, |
91 | | - "defines": [ |
92 | | - "FALCON_FPEMU=1" |
93 | | - ] |
94 | 75 | }] |
95 | 76 | ] |
96 | 77 | } |
|
0 commit comments