Mbed TLS v4.0.0
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
tf-psa-crypto
include
psa
crypto_driver_common.h
Go to the documentation of this file.
1
16
/*
17
* Copyright The Mbed TLS Contributors
18
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
19
*/
20
#ifndef PSA_CRYPTO_DRIVER_COMMON_H
21
#define PSA_CRYPTO_DRIVER_COMMON_H
22
23
#include <stddef.h>
24
#include <stdint.h>
25
26
/* Include type definitions (psa_status_t, psa_algorithm_t,
27
* psa_key_type_t, etc.) and macros to build and analyze values
28
* of these types. */
29
#include "
crypto_types.h
"
30
#include "
crypto_values.h
"
31
/* Include size definitions which are used to size some arrays in operation
32
* structures. */
33
#include <
psa/crypto_sizes.h
>
34
37
typedef
enum
{
38
PSA_CRYPTO_DRIVER_DECRYPT
,
39
PSA_CRYPTO_DRIVER_ENCRYPT
40
}
psa_encrypt_or_decrypt_t
;
41
42
#endif
/* PSA_CRYPTO_DRIVER_COMMON_H */
psa_encrypt_or_decrypt_t
psa_encrypt_or_decrypt_t
Definition:
crypto_driver_common.h:37
crypto_types.h
PSA cryptography module: type aliases.
PSA_CRYPTO_DRIVER_ENCRYPT
Definition:
crypto_driver_common.h:39
crypto_values.h
PSA cryptography module: macros to build and analyze integer values.
PSA_CRYPTO_DRIVER_DECRYPT
Definition:
crypto_driver_common.h:38
crypto_sizes.h
PSA cryptography module: Mbed TLS buffer size macros.
Generated on Thu Feb 5 2026 15:22:17 for Mbed TLS v4.0.0 by
1.8.6