mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-22 04:53:50 +01:00
Currently PSA backends cannot use other backends because the necessary definitions are defined in a single big header file. This prevents us from creating a generic HMAC backend based on the available hash backends, as the hash context struct is not available when defining the HMAC context struct. Fix this by spliting the headers into separate files. This makes it possible us use the hash context definitions without pulling in the remaining context definitions. Signed-off-by: Armin Wolf <W_Armin@gmx.de>
47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
/*
|
|
* Copyright (C) 2021 HAW Hamburg
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/**
|
|
* @ingroup sys_psa_crypto
|
|
* @{
|
|
*
|
|
* @file crypto_values.h
|
|
* @brief Value definitions for PSA Crypto.
|
|
*
|
|
* @author Lena Boeckmann <lena.boeckmann@haw-hamburg.de>
|
|
*
|
|
* @note Some of the macros in this file have already been copied here from
|
|
* the PSA API specification, but are not implemented, yet.
|
|
* They are marked by comments that either say "specification-defined"
|
|
* or "implementation-defined".
|
|
* These macros will be implemented successively in the future.
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "crypto_types.h"
|
|
#include "psa/hash/algorithm.h"
|
|
#include "psa/mac/algorithm.h"
|
|
#include "psa/cipher/algorithm.h"
|
|
#include "psa/aead/algorithm.h"
|
|
#include "psa/key_agreement/algorithm.h"
|
|
#include "psa/key_derivation/algorithm.h"
|
|
#include "psa/key_derivation/values.h"
|
|
#include "psa/asymmetric_encryption/algorithm.h"
|
|
#include "psa/asymmetric_signature/algorithm.h"
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|