OPTIGA™ Trust M
Host Library Documentation
aes_key_object_confidentiality.h
Go to the documentation of this file.
1 
38 #include <stdint.h>
39 
43 const uint8_t manifest_aes_key[] =
44 {
45  // COSE Sign1 Trust
46  0x84,
47  // Protected signed header trust
48  0x43,
49  // Trust Sign Algorithm
50  0xA1,
51  // ECDSA
52  0x01, 0x26,
53  // Unprotected signed header trust
54  0xA1,
55  // Root of trust
56  0x04, 0x42,
57  // Trust Anchor OID
58  0xE0, 0xE3,
59  // Payload info Byte string of single byte length
60  0x58,
61  // Byte string length of manifest
62  0x9C,
63  // Trust manifest, array of 6 entries
64  0x86,
65  // Version(Major Type 0)
66  0x01,
67  // NULL
68  0xF6,
69  // NULL
70  0xF6,
71  // Resources, array of 4 entries
72  0x84,
73  // Trust Payload Type
74  0x22,
75  // Payload Length
76  0x13,
77  // Trust Payload version
78  0x03,
79  // Trust Add info data
80  0x82,
81  // key algorithm
82  0x18, 0x81,
83  // key usage
84  0x02,
85  // Trust Processors, array of 2 entries
86  0x82,
87  // Processing step integrity, array of 2 entries
88  0x82,
89  // Process( Major Type 1)
90  0x20,
91  // Parameters, byte string with single byte length
92  0x58,
93  // Byte string length
94  0x25,
95  // IFX Digest info, array of 2 entries
96  0x82,
97  // Digest Algorithm
98  0x18,
99  // SHA-256
100  0x29,
101  // Digest
102  0x58,
103  // Byte string length
104  0x20,
105  // Digest data
106  0x78, 0x46, 0xBB, 0x13, 0xC0, 0x22, 0x9B, 0x30,
107  0x65, 0x32, 0x39, 0x10, 0x07, 0x7E, 0xDE, 0xB0,
108  0xD9, 0x7B, 0x0F, 0x23, 0xEB, 0xC8, 0x51, 0x1E,
109  0x79, 0x5B, 0xAC, 0x6F, 0xBF, 0x1D, 0x0E, 0x3B,
110  // Processing step decrypt, array of 2 entries
111  0x82,
112  // Process( Major Type 0)
113  0x01,
114  // COSE_Encrypt_Trust array of 3 entries
115  0x83,
116  // protected-encrypt-header-Trust
117  0x43,
118  // Map
119  0xA1,
120  // Key
121  0x01,
122  // AES-CCM-16-64-128, 128-bit key, 64-bit Authentication(MAC) tag, 13-byte nonce
123  0x0A,
124  // recipients array of 1
125  0x81,
126  // COSE_Recipient_Trust array of 2
127  0x82,
128  // protected-recipient-header-Trust
129  0x58,
130  // byte str
131  0x54,
132  // Map of 3
133  0xA3,
134  // Key
135  0x04,
136  // Value
137  0x42,
138  // Shared secret OID
139  0xF1, 0xD1,
140  // Key
141  0x01,
142  // Value (KeyDerivationAlgorithms)
143  0x3A, 0x00, 0x01, 0x00, 0xB7,
144  // Key
145  0x05,
146  // Value array of 2
147  0x82,
148  0x44,
149  // label(4)
150  0x74, 0x65, 0x73, 0x74,
151  0x58,
152  0x40,
153  // seed(64)
154  0x2D, 0x93, 0xB2, 0xA2, 0x81, 0x72, 0xC2, 0x42,
155  0x78, 0xAA, 0x5F, 0x8B, 0x59, 0x66, 0x8D, 0x93,
156  0xEF, 0x49, 0x60, 0x2A, 0x3D, 0xDD, 0x1D, 0xDE,
157  0xCB, 0x46, 0xB4, 0x5F, 0x8F, 0x61, 0x9C, 0xF2,
158  0xAD, 0x60, 0x69, 0xFB, 0xA8, 0xDC, 0x16, 0xC9,
159  0xA8, 0xB0, 0x86, 0x59, 0xB7, 0xFB, 0x80, 0x24,
160  0xD2, 0x6F, 0xC3, 0xCB, 0x4D, 0x26, 0xBA, 0x56,
161  0x6D, 0xA0, 0x8D, 0xFC, 0x39, 0xE7, 0xFF, 0xFD,
162  // ciphertext-recipient-header-Trust
163  0xF6,
164  // AdditionalInfo
165  0xF6,
166  // Trust Target
167  0x82,
168  // Component identifier(0)
169  0x40,
170  // Storage identifier
171  0x42,
172  // Optiga target OID
173  0xE2, 0x00,
174  // Signature info, byte string of single byte length
175  0x58,
176  // Byte string length for ECC 256
177  0x40,
178  // Signature data
179  0x91, 0xAF, 0xD6, 0x8F, 0x3A, 0x03, 0x15, 0x94, 0xE1, 0x6A, 0xD9, 0x27, 0x8B, 0xAF, 0x3D, 0x2D,
180  0x80, 0x10, 0xFF, 0x52, 0x66, 0x4C, 0x27, 0x4A, 0x8E, 0x36, 0xDD, 0xC0, 0x6F, 0xA9, 0xC4, 0x79,
181  0x8B, 0x11, 0x3C, 0x38, 0x1F, 0x90, 0x0F, 0x48, 0xF8, 0x34, 0xD7, 0x74, 0x9C, 0x1D, 0x00, 0xE5,
182  0x65, 0xBA, 0x51, 0xFF, 0x41, 0xE9, 0xFB, 0xBF, 0x88, 0xFF, 0x0B, 0xDE, 0xBC, 0x30, 0xE8, 0x2F,
183 };
184 
189 {
190  // Payload of 27 bytes (16 bytes AES key,3 bytes for TL and 8 byte MAC)
191  0x5B, 0x4A, 0x81, 0x30, 0xEF, 0x28, 0x05, 0x14, 0x6C, 0x53, 0xBA, 0xCD, 0xAB, 0x75, 0x53, 0x89,
192  0x28, 0x16, 0x23, 0x89, 0xB7, 0xD0, 0xF4, 0xCE, 0xFC, 0x12, 0x3E,
193 };
194 
manifest_aes_key
const uint8_t manifest_aes_key[]
Definition: aes_key_object_confidentiality.h:43
aes_key_final_fragment_array
const uint8_t aes_key_final_fragment_array[]
Definition: aes_key_object_confidentiality.h:188