From 19191039f91d55f00ea4bb0725833518c8bee0a7 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 15 Oct 2021 21:38:35 +0200 Subject: [PATCH] Note the change to PSA_ALG_IS_HASH_AND_SIGN in the changelog Signed-off-by: Gilles Peskine --- ChangeLog.d/psa_crypto_api_macros.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog.d/psa_crypto_api_macros.txt b/ChangeLog.d/psa_crypto_api_macros.txt index c695ff5c9..ff53e33c2 100644 --- a/ChangeLog.d/psa_crypto_api_macros.txt +++ b/ChangeLog.d/psa_crypto_api_macros.txt @@ -1,3 +1,11 @@ Features * Add missing PSA macros declared by PSA Crypto API 1.0.0: - PSA_ALG_IS_SIGN_HASH, PSA_ALG_NONE, PSA_HASH_BLOCK_LENGTH, PSA_KEY_ID_NULL + PSA_ALG_IS_SIGN_HASH, PSA_ALG_NONE, PSA_HASH_BLOCK_LENGTH, PSA_KEY_ID_NULL. + +Bugfix + * The existing predicate macro name PSA_ALG_IS_HASH_AND_SIGN is now reserved + for algorithm values that fully encode the hashing step, as per the PSA + Crypto API specification. This excludes PSA_ALG_RSA_PKCS1V15_SIGN_RAW and + PSA_ALG_ECDSA_ANY. The new predicate macro PSA_ALG_IS_SIGN_HASH covers + all algorithms that can be used with psa_{sign,verify}_hash(), including + these two.