mbed TLS v2.23.0: crypto_driver_common.h Source File

mbed TLS v2.23.0

crypto_driver_common.h
Go to the documentation of this file.
1
19 /*
20 * Copyright (C) 2018, ARM Limited, All Rights Reserved
21 * SPDX-License-Identifier: Apache-2.0
22 *
23 * Licensed under the Apache License, Version 2.0 (the "License"); you may
24 * not use this file except in compliance with the License.
25 * You may obtain a copy of the License at
26 *
27 * http://www.apache.org/licenses/LICENSE-2.0
28 *
29 * Unless required by applicable law or agreed to in writing, software
30 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
31 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32 * See the License for the specific language governing permissions and
33 * limitations under the License.
34 */
35 #ifndef PSA_CRYPTO_DRIVER_COMMON_H
36 #define PSA_CRYPTO_DRIVER_COMMON_H
37
38 #include <stddef.h>
39 #include <stdint.h>
40
41 /* Include type definitions (psa_status_t, psa_algorithm_t,
42 * psa_key_type_t, etc.) and macros to build and analyze values
43 * of these types. */
44 #include "crypto_types.h"
45 #include "crypto_values.h"
46
49 typedef enum {
50 PSA_CRYPTO_DRIVER_DECRYPT,
51 PSA_CRYPTO_DRIVER_ENCRYPT
52 } psa_encrypt_or_decrypt_t;
53
54 #endif /* PSA_CRYPTO_DRIVER_COMMON_H */
psa_encrypt_or_decrypt_t
psa_encrypt_or_decrypt_t
Definition: crypto_driver_common.h:49
crypto_values.h
PSA cryptography module: macros to build and analyze integer values.
crypto_types.h
PSA cryptography module: type aliases.
PSA_CRYPTO_DRIVER_ENCRYPT
@ PSA_CRYPTO_DRIVER_ENCRYPT
Definition: crypto_driver_common.h:51
PSA_CRYPTO_DRIVER_DECRYPT
@ PSA_CRYPTO_DRIVER_DECRYPT
Definition: crypto_driver_common.h:50