Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
policy.h
1
/*
2
* SPDX-FileCopyrightText: 2019 Koen Zandberg
3
* SPDX-FileCopyrightText: 2019 Kaspar Schleiser <kaspar@schleiser.de>
4
* SPDX-FileCopyrightText: 2019 Inria
5
* SPDX-FileCopyrightText: 2019 Freie Universität Berlin
6
* SPDX-License-Identifier: LGPL-2.1-only
7
*/
8
9
#pragma once
10
22
23
#include <stddef.h>
24
#include <stdint.h>
25
26
#include "
uuid.h
"
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
31
36
#define SUIT_VALIDATED_AUTH 0x1
37
#define SUIT_VALIDATED_VERSION 0x2
38
#define SUIT_VALIDATED_SEQ_NR 0x4
39
#define SUIT_VALIDATED_VENDOR 0x8
40
#define SUIT_VALIDATED_CLASS 0x10
41
#define SUIT_VALIDATED_DEVICE 0x20
43
47
#define SUIT_DEFAULT_POLICY \
48
(SUIT_VALIDATED_VERSION | SUIT_VALIDATED_SEQ_NR | SUIT_VALIDATED_VENDOR | \
49
SUIT_VALIDATED_CLASS)
50
51
#ifdef __cplusplus
52
}
53
#endif
54
uuid.h
RFC 4122 UUID functions
Generated on Fri Aug 7 2026 10:06:13 by
1.13.2