psa_periph_aes_ctx.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 HAW Hamburg
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef PSA_PERIPH_AES_CTX_H
20 #define PSA_PERIPH_AES_CTX_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #include "ssi_aes.h"
27 #include "kernel_defines.h"
28 
29 #if IS_USED(MODULE_PERIPH_CIPHER_AES_128_CBC) || DOXYGEN
33 typedef SaSiAesUserContext_t psa_cipher_aes_128_ctx_t;
34 #endif
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 #endif /* PSA_PERIPH_AES_CTX_H */
Common macros and compiler attributes/pragmas configuration.
SaSiAesUserContext_t psa_cipher_aes_128_ctx_t
Map driver specific AES context to PSA context.