/* * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Unlicense OR CC0-1.0 */ #pragma once #include const uint8_t ecc_p256_k[] = { 0xB2, 0xC5, 0x9E, 0x92, 0x64, 0xCD, 0x5F, 0x66, 0x9E, 0xC8, 0x83, 0x6D, 0x99, 0x61, 0x18, 0x72, 0xC8, 0x60, 0x83, 0x1E, 0xE5, 0x79, 0xCC, 0x73, 0xA9, 0xB4, 0x74, 0x85, 0x70, 0x11, 0x2D, 0xA2, }; const uint8_t ecc_p192_k[] = { 0x6f, 0x18, 0x34, 0xeb, 0x16, 0xb7, 0xac, 0x9f, 0x3c, 0x77, 0x71, 0xb3, 0x02, 0x30, 0x70, 0x48, 0x75, 0x87, 0xbb, 0x6f, 0x80, 0x34, 0x8d, 0x5e }; uint8_t sha[] = { 0x0c, 0xaa, 0x08, 0xb4, 0xf0, 0x89, 0xd3, 0x45, 0xbb, 0x55, 0x98, 0xd9, 0xc2, 0xe9, 0x65, 0x5d, 0x7e, 0xa3, 0xa9, 0xc3, 0xcd, 0x69, 0xb1, 0xcf, 0x91, 0xbe, 0x58, 0x10, 0xfe, 0x80, 0x65, 0x6e }; /* Little endian */ uint8_t ecdsa256_r[] = { 0xff, 0x94, 0xf7, 0x5a, 0xce, 0x81, 0x05, 0xfc, 0x98, 0x17, 0xd5, 0x0a, 0x94, 0x53, 0xab, 0x54, 0xa8, 0x21, 0x8b, 0xe6, 0xf2, 0x6e, 0xa0, 0x7b, 0x20, 0x36, 0x27, 0xd2, 0x60, 0x5d, 0xa3, 0x2e }; /* Little endian */ uint8_t ecdsa256_s[] = { 0x50, 0x78, 0x0e, 0x41, 0xe3, 0x03, 0xd2, 0x5b, 0xaf, 0x74, 0x31, 0xb8, 0x74, 0xc9, 0xb3, 0x89, 0x8d, 0xb5, 0x40, 0x3e, 0x5b, 0x2a, 0x4b, 0xe2, 0x5e, 0xf8, 0x96, 0xd4, 0xf9, 0x22, 0xf9, 0xb4 }; /* Little endian */ uint8_t ecdsa256_pub_x[] = { 0xa8, 0xe9, 0x88, 0x85, 0x26, 0x08, 0x55, 0x95, 0xf9, 0x11, 0x5a, 0xce, 0x7a, 0x5f, 0xff, 0x0c, 0xda, 0x45, 0xb8, 0x11, 0xc7, 0x04, 0xca, 0xa7, 0x8b, 0xd4, 0x6e, 0xd8, 0x1f, 0x64, 0xdf, 0x4d }; /* Little endian */ uint8_t ecdsa256_pub_y[] = { 0x34, 0x25, 0x2c, 0xaf, 0xec, 0xe8, 0xa1, 0x73, 0xbc, 0xa0, 0x80, 0x2c, 0xaa, 0xfd, 0xa8, 0x50, 0x6a, 0x71, 0xf2, 0x40, 0x1a, 0xb6, 0x8a, 0xa0, 0x6e, 0x9a, 0xce, 0xbf, 0xcc, 0x4d, 0xb0, 0x24 }; /* Little endian */ uint8_t ecdsa192_r[] = { 0x9f, 0xee, 0xb7, 0x4f, 0x09, 0xd5, 0xc8, 0x42, 0x2c, 0x74, 0xe7, 0xaa, 0x6d, 0xe2, 0xe1, 0x1c, 0xb7, 0x26, 0x75, 0xb2, 0x2f, 0x18, 0x8a, 0x2b }; /* Little endian */ uint8_t ecdsa192_s[] = { 0x12, 0x5b, 0x30, 0x24, 0x59, 0x24, 0xeb, 0xf6, 0x2f, 0x06, 0x60, 0xa8, 0xff, 0xa5, 0xed, 0xce, 0xb6, 0xa5, 0x28, 0xf4, 0x05, 0xb4, 0x74, 0x1a }; /* Little endian */ uint8_t ecdsa192_pub_x[] = { 0xb1, 0x9c, 0x10, 0x21, 0x5d, 0x56, 0x59, 0x74, 0x34, 0x33, 0x23, 0xab, 0x82, 0x7b, 0x63, 0x1e, 0xc0, 0xf4, 0xaa, 0x5d, 0xe7, 0x6f, 0x3f, 0xd0 }; /* Little endian */ uint8_t ecdsa192_pub_y[] = { 0xc2, 0x87, 0x5c, 0x46, 0xad, 0x23, 0x4b, 0x7e, 0xde, 0xc2, 0xdc, 0x74, 0xf3, 0xfd, 0x09, 0x74, 0xbe, 0xc4, 0xbc, 0x65, 0xcb, 0x76, 0xfc, 0x85 };