forked from mirage/mirage-crypto
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdune
62 lines (54 loc) · 1.88 KB
/
dune
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
(library
(name test_common)
(libraries mirage-crypto ounit2 ohex)
(modules test_common)
(optional))
(test
(name test_symmetric_runner)
(libraries test_common mirage-crypto ounit2)
(package mirage-crypto)
(modules test_base test_cipher test_symmetric_runner))
(test
(name test_random_runner)
(libraries test_common mirage-crypto mirage-crypto-rng mirage-crypto-rng.unix
randomconv ounit2)
(package mirage-crypto-rng)
(modules test_random_runner))
(test
(name test_pk_runner)
(libraries test_common mirage-crypto-pk mirage-crypto-rng.unix randomconv
ounit2)
(package mirage-crypto-pk)
(modules test_numeric test_dh test_dsa test_rsa test_pk_runner))
(test
(name test_entropy_collection)
(modules test_entropy_collection)
(package mirage-crypto-rng-mirage)
(libraries mirage-crypto-rng-mirage mirage-unix duration ohex))
(test
(name test_entropy)
(modules test_entropy)
(package mirage-crypto-rng)
(libraries mirage-crypto-rng ohex)
(enabled_if (and (<> %{architecture} "arm64") (<> %{architecture} "riscv64"))))
; see https://github.com/mirage/mirage-crypto/issues/216
(test
(name test_ec)
(modules test_ec)
(libraries test_common alcotest mirage-crypto-ec mirage-crypto-rng.unix)
(package mirage-crypto-ec))
(test
(name test_ec_wycheproof)
(modules test_ec_wycheproof)
(deps ecdh_secp256r1_test.json ecdsa_secp256r1_sha256_test.json
ecdsa_secp256r1_sha512_test.json ecdh_secp384r1_test.json
ecdsa_secp384r1_sha384_test.json ecdsa_secp384r1_sha512_test.json
ecdh_secp521r1_test.json ecdsa_secp521r1_sha512_test.json
x25519_test.json eddsa_test.json)
(libraries alcotest mirage-crypto-ec wycheproof digestif asn1-combinators)
(package mirage-crypto-ec))
(tests
(names test_miou_rng test_miou_entropy_collection)
(modules test_miou_rng test_miou_entropy_collection)
(libraries mirage-crypto-rng-miou-unix duration ohex)
(package mirage-crypto-rng-miou-unix))