Mbed TLS v4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
compat-3-crypto.h File Reference

Compatibility definitions for MbedTLS 3.x code built with MbedTLS 4.x or TF-PSA-Crypto 1.x. More...

#include "psa/crypto_values.h"
Include dependency graph for compat-3-crypto.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL   PSA_ERROR_BUFFER_TOO_SMALL
 
#define MBEDTLS_ERR_ASN1_BUF_TOO_SMALL   PSA_ERROR_BUFFER_TOO_SMALL
 
#define MBEDTLS_ERR_LMS_BUFFER_TOO_SMALL   PSA_ERROR_BUFFER_TOO_SMALL
 
#define MBEDTLS_ERR_PK_BUFFER_TOO_SMALL   PSA_ERROR_BUFFER_TOO_SMALL
 
#define MBEDTLS_ERR_PK_ALLOC_FAILED   PSA_ERROR_INSUFFICIENT_MEMORY
 
#define MBEDTLS_ERR_PEM_ALLOC_FAILED   PSA_ERROR_INSUFFICIENT_MEMORY
 
#define MBEDTLS_ERR_ASN1_ALLOC_FAILED   PSA_ERROR_INSUFFICIENT_MEMORY
 
#define MBEDTLS_ERR_LMS_ALLOC_FAILED   PSA_ERROR_INSUFFICIENT_MEMORY
 
#define MBEDTLS_ERR_PK_BAD_INPUT_DATA   PSA_ERROR_INVALID_ARGUMENT
 
#define MBEDTLS_ERR_PEM_BAD_INPUT_DATA   PSA_ERROR_INVALID_ARGUMENT
 
#define MBEDTLS_ERR_LMS_BAD_INPUT_DATA   PSA_ERROR_INVALID_ARGUMENT
 

Detailed Description

Compatibility definitions for MbedTLS 3.x code built with MbedTLS 4.x or TF-PSA-Crypto 1.x.

Definition in file compat-3-crypto.h.

Macro Definition Documentation

#define MBEDTLS_ERR_ASN1_ALLOC_FAILED   PSA_ERROR_INSUFFICIENT_MEMORY

Memory allocation failed

Definition at line 32 of file compat-3-crypto.h.

#define MBEDTLS_ERR_ASN1_BUF_TOO_SMALL   PSA_ERROR_BUFFER_TOO_SMALL

Buffer too small when writing ASN.1 data structure.

Definition at line 21 of file compat-3-crypto.h.

#define MBEDTLS_ERR_BASE64_BUFFER_TOO_SMALL   PSA_ERROR_BUFFER_TOO_SMALL

Output buffer too small.

Definition at line 19 of file compat-3-crypto.h.

#define MBEDTLS_ERR_LMS_ALLOC_FAILED   PSA_ERROR_INSUFFICIENT_MEMORY

LMS failed to allocate space for a private key

Definition at line 34 of file compat-3-crypto.h.

#define MBEDTLS_ERR_LMS_BAD_INPUT_DATA   PSA_ERROR_INVALID_ARGUMENT

Bad data has been input to an LMS function

Definition at line 41 of file compat-3-crypto.h.

#define MBEDTLS_ERR_LMS_BUFFER_TOO_SMALL   PSA_ERROR_BUFFER_TOO_SMALL

Input/output buffer is too small to contain requited data

Definition at line 23 of file compat-3-crypto.h.

#define MBEDTLS_ERR_PEM_ALLOC_FAILED   PSA_ERROR_INSUFFICIENT_MEMORY

Failed to allocate memory.

Definition at line 30 of file compat-3-crypto.h.

#define MBEDTLS_ERR_PEM_BAD_INPUT_DATA   PSA_ERROR_INVALID_ARGUMENT

Bad input parameters to function.

Definition at line 39 of file compat-3-crypto.h.

#define MBEDTLS_ERR_PK_ALLOC_FAILED   PSA_ERROR_INSUFFICIENT_MEMORY

Memory allocation failed.

Definition at line 28 of file compat-3-crypto.h.

#define MBEDTLS_ERR_PK_BAD_INPUT_DATA   PSA_ERROR_INVALID_ARGUMENT

Bad input parameters to function.

Definition at line 37 of file compat-3-crypto.h.

#define MBEDTLS_ERR_PK_BUFFER_TOO_SMALL   PSA_ERROR_BUFFER_TOO_SMALL

The output buffer is too small.

Definition at line 25 of file compat-3-crypto.h.