crypto¶
Verify crypto algorithms
What It Tests¶
crypto: Verify that every crypto algorithms pass their selftests
cryptsetup: benchmark tests for crypto algorithms
Preconditions¶
For
ostree enabled
image, it shall be unlocked viaostree admin unlock --hotfix
Test Parameters¶
No parameters required for crypto.sh
Parameters for cryptsetup.sh
Parameter |
Default |
Description |
---|---|---|
|
|
Skip package installation |
|
|
hash algorithm |
|
|
cipher algorithm |
Test Steps¶
crypto
cd ./automated/linux/crypto/
./crypto.sh
cryptsetup
cd ./automated/linux/crypto/
./cryptsetup.sh -s "${SKIP_INSTALL}" -h "${HASH}" -c "${CIPHER}"
Refer to crypto.yaml
or cryptsetup.yaml
for complete test definition and execution details.
Expected Results¶
Each crypto algorithm pass its selftest
the benchmark data of the specified algorithm is generated