From 304766e11ef35d17c549b9df9e46617ce12c5291 Mon Sep 17 00:00:00 2001 From: Janos Follath Date: Wed, 26 May 2021 09:48:08 +0100 Subject: [PATCH] PSA PAKE: make algorithm macro name consistent The API has PSA_ALG_GCM and not PSA_ALG_AEAD_GCM, PSA_ALG_MD5 and not PSA_ALG_HASH_MD5, etc., so PSA_ALG_PAKE_JPAKE should be PSA_ALG_JPAKE as well. Signed-off-by: Janos Follath --- include/psa/crypto_values.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/psa/crypto_values.h b/include/psa/crypto_values.h index ab9bb5b8bd..37cd030247 100644 --- a/include/psa/crypto_values.h +++ b/include/psa/crypto_values.h @@ -1977,7 +1977,7 @@ * - A secure cryptographic hash function. * * To select these parameters and set up the cipher suite, call - * psa_pake_cs_set_algorithm(cipher_suite, PSA_ALG_PAKE_JPAKE); + * psa_pake_cs_set_algorithm(cipher_suite, PSA_ALG_JPAKE); * psa_pake_cs_set_primitive(cipher_suite, * PSA_PAKE_PRIMITIVE(type, family, bits)); * psa_pake_cs_set_hash(cipher_suite, hash); @@ -2067,7 +2067,7 @@ * of RFC 8236 for two examples. * */ -#define PSA_ALG_PAKE_JPAKE ((psa_algorithm_t)0x0a000100) +#define PSA_ALG_JPAKE ((psa_algorithm_t)0x0a000100) /**@}*/