File crypto_platform.h
PSA cryptography module: Mbed TLS platform definitions.
This file contains platform-dependent type definitions.
In implementations with isolation between the application and the cryptography module, implementers should take care to ensure that the definitions that are exposed to applications match what the module implements.
Note
This file may not be included directly. Applications must include psa/crypto.h.
Defines
-
PSA_CRYPTO_SECURE
Typedefs
-
typedef int32_t mbedtls_key_owner_id_t
Functions
-
static inline int mbedtls_key_owner_id_equal(mbedtls_key_owner_id_t id1, mbedtls_key_owner_id_t id2)
Compare two key owner identifiers.
- Parameters:
id1 – First key owner identifier.
id2 – Second key owner identifier.
- Returns:
Non-zero if the two key owner identifiers are equal, zero otherwise.
-
struct mbedtls_psa_external_random_context_t
- #include <crypto_platform.h>
The type of the context passed to mbedtls_psa_external_get_random().
Mbed TLS initializes the context to all-bits-zero before calling mbedtls_psa_external_get_random() for the first time.
The definition of this type in the Mbed TLS source code is for demonstration purposes. Implementers of mbedtls_psa_external_get_random() are expected to replace it with a custom definition.
Public Members
-
uintptr_t private_opaque[2]
-
uintptr_t private_opaque[2]