forked from UNOMP/node-multi-hashing
-
Notifications
You must be signed in to change notification settings - Fork 3
/
binding.gyp
84 lines (83 loc) · 2.55 KB
/
binding.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"targets": [
{
"target_name": "multihashing",
"sources": [
"multihashing.cc",
"scryptn.c",
"yescrypt/sha256_Y.c",
"yescrypt/yescrypt-best.c",
"yescrypt/yescryptcommon.c",
"keccak.c",
"skein.c",
"x11.c",
"quark.c",
"bcrypt.c",
"groestl.c",
"blake.c",
"fugue.c",
"qubit.c",
"hefty1.c",
"shavite3.c",
"cryptonight.c",
"x13.c",
"x14.c",
"boolberry.cc",
"nist5.c",
"sha1.c",
"x15.c",
"fresh.c",
"s3.c",
"neoscrypt.c",
"dcrypt.c",
"jh.c",
"c11.c",
"x16r.c",
"x17.c",
"sha3/sph_hefty1.c",
"sha3/sph_fugue.c",
"sha3/aes_helper.c",
"sha3/sph_blake.c",
"sha3/sph_bmw.c",
"sha3/sph_cubehash.c",
"sha3/sph_echo.c",
"sha3/sph_groestl.c",
"sha3/sph_jh.c",
"sha3/sph_keccak.c",
"sha3/sph_luffa.c",
"sha3/sph_shavite.c",
"sha3/sph_simd.c",
"sha3/sph_skein.c",
"sha3/sph_whirlpool.c",
"sha3/sph_shabal.c",
"sha3/sph_sha2.c",
"sha3/sph_sha2big.c",
"sha3/hamsi.c",
"crypto/oaes_lib.c",
"crypto/c_keccak.c",
"crypto/c_groestl.c",
"crypto/c_blake256.c",
"crypto/c_jh.c",
"crypto/c_skein.c",
"crypto/hash.c",
"crypto/aesb.c",
"crypto/wild_keccak.cpp"
],
"include_dirs": [
"crypto",
],
"cflags": [
"-D_GNU_SOURCE -maes -fPIC -Ofast -flto -fuse-linker-plugin -funroll-loops -funswitch-loops -fpeel-loops"
],
"cflags!": [
"-O2", "-fno-strict-aliasing", "-fno-tree-vrp", "-fno-omit-frame-pointer"
],
"ldflags": [
"-fPIC -Ofast -flto -fuse-linker-plugin"
],
"cflags_cc": [
"-std=c++0x -maes -march=native"
]
}
]
}