riot_ciphers.h
1 /*
2  * Copyright (C) 2022 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 CRYPTO_PSA_RIOT_CIPHERS_H
20 #define CRYPTO_PSA_RIOT_CIPHERS_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #include "crypto/ciphers.h"
27 #include "kernel_defines.h"
28 
29 #if IS_USED(MODULE_PSA_RIOT_CIPHER_AES_128_CBC)
31 #endif
32 #if IS_USED(MODULE_PSA_RIOT_CIPHER_AES_192_CBC)
33 typedef cipher_t psa_cipher_aes_192_ctx_t;
34 #endif
35 #if IS_USED(MODULE_PSA_RIOT_CIPHER_AES_256_CBC)
36 typedef cipher_t psa_cipher_aes_256_ctx_t;
37 #endif
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif /* CRYPTO_PSA_RIOT_CIPHERS_H */
Headers for the packet encryption class.
Common macros and compiler attributes/pragmas configuration.
SaSiAesUserContext_t psa_cipher_aes_128_ctx_t
Map driver specific AES context to PSA context.
basic struct for using block ciphers contains the cipher interface and the context
Definition: ciphers.h:119