File crypto_compat.h
PSA cryptography module: Backward compatibility aliases.
This header declares alternative names for macro and functions. New application code should not use these names. These names may be removed in a future version of Mbed TLS.
Note
This file may not be included directly. Applications must include psa/crypto.h.
Defines
-
PSA_KEY_TYPE_DES
-
PSA_ALG_JPAKE_BETA
The beta encoding of JPAKE algorithms, with no hash.
This came from the beta version of the PSA Crypto PAKE 1.2 extension, which is what Mbed TLS 3.x implemented. Since TF-PSA-Crypto 1.0.0, we no longer support the beta version of specification, so this algorithm encoding is no longer supported in JPAKE cipher suites. Use PSA_ALG_JPAKE instead.
Note
It is unspecified whether a key with PSA_ALG_JPAKE_BETA in its policy may be used to perform a JPAKE operation.
-
PSA_EXPORT_KEY_PAIR_OR_PUBLIC_MAX_SIZE
Old non-standard name for PSA_EXPORT_ASYMMETRIC_KEY_MAX_SIZE.
- Deprecated:
Please use PSA_EXPORT_ASYMMETRIC_KEY_MAX_SIZE instead.
Functions
-
int psa_can_do_hash(psa_algorithm_t hash_alg)