Loading...
Searching...
No Matches
riot_ciphers.h
1/*
2 * SPDX-FileCopyrightText: 2022 HAW Hamburg
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include "crypto/ciphers.h"
23#include "kernel_defines.h"
24
25#if IS_USED(MODULE_PSA_RIOT_CIPHER_AES_128_CBC)
27#endif
28#if IS_USED(MODULE_PSA_RIOT_CIPHER_AES_192_CBC)
29typedef cipher_t psa_cipher_aes_192_ctx_t;
30#endif
31#if IS_USED(MODULE_PSA_RIOT_CIPHER_AES_256_CBC)
32typedef cipher_t psa_cipher_aes_256_ctx_t;
33#endif
34
35#ifdef __cplusplus
36}
37#endif
38
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:115