xref: /illumos-gate/usr/src/test/crypto-tests/runfiles/default.run (revision fcdb3229a31dd4ff700c69238814e326aad49098)
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# Copyright 2025 RackTop Systems, Inc.
17#
18
19[DEFAULT]
20pre =
21verbose = False
22quiet = False
23#
24# Unfortunately, if the tpm based PKCS11 library is present, libtspi will make
25# socket calls left and right that take a bit to timeout which induce latency
26# into every test case. Bump the timeout until this is no longer a problem.
27#
28timeout = 250
29post =
30outputdir = /var/tmp/test_results
31
32[/opt/crypto-tests/tests/aes/pkcs]
33tests = ['aes_cbc_32', 'aes_ccm_32', 'aes_cmac_32',
34         'aes_ctr_32', 'aes_ecb_32', 'aes_gcm_32',
35         'aes_cbc_64', 'aes_ccm_64', 'aes_cmac_64',
36         'aes_ctr_64', 'aes_ecb_64', 'aes_gcm_64']
37
38[/opt/crypto-tests/tests/aes/kcf]
39pre = setup
40pre_user = root
41user = root
42tests = ['aes_cbc_32', 'aes_ccm_32', 'aes_cmac_32',
43         'aes_ctr_32', 'aes_ecb_32', 'aes_gcm_32',
44         'aes_cbc_64', 'aes_ccm_64', 'aes_cmac_64',
45         'aes_ctr_64', 'aes_ecb_64', 'aes_gcm_64']
46post = cleanup
47post_user = root
48
49[/opt/crypto-tests/tests/digest/pkcs]
50tests = ['sha1_32', 'sha256_32', 'sha384_32', 'sha512_32', 'sha512_224_32',
51         'sha512_256_32', 'md5_32',
52         'sha1_64', 'sha256_64', 'sha384_64', 'sha512_64', 'sha512_224_64',
53         'sha512_256_64', 'md5_64' ]
54
55[/opt/crypto-tests/tests/digest/kcf]
56pre = setup
57pre_user = root
58user = root
59tests = ['sha1_32', 'sha256_32', 'sha384_32', 'sha512_32', 'sha512_224_32',
60         'sha512_256_32', 'md5_32',
61         'sha1_64', 'sha256_64', 'sha384_64', 'sha512_64', 'sha512_224_64',
62         'sha512_256_64', 'md5_64' ]
63post = cleanup
64post_user = root
65
66[/opt/crypto-tests/tests/hmac/pkcs]
67tests = ['hmac_sha1_32', 'hmac_sha1_64']
68
69[/opt/crypto-tests/tests/hmac/kcf]
70pre = setup
71pre_user = root
72user = root
73tests = ['hmac_sha1_32', 'hmac_sha1_64']
74post = cleanup
75post_user = root
76
77[/opt/crypto-tests/tests/longhash]
78tests = ['longhash_32', 'longhash_64']
79