File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ typedef enum {
58
58
SECURECHIP_SLOT_ATTESTATION = 5 ,
59
59
SECURECHIP_SLOT_ECC_UNSAFE_SIGN = 6 ,
60
60
SECURECHIP_SLOT_DATA0 = 9 ,
61
+ // The other slots are currently not in use.
61
62
} securechip_slot_t ;
62
63
63
64
/**
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
22
22
)
23
23
24
24
const (
25
- // Currently in active use .
25
+ // See securechip.h/securechip.c for how the slots are used .
26
26
27
27
// ioProtectionKeySlot holds the io protection key and is referenced by the kdf slots for output
28
28
// encryption. Use needs to be authorized using authKeySlot for encrypted reads/writes.
@@ -47,15 +47,11 @@ const (
47
47
// attestationKeySlot is an ECC slot. read/write disabled. Key internally generated at factory
48
48
// setup and used to sign the device attestation host challenge.
49
49
attestationKeySlot = 5
50
- )
51
-
52
- const (
53
- // Reserved for future use.
54
50
55
51
// eccUnsafeSignKeySlot is a ECC slot. read disabled, encrypted write enabled. Can be used to
56
52
// write any secret key in order to use the chip to create NIST P256 signatures. This is not
57
- // meant to use the SC for security, but might be used in the future as an alternative to adding
58
- // firmware code for signing with this curve.
53
+ // meant to use the SC for security, but used as an alternative to adding firmware code for
54
+ // signing with this curve.
59
55
eccUnsafeSignKeySlot = 6
60
56
61
57
// internalECCKeySlot is an ECC slot. read/write disabled. Key internally generated using
@@ -67,7 +63,6 @@ const (
67
63
dataKeySlot = 8
68
64
69
65
// All pubkey/certificate slots (9-15) have the same config as dataKeySlot.
70
-
71
66
)
72
67
73
68
// defaultConfigurationHex is a working start configuration. The final configuration is created by
You can’t perform that action at this time.
0 commit comments