Loading...
Searching...
No Matches
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
9#pragma once
10
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include "crypto/ciphers.h"
26#include "kernel_defines.h"
27
28#if IS_USED(MODULE_PSA_RIOT_CIPHER_AES_128_CBC)
30#endif
31#if IS_USED(MODULE_PSA_RIOT_CIPHER_AES_192_CBC)
32typedef cipher_t psa_cipher_aes_192_ctx_t;
33#endif
34#if IS_USED(MODULE_PSA_RIOT_CIPHER_AES_256_CBC)
35typedef cipher_t psa_cipher_aes_256_ctx_t;
36#endif
37
38#ifdef __cplusplus
39}
40#endif
41
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:118