1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 23:11:19 +01:00
Armin Wolf dd81d185cd sys/psa_crypto: Split key definitions into separate files
Split key definitions into separate files, together with some basic
support macros.

This allows PSA crypto backends to use this definitions without
pulling in all the other type definitions.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2024-11-26 20:01:09 +01:00

42 lines
849 B
C

/*
* Copyright (C) 2024 TU Dresden
* 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.
*/
/**
* @ingroup sys_psa_crypto
* @{
*
* @file key/bits.h
* @brief Key size definitions for the PSA Crypto API
*
* @author Armin Wolf <wolf.armin@mailbox.tu-dresden.de>
* @author Lena Boeckmann <lena.boeckmann@haw-hamburg.de>
*
*/
#ifndef PSA_CRYPTO_PSA_KEY_BITS_H
#define PSA_CRYPTO_PSA_KEY_BITS_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
/**
* @brief Public interfaces use @c size_t, but internally we use a smaller type.
*/
typedef uint16_t psa_key_bits_t;
#ifdef __cplusplus
}
#endif
#endif /* PSA_CRYPTO_PSA_KEY_BITS_H */
/** @} */