From da7305e472d50c760ca9420287519f0bb3b621c6 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 3 Mar 2021 17:01:23 +0100 Subject: [PATCH] Avoid collision with SM3 in API specification 1.0.1 Signed-off-by: Gilles Peskine --- include/psa/crypto_values.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/psa/crypto_values.h b/include/psa/crypto_values.h index cf6cadc203..ecccbdc6da 100644 --- a/include/psa/crypto_values.h +++ b/include/psa/crypto_values.h @@ -809,7 +809,7 @@ * scenarios where a hash function based on SHA3/SHAKE is desired, SHA3-512 * has the same output size and a (theoretically) higher security strength. */ -#define PSA_ALG_SHAKE256_64 ((psa_algorithm_t)0x02000014) +#define PSA_ALG_SHAKE256_64 ((psa_algorithm_t)0x02000015) /** In a hash-and-sign algorithm policy, allow any hash algorithm. *