xref: /illumos-gate/usr/src/test/crypto-tests/runfiles/default.run (revision 78801af7286cd73dbc996d470f789e75993cf15d)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright (c) 2012 by Delphix. All rights reserved.
14# Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
15# Copyright 2019 Joyent, Inc.
16#
17
18[DEFAULT]
19pre =
20verbose = False
21quiet = False
22#
23# Unfortunately, if the tpm based PKCS11 library is present, libtspi will make
24# socket calls left and right that take a bit to timeout which induce latency
25# into every test case. Bump the timeout until this is no longer a problem.
26#
27timeout = 250
28post =
29outputdir = /var/tmp/test_results
30
31[/opt/crypto-tests/tests/aes/pkcs]
32tests = ['aes_cbc_32', 'aes_ccm_32', 'aes_cmac_32',
33         'aes_ctr_32', 'aes_ecb_32', 'aes_gcm_32',
34         'aes_cbc_64', 'aes_ccm_64', 'aes_cmac_64',
35         'aes_ctr_64', 'aes_ecb_64', 'aes_gcm_64']
36
37[/opt/crypto-tests/tests/aes/kcf]
38pre = setup
39user = root
40tests = ['aes_cbc_32', 'aes_ccm_32', 'aes_cmac_32',
41         'aes_ctr_32', 'aes_ecb_32', 'aes_gcm_32',
42         'aes_cbc_64', 'aes_ccm_64', 'aes_cmac_64',
43         'aes_ctr_64', 'aes_ecb_64', 'aes_gcm_64']
44post = cleanup
45
46[/opt/crypto-tests/tests/digest/pkcs]
47tests = ['sha1_32', 'sha256_32', 'sha384_32', 'sha512_32', 'sha512_224_32',
48         'sha512_256_32', 'md5_32',
49         'sha1_64', 'sha256_64', 'sha384_64', 'sha512_64', 'sha512_224_64',
50         'sha512_256_64', 'md5_64' ]
51
52[/opt/crypto-tests/tests/digest/kcf]
53pre = setup
54user = root
55tests = ['sha1_32', 'sha256_32', 'sha384_32', 'sha512_32', 'sha512_224_32',
56         'sha512_256_32', 'md5_32',
57         'sha1_64', 'sha256_64', 'sha384_64', 'sha512_64', 'sha512_224_64',
58         'sha512_256_64', 'md5_64' ]
59post = cleanup
60
61[/opt/crypto-tests/tests/hmac/pkcs]
62tests = ['hmac_sha1_32', 'hmac_sha1_64']
63
64[/opt/crypto-tests/tests/hmac/kcf]
65pre = setup
66user = root
67tests = ['hmac_sha1_32', 'hmac_sha1_64']
68post = cleanup
69