mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-25 00:02:42 +00:00
Fix the encodings of the new key types
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
ffc86ce8d6
commit
c16033e0a3
@ -441,14 +441,14 @@
|
|||||||
* The key policy determines which key derivation algorithm the key can be
|
* The key policy determines which key derivation algorithm the key can be
|
||||||
* used for, among the permissible subset defined above.
|
* used for, among the permissible subset defined above.
|
||||||
*/
|
*/
|
||||||
#define PSA_KEY_TYPE_PASSWORD ((psa_key_type_t)0x1300)
|
#define PSA_KEY_TYPE_PASSWORD ((psa_key_type_t)0x1203)
|
||||||
|
|
||||||
/** A secret value that can be used in when computing a password hash.
|
/** A secret value that can be used in when computing a password hash.
|
||||||
*
|
*
|
||||||
* The key policy determines which key derivation algorithm the key
|
* The key policy determines which key derivation algorithm the key
|
||||||
* can be used for, among the subset of algorithms that can use pepper.
|
* can be used for, among the subset of algorithms that can use pepper.
|
||||||
*/
|
*/
|
||||||
#define PSA_KEY_TYPE_PEPPER ((psa_key_type_t)0x1400)
|
#define PSA_KEY_TYPE_PEPPER ((psa_key_type_t)0x1205)
|
||||||
|
|
||||||
/** Key for a cipher, AEAD or MAC algorithm based on the AES block cipher.
|
/** Key for a cipher, AEAD or MAC algorithm based on the AES block cipher.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user