mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-24 17:41:01 +03:00
Introduce PSA_ALG_NONE
It is required by the standard definition of PSA_ALG_GET_HASH. Documentation and definition from: https://armmbed.github.io/mbed-crypto/html/api/ops/algorithms.html#c.PSA_ALG_NONE Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
@@ -713,6 +713,12 @@
|
||||
1u << PSA_GET_KEY_TYPE_BLOCK_SIZE_EXPONENT(type) : \
|
||||
0u)
|
||||
|
||||
/** An invalid algorithm identifier value.
|
||||
*
|
||||
* Zero is not the encoding of any algorithm.
|
||||
*/
|
||||
#define PSA_ALG_NONE ((psa_algorithm_t)0)
|
||||
|
||||
/** Vendor-defined algorithm flag.
|
||||
*
|
||||
* Algorithms defined by this standard will never have the #PSA_ALG_VENDOR_FLAG
|
||||
|
||||
Reference in New Issue
Block a user