Skip to content

Commit

Permalink
[cryptotest] Re-enable most KAT cryptotests in nightly CI
Browse files Browse the repository at this point in the history
With the speedup from the SPI console, most tests now run in under 3
minutes and can be added to nightly CI.

Signed-off-by: Miles Dai <milesdai@opentitan.org>
  • Loading branch information
milesdai committed Dec 9, 2024
1 parent e50afe7 commit f7d99a1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions sw/device/tests/crypto/cryptotest/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ ECDSA_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "ecdsa_kat",
skip_in_nightly_ci = True,
test_args = ECDSA_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/ecdsa_kat:harness",
test_vectors = ECDSA_TESTVECTOR_TARGETS,
Expand Down Expand Up @@ -114,7 +113,6 @@ SHA256_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "sha256_kat",
skip_in_nightly_ci = True,
test_args = SHA256_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/hash_kat:harness",
test_vectors = SHA256_TESTVECTOR_TARGETS,
Expand All @@ -137,7 +135,6 @@ SHA384_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "sha384_kat",
skip_in_nightly_ci = True,
test_args = SHA384_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/hash_kat:harness",
test_vectors = SHA384_TESTVECTOR_TARGETS,
Expand All @@ -160,7 +157,6 @@ SHA512_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "sha512_kat",
skip_in_nightly_ci = True,
test_args = SHA512_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/hash_kat:harness",
test_vectors = SHA512_TESTVECTOR_TARGETS,
Expand Down Expand Up @@ -205,7 +201,6 @@ SHA3_256_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "sha3_256_kat",
skip_in_nightly_ci = True,
test_args = SHA3_256_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/hash_kat:harness",
test_vectors = SHA3_256_TESTVECTOR_TARGETS,
Expand All @@ -228,7 +223,6 @@ SHA3_384_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "sha3_384_kat",
skip_in_nightly_ci = True,
test_args = SHA3_384_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/hash_kat:harness",
test_vectors = SHA3_384_TESTVECTOR_TARGETS,
Expand All @@ -251,7 +245,6 @@ SHA3_512_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "sha3_512_kat",
skip_in_nightly_ci = True,
test_args = SHA3_512_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/hash_kat:harness",
test_vectors = SHA3_512_TESTVECTOR_TARGETS,
Expand Down Expand Up @@ -333,7 +326,6 @@ DRBG_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "drbg_kat",
skip_in_nightly_ci = True,
test_args = DRBG_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/drbg_kat:harness",
test_vectors = DRBG_TESTVECTOR_TARGETS,
Expand All @@ -351,7 +343,6 @@ HMAC_SHA256_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "hmac_sha256_kat",
skip_in_nightly_ci = True,
test_args = HMAC_SHA256_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/hmac_kat:harness",
test_vectors = HMAC_SHA256_TESTVECTOR_TARGETS,
Expand All @@ -369,7 +360,6 @@ HMAC_SHA384_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "hmac_sha384_kat",
skip_in_nightly_ci = True,
test_args = HMAC_SHA384_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/hmac_kat:harness",
test_vectors = HMAC_SHA384_TESTVECTOR_TARGETS,
Expand All @@ -387,7 +377,6 @@ HMAC_SHA512_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "hmac_sha512_kat",
skip_in_nightly_ci = True,
test_args = HMAC_SHA512_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/hmac_kat:harness",
test_vectors = HMAC_SHA512_TESTVECTOR_TARGETS,
Expand Down Expand Up @@ -427,7 +416,6 @@ SPHINCSPLUS_TESTVECTOR_ARGS = " ".join([

cryptotest(
name = "sphincsplus_kat",
skip_in_nightly_ci = True,
test_args = SPHINCSPLUS_TESTVECTOR_ARGS,
test_harness = "//sw/host/tests/crypto/sphincsplus_kat:harness",
test_vectors = SPHINCSPLUS_TESTVECTOR_TARGETS,
Expand Down

0 comments on commit f7d99a1

Please sign in to comment.