Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
atecc608a_config.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2024 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
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
35
#include <stdint.h>
36
41
const
uint8_t
atecc608a_config
[] = {
42
0x00, 0x00, 0x00, 0x00,
/* Read only serial number */
43
0x00, 0x00, 0x00, 0x00,
/* Read only revision number */
44
0x00, 0x00, 0x00, 0x00,
/* Read only serial number */
45
0x00, 0x00, 0x00, 0x00,
/* Read only reserved, I2C enable, reserved */
46
0xC0, 0x00, 0x00, 0x00,
/* I2C address, reserved, CountMatch, chip mode*/
47
48
/* Private keys:
49
0x8720 = 1 0 0 0 | 0 1 1 1 | 0 0 1 0 | 0 0 0 0
50
7 - 4 | 3 - 0 | 15 - 12 | 11 - 8
51
- External signatures of arbitrary messages enabled
52
- Internal signatures of messages by GenDig/GenKey enabled
53
- ECDH operations permitted
54
- ECDH Master Secret will be output in the clear
55
- No write by write command */
56
0x87, 0x20, 0x87, 0x20,
/* Slot 0, Slot 1 */
57
0x87, 0x20, 0x87, 0x20,
/* Slot 2, Slot 3 */
58
59
/* Private Keys, write always allowed (use only for testing!!!)*/
60
0x87, 0x00, 0x87, 0x00,
61
62
/* Private key:
63
- as above but
64
- ECDH Master Secret will be written into slot n + 1 (7)*/
65
0x8F, 0x20, 0x87, 0x20,
/* Slot 6, Slot 7 */
66
67
/* Data storage and public keys, anything goes */
68
0x00, 0x00, 0x00, 0x00,
/* Slot 8, Slot 9 */
69
0x00, 0x00, 0x00, 0x00,
/* Slot 10, Slot 11 */
70
0x00, 0x00, 0x00, 0x00,
/* Slot 12, Slot 13 */
71
0x00, 0x00, 0x00, 0x00,
/* Slot 14, Slot 15 */
72
73
0xFF, 0xFF, 0xFF, 0xFF,
/* Counter 0 */
74
0x00, 0x00, 0x00, 0x00,
/* Counter 0 */
75
0xFF, 0xFF, 0xFF, 0xFF,
/* Counter 1 */
76
0x00, 0x00, 0x00, 0x00,
/* Counter 1 */
77
0x00, 0x00, 0x00, 0x00,
/* UseLock, VolatileKeyPermission, Secure Boot */
78
0x00, 0x00, 0x00, 0x00,
/* KdflvLoc, KdflvStr, KdflcStr, Reserved */
79
0x00, 0x00, 0x00, 0x00,
/* Reserved */
80
0x00, 0x00, 0x00, 0x00,
/* Reserved */
81
0x00, 0x00, 0x55, 0x55,
/* UserExtra, UserExtraAdd, LockValue, LockConfig */
82
0xFF, 0xFF, 0x00, 0x00,
/* 2x SlotLocked, 2x ChipOptions */
83
0x00, 0x00, 0x00, 0x00,
/* X509format */
84
85
/* Private Key, access only with Sign, GenKey, PrivWrite cmds
86
Public Version can always be generated
87
Slots are individually lockable with Lock command */
88
0x13, 0x00, 0x13, 0x00,
/* KeyConfig 0, KeyConfig 1 */
89
0x13, 0x00, 0x13, 0x00,
/* KeyConfig 2, KeyConfig 3 */
90
91
/* AES Key */
92
0x18, 0x00, 0x18, 0x00,
/* KeyConfig 4, KeyConfig 5 -> not usable as AES keys! */
93
94
/* Private Key
95
- Used for ECDH
96
- Slot 7 will contain corresponding Master Secret */
97
0x13, 0x00, 0x1F, 0x00,
/* KeyConfig 6, KeyConfig 7 */
98
99
/* SHA Key or other data */
100
0x1C, 0x00,
/* KeyConfig 8 */
101
102
/* ECC Public Keys */
103
0x10, 0x00,
/* KeyConfig 9 */
104
0x10, 0x00, 0x10, 0x00,
/* KeyConfig 10, KeyConfig 11 */
105
0x10, 0x00, 0x10, 0x00,
/* KeyConfig 12, KeyConfig 13 */
106
107
/* SHA Key or other data */
108
0x1C, 0x00, 0x1C, 0x00
/* KeyConfig 14, KeyConfig 15 */
109
};
110
111
#ifdef __cplusplus
112
}
113
#endif
atecc608a_config
const uint8_t atecc608a_config[]
Example device configuration for the atecc608a.
Definition
atecc608a_config.h:41
Generated on Thu Nov 6 2025 16:38:23 by
1.13.2