mbed TLS v3.1.0
Data Structures | Macros | Typedefs | Functions
crypto_platform.h File Reference

PSA cryptography module: Mbed TLS platform definitions. More...

#include "mbedtls/private_access.h"
#include "mbedtls/build_info.h"
#include "mbedtls/config_psa.h"
#include <stdint.h>
#include "crypto_spe.h"
Include dependency graph for crypto_platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mbedtls_psa_external_random_context_t
 

Macros

#define PSA_CRYPTO_SECURE   1
 

Typedefs

typedef int32_t mbedtls_key_owner_id_t
 

Functions

static int mbedtls_key_owner_id_equal (mbedtls_key_owner_id_t id1, mbedtls_key_owner_id_t id2)
 

Detailed Description

PSA cryptography module: Mbed TLS platform definitions.

Note
This file may not be included directly. Applications must include psa/crypto.h.

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.

Definition in file crypto_platform.h.

Macro Definition Documentation

#define PSA_CRYPTO_SECURE   1

Definition at line 89 of file crypto_platform.h.

Typedef Documentation

typedef int32_t mbedtls_key_owner_id_t

Definition at line 64 of file crypto_platform.h.

Function Documentation

static int mbedtls_key_owner_id_equal ( mbedtls_key_owner_id_t  id1,
mbedtls_key_owner_id_t  id2 
)
inlinestatic

Compare two key owner identifiers.

Parameters
id1First key owner identifier.
id2Second key owner identifier.
Returns
Non-zero if the two key owner identifiers are equal, zero otherwise.

Definition at line 73 of file crypto_platform.h.