xref: /illumos-gate/usr/src/test/crypto-tests/runfiles/default.run (revision a94efd7875d6cf7ca97bb9188beaed3bf1282a49)
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 2023-2026 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_gmac_32', 'aes_gmac_enc_32',
36         'aes_cbc_pad_32',
37         'aes_cbc_64', 'aes_ccm_64', 'aes_cmac_64',
38         'aes_ctr_64', 'aes_ecb_64', 'aes_gcm_64',
39         'aes_gmac_64', 'aes_gmac_enc_64',
40         'aes_cbc_pad_64']
41
42[/opt/crypto-tests/tests/aes/kcf]
43pre = setup
44pre_user = root
45user = root
46tests = ['aes_cbc_32', 'aes_ccm_32', 'aes_cmac_32',
47         'aes_ctr_32', 'aes_ecb_32', 'aes_gcm_32',
48         'aes_gmac_32', 'aes_gmac_enc_32',
49         'aes_cbc_64', 'aes_ccm_64', 'aes_cmac_64',
50         'aes_ctr_64', 'aes_ecb_64', 'aes_gcm_64',
51         'aes_gmac_64', 'aes_gmac_enc_64']
52post = cleanup
53post_user = root
54
55[/opt/crypto-tests/tests/digest/pkcs]
56tests = ['sha1_32', 'sha256_32', 'sha384_32', 'sha512_32', 'sha512_224_32',
57         'sha512_256_32', 'md5_32',
58         'sha1_64', 'sha256_64', 'sha384_64', 'sha512_64', 'sha512_224_64',
59         'sha512_256_64', 'md5_64' ]
60
61[/opt/crypto-tests/tests/digest/kcf]
62pre = setup
63pre_user = root
64user = root
65tests = ['sha1_32', 'sha256_32', 'sha384_32', 'sha512_32', 'sha512_224_32',
66         'sha512_256_32', 'md5_32',
67         'sha1_64', 'sha256_64', 'sha384_64', 'sha512_64', 'sha512_224_64',
68         'sha512_256_64', 'md5_64' ]
69post = cleanup
70post_user = root
71
72[/opt/crypto-tests/tests/hmac/pkcs]
73tests = ['hmac_sha1_32', 'hmac_sha1_64', 'hmac_sha1_gen_32', 'hmac_sha1_gen_64',
74	'hmac_sha2_32', 'hmac_sha2_64', 'hmac_sha2_gen_32', 'hmac_sha2_gen_64']
75
76[/opt/crypto-tests/tests/hmac/kcf]
77pre = setup
78pre_user = root
79user = root
80tests = ['hmac_sha1_32', 'hmac_sha1_64', 'hmac_sha1_gen_32', 'hmac_sha1_gen_64',
81	'hmac_sha2_32', 'hmac_sha2_64', 'hmac_sha2_gen_32', 'hmac_sha2_gen_64']
82post = cleanup
83post_user = root
84
85[/opt/crypto-tests/tests/longhash]
86tests = ['longhash_32', 'longhash_64']
87