Mbed TLS v2.28.10
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
include
psa
crypto_driver_common.h
Go to the documentation of this file.
1
18
/*
19
* Copyright The Mbed TLS Contributors
20
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
21
*/
22
#ifndef PSA_CRYPTO_DRIVER_COMMON_H
23
#define PSA_CRYPTO_DRIVER_COMMON_H
24
25
#include <stddef.h>
26
#include <stdint.h>
27
28
/* Include type definitions (psa_status_t, psa_algorithm_t,
29
* psa_key_type_t, etc.) and macros to build and analyze values
30
* of these types. */
31
#include "
crypto_types.h
"
32
#include "
crypto_values.h
"
33
/* Include size definitions which are used to size some arrays in operation
34
* structures. */
35
#include <
psa/crypto_sizes.h
>
36
39
typedef
enum
{
40
PSA_CRYPTO_DRIVER_DECRYPT
,
41
PSA_CRYPTO_DRIVER_ENCRYPT
42
}
psa_encrypt_or_decrypt_t
;
43
44
#endif
/* PSA_CRYPTO_DRIVER_COMMON_H */
psa_encrypt_or_decrypt_t
psa_encrypt_or_decrypt_t
Definition:
crypto_driver_common.h:39
crypto_types.h
PSA cryptography module: type aliases.
PSA_CRYPTO_DRIVER_ENCRYPT
Definition:
crypto_driver_common.h:41
crypto_values.h
PSA cryptography module: macros to build and analyze integer values.
PSA_CRYPTO_DRIVER_DECRYPT
Definition:
crypto_driver_common.h:40
crypto_sizes.h
PSA cryptography module: Mbed TLS buffer size macros.
Generated on Sat May 17 2025 19:48:58 for Mbed TLS v2.28.10 by
1.8.10