mbedtls/scripts/mbedtls_dev
Gilles Peskine 35115f9c1a New algorithm PSA_ALG_RSA_PSS_ANY_SALT
This is a variant of PSA_ALG_RSA_PSS which currently has exactly the same
behavior, but is intended to have a different behavior when verifying
signatures.

In a subsequent commit, PSA_ALG_RSA_PSS will change to requiring the salt
length to be what it would produce when signing, as is currently documented,
whereas PSA_ALG_RSA_PSS_ANY_SALT will retain the current behavior of
allowing any salt length (including 0).

Changes in this commit:

* New algorithm constructor PSA_ALG_RSA_PSS_ANY_SALT.
* New predicates PSA_ALG_IS_RSA_PSS_STANDARD_SALT (corresponding to
  PSA_ALG_RSA_PSS) and PSA_ALG_IS_RSA_PSS_ANY_SALT (corresponding to
  PSA_ALG_RSA_PSS_ANY_SALT).
* Support for the new predicates in macro_collector.py (needed for
  generate_psa_constant_names).

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-10-28 10:06:38 +02:00
..
asymmetric_key_data.py Add key material for twisted Edwards curves 2021-03-29 15:08:10 +02:00
c_build_helper.py Minor documentation fixes 2021-01-19 21:23:11 +01:00
crypto_knowledge.py Use regexp pattern instaed of string 2021-06-29 11:19:41 +02:00
macro_collector.py New algorithm PSA_ALG_RSA_PSS_ANY_SALT 2021-10-28 10:06:38 +02:00
psa_storage.py Refactor handlibg of the key usage flags 2021-06-29 15:29:24 +02:00
test_case.py Do not require typing_extensions at runtime 2021-02-17 14:58:29 +01:00
typing_util.py Do not require typing_extensions at runtime 2021-02-17 14:58:29 +01:00