Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
sizes.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2025 TU Dresden
3
* Copyright (C) 2021 HAW Hamburg
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
10
#pragma once
11
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
35
#define PSA_BITS_TO_BYTES(bits) (size_t)(((bits) + 7) / 8)
36
44
#define PSA_BYTES_TO_BITS(bytes) ((bytes) * 8)
45
46
#ifdef __cplusplus
47
}
48
#endif
49
Generated on Mon Jun 30 2025 18:46:46 by
1.9.1