Skip to content

Commit c0bcca9

Browse files
andrea-caforioandreaskurth
authored andcommitted
[kat/rsa] Remove empty-salt tests from RSA-PSS
Although technically allowed, having a zero-sized salt in RSA-PSS is strongly discouraged and the cryptolib does not support it. Note that a zero-sized salt input renders RSA-PSS deterministic. Signed-off-by: Andrea Caforio <[email protected]>
1 parent dc99e83 commit c0bcca9

File tree

2 files changed

+0
-2
lines changed
  • sw
    • device/tests/crypto/cryptotest
    • host/cryptotest/testvectors/data

2 files changed

+0
-2
lines changed

sw/device/tests/crypto/cryptotest/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ RSA_TESTVECTOR_TARGETS = [
147147
] + [
148148
"//sw/host/cryptotest/testvectors/data:wycheproof_rsa_pss_2048_{}.json".format(hash)
149149
for hash in [
150-
"sha256_mgf1_0",
151150
"sha256_mgf1_32",
152151
"sha384_mgf1_48",
153152
]

sw/host/cryptotest/testvectors/data/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,6 @@ WYCHEPROOF_RSA_PKCS1_15_SUFFIXES = {
649649

650650
WYCHEPROOF_RSA_PSS_SUFFIXES = {
651651
2048: [
652-
"sha256_mgf1_0",
653652
"sha256_mgf1_32",
654653
"sha384_mgf1_48",
655654
],

0 commit comments

Comments
 (0)