mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 08:37:25 +00:00
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 <janos.follath@arm.com>
This commit is contained in:
parent
a295918596
commit
304766e11e
@ -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)
|
||||
|
||||
/**@}*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user