-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathluazen-0.16-1.rockspec
61 lines (60 loc) · 1.43 KB
/
luazen-0.16-1.rockspec
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
package = "luazen"
version = "0.16-1"
source = {
url = "git://github.com/philanc/luazen",
branch = "v0.16",
}
description = {
summary = "Simple compression, encoding and cryptographic functions.",
detailed = [[A small library with various encoding functions (base58, base64), compression functions (LZMA, BriefLZ, LZF), authenticated encryption (Morus, XChacha20/Poly1305, Ascon, Norx), cryptographic hash (Blake2b, SHA-512), key derivation function (Argon2i), curve25519 and ed25519 public key functions, and legacy cryptographic functions (MD5, RC4).
]],
homepage = "https://github.com/philanc/luazen",
license = "MIT",
}
supported_platforms = {
"unix",
}
dependencies = {
"lua >= 5.3"
}
build = {
type = "builtin",
modules = {
luazen = {
sources = {
"src/ascon.c",
"src/base58.c",
"src/base64.c",
"src/blake2b.c",
"src/blz.c",
"src/chacha.c",
"src/luazen.c",
"src/lzf.c",
"src/lzma/Alloc.c",
"src/lzma/LzFind.c",
"src/lzma/LzmaDec.c",
"src/lzma/LzmaEnc.c",
"src/lzma/LzmaLib.c",
"src/lzma.c",
"src/md5.c",
"src/morus.c",
"src/norx.c",
"src/random.c",
"src/rc4.c",
"src/sha2.c",
"src/x25519.c",
"src/xor.c",
},
incdir = {
"src", "src/lzma"
},
defines = {
"_7ZIP_ST",
"BASE64", "LZMA", "MD5", "BLAKE", "X25519", "MORUS",
"CHACHA", "BASE58", "BLZ", "LZF", "NORX", "ASCON",
"RC4"
}
},
},
copy_directories = { "test" },
}