153 lines
7.1 KiB
C
153 lines
7.1 KiB
C
|
/*
|
||
|
* Copyright (c) 2020 Yubico AB. All rights reserved.
|
||
|
* Use of this source code is governed by a BSD-style
|
||
|
* license that can be found in the LICENSE file.
|
||
|
*/
|
||
|
|
||
|
#ifndef _WIREDATA_U2F_H
|
||
|
#define _WIREDATA_U2F_H
|
||
|
|
||
|
#define WIREDATA_CTAP_U2F_6985 \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x83, 0x00, 0x02, 0x69, \
|
||
|
0x85, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||
|
|
||
|
#define WIREDATA_CTAP_U2F_AUTH \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x83, 0x00, 0x4e, 0x01, \
|
||
|
0x00, 0x00, 0x00, 0x2c, 0x30, 0x45, 0x02, 0x20, \
|
||
|
0x1c, 0xf5, 0x7c, 0xf6, 0xde, 0xbe, 0xe9, 0x86, \
|
||
|
0xee, 0x97, 0xb7, 0x64, 0xa3, 0x4e, 0x7a, 0x70, \
|
||
|
0x85, 0xd0, 0x66, 0xf9, 0xf0, 0xcd, 0x04, 0x5d, \
|
||
|
0x97, 0xf2, 0x3c, 0x22, 0xe3, 0x0e, 0x61, 0xc8, \
|
||
|
0x02, 0x21, 0x00, 0x97, 0xef, 0xae, 0x36, 0xe6, \
|
||
|
0x17, 0x9f, 0x5e, 0x2d, 0xd7, 0x8c, 0x34, 0xa7, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x00, 0xa1, 0xe9, 0xfb, \
|
||
|
0x8f, 0x86, 0x8c, 0xe3, 0x1e, 0xde, 0x3f, 0x4e, \
|
||
|
0x1b, 0xe1, 0x2f, 0x8f, 0x2f, 0xca, 0x42, 0x26, \
|
||
|
0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||
|
|
||
|
#define WIREDATA_CTAP_U2F_REGISTER \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x83, 0x03, 0x1e, 0x05, \
|
||
|
0x04, 0x9f, 0xa0, 0xf9, 0x0d, 0x4c, 0xf4, 0xae, \
|
||
|
0x96, 0x3c, 0xb7, 0x46, 0xb7, 0x5c, 0x9d, 0x8b, \
|
||
|
0x48, 0x19, 0xdf, 0xc4, 0xad, 0xea, 0xb2, 0x70, \
|
||
|
0x58, 0x72, 0xd9, 0xce, 0x75, 0xf5, 0xe6, 0x8e, \
|
||
|
0x0f, 0x9c, 0x0e, 0x2e, 0x62, 0x3e, 0x91, 0xd3, \
|
||
|
0x7b, 0x97, 0x46, 0x60, 0xb9, 0x57, 0x13, 0x97, \
|
||
|
0x26, 0xae, 0x0f, 0xb3, 0x8f, 0x2e, 0x9b, 0x3f, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x00, 0xa5, 0x55, 0xec, \
|
||
|
0x8c, 0x25, 0x7c, 0x65, 0xb7, 0x09, 0x40, 0x48, \
|
||
|
0xae, 0xa8, 0xcb, 0xa1, 0x91, 0xac, 0x40, 0x24, \
|
||
|
0xf2, 0x34, 0x6e, 0x3a, 0x8f, 0xa5, 0xb7, 0x48, \
|
||
|
0x54, 0x6e, 0xfb, 0xf4, 0x37, 0x88, 0x69, 0x79, \
|
||
|
0x6f, 0x12, 0xc1, 0x32, 0xdf, 0x15, 0x5d, 0x6e, \
|
||
|
0x82, 0x54, 0xc0, 0x6e, 0x56, 0x4f, 0x3a, 0x9c, \
|
||
|
0xc3, 0x96, 0x7a, 0xde, 0xa5, 0xfe, 0xec, 0xd1, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x01, 0x5a, 0x21, 0x85, \
|
||
|
0x0e, 0x25, 0x7b, 0x8d, 0x6e, 0x1d, 0x32, 0x29, \
|
||
|
0xdb, 0x21, 0xb0, 0xa3, 0x30, 0x82, 0x02, 0x4f, \
|
||
|
0x30, 0x82, 0x01, 0x37, 0xa0, 0x03, 0x02, 0x01, \
|
||
|
0x02, 0x02, 0x04, 0x2a, 0xd9, 0x6a, 0xf3, 0x30, \
|
||
|
0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, \
|
||
|
0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x30, 0x2e, \
|
||
|
0x31, 0x2c, 0x30, 0x2a, 0x06, 0x03, 0x55, 0x04, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x02, 0x03, 0x13, 0x23, \
|
||
|
0x59, 0x75, 0x62, 0x69, 0x63, 0x6f, 0x20, 0x55, \
|
||
|
0x32, 0x46, 0x20, 0x52, 0x6f, 0x6f, 0x74, 0x20, \
|
||
|
0x43, 0x41, 0x20, 0x53, 0x65, 0x72, 0x69, 0x61, \
|
||
|
0x6c, 0x20, 0x34, 0x35, 0x37, 0x32, 0x30, 0x30, \
|
||
|
0x36, 0x33, 0x31, 0x30, 0x20, 0x17, 0x0d, 0x31, \
|
||
|
0x34, 0x30, 0x38, 0x30, 0x31, 0x30, 0x30, 0x30, \
|
||
|
0x30, 0x30, 0x30, 0x5a, 0x18, 0x0f, 0x32, 0x30, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x03, 0x35, 0x30, 0x30, \
|
||
|
0x39, 0x30, 0x34, 0x30, 0x30, 0x30, 0x30, 0x30, \
|
||
|
0x30, 0x5a, 0x30, 0x31, 0x31, 0x2f, 0x30, 0x2d, \
|
||
|
0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x26, 0x59, \
|
||
|
0x75, 0x62, 0x69, 0x63, 0x6f, 0x20, 0x55, 0x32, \
|
||
|
0x46, 0x20, 0x45, 0x45, 0x20, 0x53, 0x65, 0x72, \
|
||
|
0x69, 0x61, 0x6c, 0x20, 0x32, 0x33, 0x39, 0x32, \
|
||
|
0x35, 0x37, 0x33, 0x34, 0x35, 0x31, 0x36, 0x35, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x04, 0x35, 0x30, 0x33, \
|
||
|
0x38, 0x37, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, \
|
||
|
0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, \
|
||
|
0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, \
|
||
|
0x07, 0x03, 0x42, 0x00, 0x04, 0x2f, 0xe1, 0xa2, \
|
||
|
0x3e, 0xbf, 0xa5, 0x5b, 0x3e, 0x46, 0x1d, 0x59, \
|
||
|
0xa4, 0x35, 0x22, 0xd7, 0x97, 0x48, 0x98, 0x1c, \
|
||
|
0xba, 0x6d, 0x28, 0x9a, 0x98, 0xf1, 0xbd, 0x7d, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x05, 0xff, 0x65, 0x66, \
|
||
|
0x80, 0xdb, 0xbb, 0xed, 0xbc, 0x2b, 0xae, 0x60, \
|
||
|
0x7e, 0x6e, 0xf7, 0x72, 0xf5, 0x76, 0xb0, 0x4d, \
|
||
|
0x54, 0xc4, 0xe5, 0xf3, 0x2f, 0x59, 0x6f, 0x26, \
|
||
|
0xe6, 0x11, 0x15, 0xc7, 0x27, 0x2c, 0xf6, 0xca, \
|
||
|
0x75, 0x94, 0xa3, 0x3b, 0x30, 0x39, 0x30, 0x22, \
|
||
|
0x06, 0x09, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, \
|
||
|
0xc4, 0x0a, 0x02, 0x04, 0x15, 0x31, 0x2e, 0x33, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x06, 0x2e, 0x36, 0x2e, \
|
||
|
0x31, 0x2e, 0x34, 0x2e, 0x31, 0x2e, 0x34, 0x31, \
|
||
|
0x34, 0x38, 0x32, 0x2e, 0x31, 0x2e, 0x32, 0x30, \
|
||
|
0x13, 0x06, 0x0b, 0x2b, 0x06, 0x01, 0x04, 0x01, \
|
||
|
0x82, 0xe5, 0x1c, 0x02, 0x01, 0x01, 0x04, 0x04, \
|
||
|
0x03, 0x02, 0x04, 0x30, 0x30, 0x0d, 0x06, 0x09, \
|
||
|
0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, \
|
||
|
0x0b, 0x05, 0x00, 0x03, 0x82, 0x01, 0x01, 0x00, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x07, 0x85, 0x6a, 0xfa, \
|
||
|
0x8b, 0xcf, 0x4f, 0x3f, 0x62, 0x5f, 0x29, 0x1b, \
|
||
|
0xc1, 0x15, 0x8e, 0x3c, 0x7e, 0xbd, 0x25, 0x52, \
|
||
|
0xbc, 0xf7, 0x57, 0x07, 0x53, 0xf5, 0x12, 0x1d, \
|
||
|
0xa6, 0xa5, 0x4d, 0x24, 0xcc, 0xcf, 0xae, 0x27, \
|
||
|
0xce, 0xd6, 0xab, 0x31, 0x12, 0x8c, 0x29, 0x7e, \
|
||
|
0x5b, 0x5b, 0x89, 0x05, 0xdd, 0xa0, 0x20, 0x17, \
|
||
|
0x93, 0x1f, 0x1f, 0x5f, 0x59, 0x25, 0x93, 0x59, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x08, 0x51, 0xfc, 0x00, \
|
||
|
0x4b, 0xcb, 0xe2, 0x0a, 0xdd, 0x7d, 0x8d, 0x05, \
|
||
|
0x2f, 0x95, 0x43, 0xb3, 0x49, 0x6c, 0x15, 0xb8, \
|
||
|
0x31, 0x0e, 0x10, 0xcb, 0xd9, 0xbb, 0x05, 0x38, \
|
||
|
0x27, 0x4f, 0x58, 0x3e, 0xad, 0x1f, 0x45, 0x12, \
|
||
|
0x88, 0xc3, 0xea, 0x76, 0xd0, 0x70, 0xad, 0x44, \
|
||
|
0xe5, 0x3a, 0xfe, 0xa8, 0xf2, 0x2d, 0x1f, 0x73, \
|
||
|
0x62, 0x5f, 0xf2, 0xd5, 0x89, 0xfe, 0x30, 0xdf, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x09, 0x26, 0x62, 0xcb, \
|
||
|
0x7c, 0xbb, 0x7c, 0x99, 0x61, 0x80, 0xad, 0xcf, \
|
||
|
0xa9, 0x8a, 0x4d, 0x01, 0x2c, 0xf3, 0x13, 0x46, \
|
||
|
0xcd, 0x11, 0x74, 0x6a, 0x58, 0x48, 0xe8, 0xbe, \
|
||
|
0xed, 0xf3, 0xe3, 0x0c, 0xcb, 0xd9, 0xc1, 0xdd, \
|
||
|
0x22, 0x16, 0x71, 0xb2, 0x83, 0x88, 0x61, 0xf6, \
|
||
|
0x5a, 0x45, 0x36, 0x23, 0xb5, 0x18, 0xd5, 0x56, \
|
||
|
0x7f, 0xa8, 0xf0, 0xa3, 0xce, 0x10, 0x5d, 0xf4, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x0a, 0xf1, 0x39, 0x53, \
|
||
|
0xe1, 0x14, 0xea, 0x59, 0xe0, 0xa7, 0xf2, 0xfe, \
|
||
|
0x66, 0x88, 0x67, 0x43, 0x2e, 0x52, 0xfd, 0x6a, \
|
||
|
0x2f, 0x64, 0xf7, 0x3c, 0x48, 0xcd, 0x9b, 0x38, \
|
||
|
0xf2, 0xdf, 0xba, 0x2c, 0x7a, 0x4b, 0x3b, 0x11, \
|
||
|
0x28, 0xdf, 0x26, 0xd6, 0x6a, 0x24, 0xf8, 0x95, \
|
||
|
0xdd, 0xa0, 0xb6, 0x11, 0x80, 0xf4, 0x14, 0x4f, \
|
||
|
0x6b, 0x70, 0x75, 0xc3, 0x18, 0xa4, 0x9a, 0xe0, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x0b, 0x8b, 0x58, 0xd3, \
|
||
|
0x6a, 0xdb, 0x1e, 0x30, 0x53, 0x67, 0x2b, 0x17, \
|
||
|
0xc5, 0xa1, 0x9f, 0x7f, 0x0a, 0x22, 0xf1, 0x0e, \
|
||
|
0x94, 0x30, 0x44, 0x02, 0x20, 0x07, 0x5c, 0x4f, \
|
||
|
0xd2, 0x83, 0xb6, 0x9f, 0x0a, 0x4a, 0x4d, 0x4b, \
|
||
|
0x08, 0x35, 0xeb, 0xc0, 0x7e, 0x4a, 0x14, 0x2e, \
|
||
|
0xc7, 0x8c, 0xd6, 0x64, 0x2f, 0xd3, 0x1e, 0xcc, \
|
||
|
0xb5, 0xe8, 0x42, 0xea, 0xf6, 0x02, 0x20, 0x6b, \
|
||
|
0x00, 0x00, 0x99, 0x01, 0x0c, 0x5a, 0xba, 0x4a, \
|
||
|
0xc8, 0xd7, 0x89, 0xcc, 0x77, 0xe6, 0xb9, 0xa3, \
|
||
|
0x34, 0xea, 0x06, 0x85, 0x72, 0xc6, 0x28, 0xa8, \
|
||
|
0x7a, 0xaa, 0x19, 0x88, 0x34, 0xbb, 0xdc, 0x64, \
|
||
|
0x90, 0x0a, 0xdb, 0x39, 0x90, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||
|
|
||
|
#endif /* !_WIREDATA_U2F_H */
|