mbed TLS v3.1.0
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
include
mbedcrypto
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
21
*
22
* Licensed under the Apache License, Version 2.0 (the "License"); you may
23
* not use this file except in compliance with the License.
24
* You may obtain a copy of the License at
25
*
26
* http://www.apache.org/licenses/LICENSE-2.0
27
*
28
* Unless required by applicable law or agreed to in writing, software
29
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
30
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31
* See the License for the specific language governing permissions and
32
* limitations under the License.
33
*/
34
#ifndef PSA_CRYPTO_DRIVER_COMMON_H
35
#define PSA_CRYPTO_DRIVER_COMMON_H
36
37
#include <stddef.h>
38
#include <stdint.h>
39
40
/* Include type definitions (psa_status_t, psa_algorithm_t,
41
* psa_key_type_t, etc.) and macros to build and analyze values
42
* of these types. */
43
#include "
crypto_types.h
"
44
#include "
crypto_values.h
"
45
/* Include size definitions which are used to size some arrays in operation
46
* structures. */
47
#include "
crypto_sizes.h
"
48
51
typedef
enum
{
52
PSA_CRYPTO_DRIVER_DECRYPT
,
53
PSA_CRYPTO_DRIVER_ENCRYPT
54
}
psa_encrypt_or_decrypt_t
;
55
56
#endif
/* PSA_CRYPTO_DRIVER_COMMON_H */
psa_encrypt_or_decrypt_t
psa_encrypt_or_decrypt_t
Definition:
crypto_driver_common.h:51
crypto_types.h
PSA cryptography module: type aliases.
PSA_CRYPTO_DRIVER_ENCRYPT
Definition:
crypto_driver_common.h:53
crypto_values.h
PSA cryptography module: macros to build and analyze integer values.
PSA_CRYPTO_DRIVER_DECRYPT
Definition:
crypto_driver_common.h:52
crypto_sizes.h
PSA cryptography module: Mbed TLS buffer size macros.
Generated on Tue Aug 30 2022 09:50:16 for mbed TLS v3.1.0 by
1.8.6