diff options
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | cryptech.h | 14 | ||||
-rw-r--r-- | modexp.c | 215 | ||||
-rw-r--r-- | tests/test-rsa.c | 156 | ||||
-rw-r--r-- | tests/test-rsa.h | 1144 |
5 files changed, 731 insertions, 800 deletions
diff --git a/Makefile.in b/Makefile.in index ac3663d..2e86815 100644 --- a/Makefile.in +++ b/Makefile.in @@ -29,7 +29,7 @@ INC = cryptech.h LIB = libcryptech.a -OBJ = ${IO_OBJ} csprng.o hash.o aes_keywrap.o pbkdf2.o errorstrings.o +OBJ = ${IO_OBJ} csprng.o hash.o aes_keywrap.o pbkdf2.o modexp.o errorstrings.o IO_OBJ = ${IO_OBJ_@FPGA_BUS@} IO_OBJ_EIM = hal_io_eim.o novena-eim.o @@ -583,6 +583,20 @@ extern hal_error_t hal_pbkdf2(const hal_hash_descriptor_t * const descriptor, uint8_t * derived_key, const size_t derived_key_length, unsigned iterations_desired); +/* + * Modular exponentiation. + */ + +extern void hal_modexp_set_debug(const int onoff); + +extern hal_error_t hal_modexp(const uint8_t * const msg, const size_t msg_len, /* Message */ + const uint8_t * const exp, const size_t exp_len, /* Exponent */ + const uint8_t * const mod, const size_t mod_len, /* Modulus */ + uint8_t * result, const size_t result_len); + + + + #endif /* _CRYPTECH_H_ */ /* diff --git a/modexp.c b/modexp.c new file mode 100644 index 0000000..7444d57 --- /dev/null +++ b/modexp.c @@ -0,0 +1,215 @@ +/* + * modexp.c + * ---------- + * Wrapper around Cryptech ModExp core. + * + * This doesn't do full RSA, that's another module. This module's job + * is just the I/O to get bits in and out of the ModExp core, including + * compensating for a few known bugs that haven't been resolved yet. + * + * If at some point the interface to the ModExp core becomes simple + * enough that this module is no longer needed, it will go away. + * + * Authors: Rob Austein + * Copyright (c) 2015, SUNET + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include <stdio.h> +#include <stdint.h> +#include <stdlib.h> +#include <string.h> +#include <assert.h> + +#include "cryptech.h" + +/* + * Whether we want debug output. + */ + +static int debug = 0; + +void hal_modexp_set_debug(const int onoff) +{ + debug = onoff; +} + +/* + * Check a result, report on failure if debugging, pass failures up + * the chain. + */ + +#define check(_expr_) \ + do { \ + hal_error_t _err = (_expr_); \ + if (_err != HAL_OK && debug) \ + printf("%s failed: %s\n", #_expr_, hal_error_string(_err)); \ + if (_err != HAL_OK) \ + return _err; \ + } while (0) + +/* + * Set an ordinary register. + */ + +static hal_error_t set_register(const off_t addr, + uint32_t value) +{ + uint8_t w[4]; + int i; + + for (i = 3; i >= 0; i--) { + w[i] = value & 0xFF; + value >>= 8; + } + + return hal_io_write(addr, w, sizeof(w)); +} + +/* + * Get value of a block memory. + */ + +static hal_error_t get_blockmem(const off_t reset_addr, + const off_t data_addr, + uint8_t *value, + const size_t length, + const size_t io_len) +{ + uint8_t discard[4]; + size_t i; + + assert(value != NULL && length % 4 == 0); + + assert(io_len >= length && io_len % 4 == 0); + + check(set_register(reset_addr, 1)); + + for (i = 0; i < io_len - length; i += 4) { + check(hal_io_read(data_addr, discard, 4)); + if (discard[0] != 0 || discard[1] != 0 || discard[2] != 0 || discard[3] != 0) + return HAL_ERROR_IO_UNEXPECTED; + } + + for (i = 0; i < length; i += 4) + check(hal_io_read(data_addr, &value[i], 4)); + + return HAL_OK; +} + +/* + * Set value of a block memory. + */ + +static hal_error_t set_blockmem(const off_t reset_addr, + const off_t data_addr, + const uint8_t * const value, + const size_t length, + const size_t io_len) +{ + const uint8_t zero[4] = { 0, 0, 0, 0 }; + size_t i; + + assert(value != NULL && length % 4 == 0); + + assert(io_len >= length && io_len % 4 == 0); + + check(set_register(reset_addr, 1)); + + for (i = 0; i < io_len - length; i += 4) + check(hal_io_write(data_addr, zero, 4)); + + for (i = 0; i < length; i += 4) + check(hal_io_write(data_addr, &value[i], 4)); + + return HAL_OK; +} + +/* + * Run one modexp operation. + */ + +hal_error_t hal_modexp(const uint8_t * const msg, const size_t msg_len, /* Message */ + const uint8_t * const exp, const size_t exp_len, /* Exponent */ + const uint8_t * const mod, const size_t mod_len, /* Modulus */ + uint8_t *result, const size_t result_len) +{ + /* + * All pointers must be set, neither message nor exponent may be + * longer than modulus, result buffer must not be shorter than + * modulus, and all input lengths must be a multiple of four. + * + * The multiple-of-four restriction is a pain, but the rest of the + * HAL code currently enforces the same restriction, and allowing + * arbitrary lengths would require some tedious shuffling to deal + * with alignment issues, so it's not worth trying to fix only here. + */ + + if (msg == NULL || exp == NULL || mod == NULL || result == NULL || + msg_len > mod_len || exp_len > mod_len || result_len < mod_len || + ((msg_len | exp_len | mod_len) & 3) != 0) + return HAL_ERROR_BAD_ARGUMENTS; + + /* + * This insanity is a work-around for a current bug in the ModExp + * core: we have to zero-pad everything out to the size of the + * modulus plus 32-bits. Some kind of overflow issue. All of this + * "io_len" nonsense can go away once that's fixed. + */ + + const size_t io_len = mod_len + 4; + assert((io_len & 3) == 0); + + check(set_blockmem(MODEXP_MODULUS_PTR_RST, MODEXP_MODULUS_DATA, mod, mod_len, io_len)); + check(set_blockmem(MODEXP_MESSAGE_PTR_RST, MODEXP_MESSAGE_DATA, msg, msg_len, io_len)); + check(set_register(MODEXP_MODULUS_LENGTH, mod_len / 4)); + + check(set_blockmem(MODEXP_EXPONENT_PTR_RST, MODEXP_EXPONENT_DATA, exp, exp_len, io_len)); + check(set_register(MODEXP_EXPONENT_LENGTH, exp_len / 4)); + + check(hal_io_wait_ready(MODEXP_ADDR_STATUS)); + + check(set_register(MODEXP_ADDR_CTRL, 1)); + + /* + * ModExp core is not very fast (yet), so wait a long time for a + * response, but not forever. + */ + + int timeout = 0x7FFFFFFF; + check(hal_io_wait(MODEXP_ADDR_STATUS, STATUS_READY, &timeout)); + + check(get_blockmem(MODEXP_RESULT_PTR_RST, MODEXP_RESULT_DATA, result, mod_len, io_len)); + + return HAL_OK; +} + +/* + * Local variables: + * indent-tabs-mode: nil + * End: + */ diff --git a/tests/test-rsa.c b/tests/test-rsa.c index dc1a722..5491399 100644 --- a/tests/test-rsa.c +++ b/tests/test-rsa.c @@ -48,107 +48,6 @@ #include "test-rsa.h" /* - * Constant value to use with hal_io_write() when we don't want - * a read-back check thus aren't using set_register(). - */ - -static const uint8_t one[] = { 0, 0, 0, 1 }; - -/* - * Debugging aid: check a result, report on failure. - */ - -#define check(_expr_) \ - do { \ - if ((_expr_) != 0) \ - return printf("%s failed\n", #_expr_), 1; \ - } while (0) - -/* - * Set an ordinary register, with read-back check. - */ - -static int _set_register(const off_t addr, - const char * const name, - uint32_t value) -{ - uint8_t w1[4], w2[4]; - int i; - assert(name != NULL); - for (i = 3; i >= 0; i--) { - w1[i] = value & 0xFF; - value >>= 8; - } - printf("Setting register %#lx %s...\n", (unsigned long) addr, name); - check(hal_io_write(addr, w1, sizeof(w1))); - check(hal_io_read(addr, w2, sizeof(w2))); - if (memcmp(w1, w2, sizeof(w1)) != 0) - printf("MISMATCH\n"); - return 0; -} - -/* - * Get value of a block memory. - */ - -static int _get_blockmem(const off_t reset_addr, - const char * const reset_name, - const off_t data_addr, - const char * const data_name, - uint8_t *value, - const size_t length) -{ - size_t i; - assert(reset_name != NULL && data_name != NULL && value != NULL && length % 4 == 0); - printf("Setting register %#lx %s...\n", (unsigned long) reset_addr, reset_name); - check(hal_io_write(reset_addr, one, sizeof(one))); - printf("Getting blockmem %#lx %s...\n", (unsigned long) data_addr, data_name); - for (i = 0; i < length; i += 4) - check(hal_io_read(data_addr, &value[i], 4)); - return 0; -} - -/* - * Set value of a block memory, with read-back check. - */ - -static int _set_blockmem(const off_t reset_addr, - const char * const reset_name, - const off_t data_addr, - const char * const data_name, - const uint8_t * const value, - const size_t value_length, - uint8_t *buffer, - const size_t buffer_length) -{ - size_t i; - assert(reset_name != NULL && data_name != NULL && value != NULL && buffer_length >= value_length && value_length % 4 == 0); - printf("Setting register %#lx %s...\n", (unsigned long) reset_addr, reset_name); - check(hal_io_write(reset_addr, one, sizeof(one))); - printf("Setting blockmem %#lx %s...\n", (unsigned long) data_addr, data_name); - for (i = 0; i < value_length; i += 4) - check(hal_io_write(data_addr, &value[i], 4)); - check(_get_blockmem(reset_addr, reset_name, data_addr, data_name, buffer, value_length)); - if (memcmp(value, buffer, value_length)) - printf("MISMATCH\n"); - printf("\n"); - return 0; -} - -/* - * Syntactic sugar. - */ - -#define set_register(_field_, _value_) \ - _set_register(_field_, #_field_, _value_) - -#define get_blockmem(_field_, _value_, _length_) \ - _get_blockmem(_field_##_PTR_RST, #_field_ "_PTR_RST", _field_##_DATA, #_field_ "_DATA", _value_, _length_) - -#define set_blockmem(_field_, _value_, _buffer_) \ - _set_blockmem(_field_##_PTR_RST, #_field_ "_PTR_RST", _field_##_DATA, #_field_ "_DATA", (_value_).val, (_value_).len, _buffer_, sizeof(_buffer_)) - -/* * Run one modexp test. */ @@ -158,43 +57,23 @@ static int test_modexp(const char * const kind, const rsa_tc_bn_t * const exp, /* Exponent */ const rsa_tc_bn_t * const val) /* Expected result */ { - uint8_t b[4096]; - - hal_io_set_debug(1); + uint8_t result[tc->n.len]; printf("%s test for %lu-bit RSA key\n", kind, (unsigned long) tc->size); - check(set_blockmem(MODEXP_MODULUS, tc->n, b)); - check(set_blockmem(MODEXP_MESSAGE, (*msg), b)); - check(set_register(MODEXP_MODULUS_LENGTH, tc->n.len / 4)); - - check(set_blockmem(MODEXP_EXPONENT, (*exp), b)); - check(set_register(MODEXP_EXPONENT_LENGTH, val->len / 4)); - - printf("Checking ready status\n"); - check(hal_io_wait_ready(MODEXP_ADDR_STATUS)); - printf("\n"); - - check(set_register(MODEXP_ADDR_CTRL, 1)); - - hal_io_set_debug(0); - - printf("Waiting for ready\n"); - check(hal_io_wait(MODEXP_ADDR_STATUS, STATUS_READY, NULL)); - printf("\n"); - - hal_io_set_debug(1); - - check(get_blockmem(MODEXP_RESULT, b, tc->n.len)); + if (hal_modexp(msg->val, msg->len, exp->val, exp->len, + tc->n.val, tc->n.len, result, sizeof(result)) != HAL_OK) { + printf("ModExp failed\n"); + return 0; + } - printf("Comparing results with known value..."); - if (memcmp(b, val->val, val->len)) + if (memcmp(result, val->val, val->len)) { printf("MISMATCH\n"); - else - printf("OK\n"); - printf("\n"); + return 0; + } - return 0; + printf("OK\n"); + return 1; } /* @@ -210,22 +89,29 @@ static int test_rsa(const rsa_tc_t * const tc) int main(int argc, char *argv[]) { uint8_t name[8], version[4]; + hal_error_t err; int i; /* * Initialize EIM and report what core we're running. */ - check(hal_io_read(MODEXP_ADDR_NAME0, name, sizeof(name))); - check(hal_io_read(MODEXP_ADDR_VERSION, version, sizeof(version))); + if ((err = hal_io_read(MODEXP_ADDR_NAME0, name, sizeof(name))) != HAL_OK || + (err = hal_io_read(MODEXP_ADDR_VERSION, version, sizeof(version))) != HAL_OK) { + printf("Initialization failed: %s\n", hal_error_string(err)); + return 1; + } + printf("\"%8.8s\" \"%4.4s\"\n\n", name, version); /* * Run the test cases. */ + hal_modexp_set_debug(1); + for (i = 0; i < (sizeof(rsa_tc)/sizeof(*rsa_tc)); i++) - if (test_rsa(&rsa_tc[i])) + if (!test_rsa(&rsa_tc[i])) return 1; return 0; diff --git a/tests/test-rsa.h b/tests/test-rsa.h index 419178d..393d01e 100644 --- a/tests/test-rsa.h +++ b/tests/test-rsa.h @@ -8,318 +8,239 @@ /* 1024-bit RSA private key (PKCS #8) -----BEGIN PRIVATE KEY----- -MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBANliXkTM3jI5SxKr -7kUSfD/xIdfaiNZ/f09TlO+pjtFFn6rjQuBMCkCYtNZE/j5H9Q7r9ecPAvxUTm7y -mYBShzP5cuaZG1g6rej7ThtL4m6KRnTSacmJrOkPYJUhDXLZBKRWJLc9Iz1cYDlY -pJY1p4xsuHNA2S6MbsVyqud64v9lAgMBAAECgYEAhzrDS+dqHjI3+nCMM9nRA3H8 -zKu8zjrYNr/W+dQv7Q1zyzm/A4sqIY8dh+G5i4L19odhHJDhGZlUhX5TcVllkxDm -n9DFLkliruOgGy8a3onPxnLkM0wsdGqcRmsW+AUJhBVwqkczGG8Fe54OOIL63y5c -vkcAEV3biH+7cTyI680CQQDkhbbLRZRhjSQO9WOUpDMu5fgBhpYon6eNZp/ImD77 -cKEsv/MrSNTuvfMuxcrDFJPf44H80d8BYjYN1MrWUa0bAkEA84XOcpWkAjap0eXz -0dq2ulyS7WqeVO2UWZCcVzmC1W/WLvigOnvpz+YchbMTJj898OSC082W2eRwh5FE -G7dNfwJBAK7S4MHnjBmJGZHcBv+bEpEJW88HAG85nLwfS5PxbRV818DdZBG0GTo/ -1P/uTy0o2+wHJ9WbVSjA0quIJFkLiQsCQFASZjB9DaGAsdQHhWUyQjUC7XjNPuRz -/fx5NT7k9SUTEdz9+Ulhpx6p7iT0Hc7MqqRDrtTP29MnbuzUkg1+9ycCQHmLDNrb -OTDkAkVPQw7q4e+fU/0RmsFXNG6Tov+blsaLUbW/QhVwpt90OIr+rqB1PpVnkw5V -BYkrEv7UkvPvAjg= +MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAM9bbEIr5Siz6UEE +H84ukARYDIcssB4nxuiKQ8vbfb8Ikt1o5MWQ3mZ7EgPg6KaUnq5n5hx8QtPHuAOi +HdC+YbXqr1ei61jkCUNmv9sTG61pMXnVGSm2IbOo6qLPNV/wB9jYycDMCodTBlMb +1sUvHr+60zikQygBqP7l66KSOAjFAgMBAAECgYBTemrK+QD4sfVlx1NGnlg8Z3Yj +tUnx2fGqDH/ewi6NidYWbPQs1XWzrDhEd3cyGQMJE6sALMZ6nBzo2YtHTl3nNOfU +UggVUfrXoDLaD9B2gQSWsdASo9INdeWhMvuvqpstdzUoOLCuwQw1+vNqEtYts56n +GsoygdPp+JQSb/howQJBANaCMc2e3sDvg9Vrx4CbYwKzpkeHXGaprjVEYPRo5ElE +NoJkpOSuBPBcDFN7MlZqeRe6yoADnjnD447Wld/1xMsCQQD3dxxEfU7hldoB72C0 +FloQ1/MBeOtj6mzEqFyg7CCdz1q/AUqnUFPzP2Y6X0Ax981zUK4qmcMa45hYzxUK +VUavAkEAhqiChTcnVOzG0NJxEf35wLdwOdTyn4wDTXMYfjXeoVPN+Dsf/GJ1vUG7 +hyh+aBs82zWqa4RZ7p9XGdMBkO9i0wJAPgr35FgCYd5/JQMOHLiJ5jUuMM1PPuK0 +WG3Zo2LwHoCxQLgjLmWeVpsrlzDwWFbHhMTSlc2tM92iAYoRvWB58wJBAMoMTfsE +byoZgUGzccsq1qeNm0qMPfozT79WeCQBAn6Cd8SQ/jJlxBxm9Tf8qZ4ZQ0LteghV +SEDvFWBAZretHN0= -----END PRIVATE KEY----- */ -static const uint8_t n_1024[] = { /* key component n, 132 bytes */ - 0x00, 0x00, 0x00, 0x00, 0xd9, 0x62, 0x5e, 0x44, 0xcc, 0xde, 0x32, 0x39, - 0x4b, 0x12, 0xab, 0xee, 0x45, 0x12, 0x7c, 0x3f, 0xf1, 0x21, 0xd7, 0xda, - 0x88, 0xd6, 0x7f, 0x7f, 0x4f, 0x53, 0x94, 0xef, 0xa9, 0x8e, 0xd1, 0x45, - 0x9f, 0xaa, 0xe3, 0x42, 0xe0, 0x4c, 0x0a, 0x40, 0x98, 0xb4, 0xd6, 0x44, - 0xfe, 0x3e, 0x47, 0xf5, 0x0e, 0xeb, 0xf5, 0xe7, 0x0f, 0x02, 0xfc, 0x54, - 0x4e, 0x6e, 0xf2, 0x99, 0x80, 0x52, 0x87, 0x33, 0xf9, 0x72, 0xe6, 0x99, - 0x1b, 0x58, 0x3a, 0xad, 0xe8, 0xfb, 0x4e, 0x1b, 0x4b, 0xe2, 0x6e, 0x8a, - 0x46, 0x74, 0xd2, 0x69, 0xc9, 0x89, 0xac, 0xe9, 0x0f, 0x60, 0x95, 0x21, - 0x0d, 0x72, 0xd9, 0x04, 0xa4, 0x56, 0x24, 0xb7, 0x3d, 0x23, 0x3d, 0x5c, - 0x60, 0x39, 0x58, 0xa4, 0x96, 0x35, 0xa7, 0x8c, 0x6c, 0xb8, 0x73, 0x40, - 0xd9, 0x2e, 0x8c, 0x6e, 0xc5, 0x72, 0xaa, 0xe7, 0x7a, 0xe2, 0xff, 0x65 +static const uint8_t n_1024[] = { /* key component n, 128 bytes */ + 0xcf, 0x5b, 0x6c, 0x42, 0x2b, 0xe5, 0x28, 0xb3, 0xe9, 0x41, 0x04, 0x1f, + 0xce, 0x2e, 0x90, 0x04, 0x58, 0x0c, 0x87, 0x2c, 0xb0, 0x1e, 0x27, 0xc6, + 0xe8, 0x8a, 0x43, 0xcb, 0xdb, 0x7d, 0xbf, 0x08, 0x92, 0xdd, 0x68, 0xe4, + 0xc5, 0x90, 0xde, 0x66, 0x7b, 0x12, 0x03, 0xe0, 0xe8, 0xa6, 0x94, 0x9e, + 0xae, 0x67, 0xe6, 0x1c, 0x7c, 0x42, 0xd3, 0xc7, 0xb8, 0x03, 0xa2, 0x1d, + 0xd0, 0xbe, 0x61, 0xb5, 0xea, 0xaf, 0x57, 0xa2, 0xeb, 0x58, 0xe4, 0x09, + 0x43, 0x66, 0xbf, 0xdb, 0x13, 0x1b, 0xad, 0x69, 0x31, 0x79, 0xd5, 0x19, + 0x29, 0xb6, 0x21, 0xb3, 0xa8, 0xea, 0xa2, 0xcf, 0x35, 0x5f, 0xf0, 0x07, + 0xd8, 0xd8, 0xc9, 0xc0, 0xcc, 0x0a, 0x87, 0x53, 0x06, 0x53, 0x1b, 0xd6, + 0xc5, 0x2f, 0x1e, 0xbf, 0xba, 0xd3, 0x38, 0xa4, 0x43, 0x28, 0x01, 0xa8, + 0xfe, 0xe5, 0xeb, 0xa2, 0x92, 0x38, 0x08, 0xc5 }; -static const uint8_t e_1024[] = { /* key component e, 132 bytes */ - 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, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01 +static const uint8_t e_1024[] = { /* key component e, 4 bytes */ + 0x00, 0x01, 0x00, 0x01 }; -static const uint8_t d_1024[] = { /* key component d, 132 bytes */ - 0x00, 0x00, 0x00, 0x00, 0x87, 0x3a, 0xc3, 0x4b, 0xe7, 0x6a, 0x1e, 0x32, - 0x37, 0xfa, 0x70, 0x8c, 0x33, 0xd9, 0xd1, 0x03, 0x71, 0xfc, 0xcc, 0xab, - 0xbc, 0xce, 0x3a, 0xd8, 0x36, 0xbf, 0xd6, 0xf9, 0xd4, 0x2f, 0xed, 0x0d, - 0x73, 0xcb, 0x39, 0xbf, 0x03, 0x8b, 0x2a, 0x21, 0x8f, 0x1d, 0x87, 0xe1, - 0xb9, 0x8b, 0x82, 0xf5, 0xf6, 0x87, 0x61, 0x1c, 0x90, 0xe1, 0x19, 0x99, - 0x54, 0x85, 0x7e, 0x53, 0x71, 0x59, 0x65, 0x93, 0x10, 0xe6, 0x9f, 0xd0, - 0xc5, 0x2e, 0x49, 0x62, 0xae, 0xe3, 0xa0, 0x1b, 0x2f, 0x1a, 0xde, 0x89, - 0xcf, 0xc6, 0x72, 0xe4, 0x33, 0x4c, 0x2c, 0x74, 0x6a, 0x9c, 0x46, 0x6b, - 0x16, 0xf8, 0x05, 0x09, 0x84, 0x15, 0x70, 0xaa, 0x47, 0x33, 0x18, 0x6f, - 0x05, 0x7b, 0x9e, 0x0e, 0x38, 0x82, 0xfa, 0xdf, 0x2e, 0x5c, 0xbe, 0x47, - 0x00, 0x11, 0x5d, 0xdb, 0x88, 0x7f, 0xbb, 0x71, 0x3c, 0x88, 0xeb, 0xcd +static const uint8_t d_1024[] = { /* key component d, 128 bytes */ + 0x53, 0x7a, 0x6a, 0xca, 0xf9, 0x00, 0xf8, 0xb1, 0xf5, 0x65, 0xc7, 0x53, + 0x46, 0x9e, 0x58, 0x3c, 0x67, 0x76, 0x23, 0xb5, 0x49, 0xf1, 0xd9, 0xf1, + 0xaa, 0x0c, 0x7f, 0xde, 0xc2, 0x2e, 0x8d, 0x89, 0xd6, 0x16, 0x6c, 0xf4, + 0x2c, 0xd5, 0x75, 0xb3, 0xac, 0x38, 0x44, 0x77, 0x77, 0x32, 0x19, 0x03, + 0x09, 0x13, 0xab, 0x00, 0x2c, 0xc6, 0x7a, 0x9c, 0x1c, 0xe8, 0xd9, 0x8b, + 0x47, 0x4e, 0x5d, 0xe7, 0x34, 0xe7, 0xd4, 0x52, 0x08, 0x15, 0x51, 0xfa, + 0xd7, 0xa0, 0x32, 0xda, 0x0f, 0xd0, 0x76, 0x81, 0x04, 0x96, 0xb1, 0xd0, + 0x12, 0xa3, 0xd2, 0x0d, 0x75, 0xe5, 0xa1, 0x32, 0xfb, 0xaf, 0xaa, 0x9b, + 0x2d, 0x77, 0x35, 0x28, 0x38, 0xb0, 0xae, 0xc1, 0x0c, 0x35, 0xfa, 0xf3, + 0x6a, 0x12, 0xd6, 0x2d, 0xb3, 0x9e, 0xa7, 0x1a, 0xca, 0x32, 0x81, 0xd3, + 0xe9, 0xf8, 0x94, 0x12, 0x6f, 0xf8, 0x68, 0xc1 }; -static const uint8_t p_1024[] = { /* key component p, 132 bytes */ - 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, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe4, 0x85, 0xb6, 0xcb, - 0x45, 0x94, 0x61, 0x8d, 0x24, 0x0e, 0xf5, 0x63, 0x94, 0xa4, 0x33, 0x2e, - 0xe5, 0xf8, 0x01, 0x86, 0x96, 0x28, 0x9f, 0xa7, 0x8d, 0x66, 0x9f, 0xc8, - 0x98, 0x3e, 0xfb, 0x70, 0xa1, 0x2c, 0xbf, 0xf3, 0x2b, 0x48, 0xd4, 0xee, - 0xbd, 0xf3, 0x2e, 0xc5, 0xca, 0xc3, 0x14, 0x93, 0xdf, 0xe3, 0x81, 0xfc, - 0xd1, 0xdf, 0x01, 0x62, 0x36, 0x0d, 0xd4, 0xca, 0xd6, 0x51, 0xad, 0x1b +static const uint8_t p_1024[] = { /* key component p, 64 bytes */ + 0xd6, 0x82, 0x31, 0xcd, 0x9e, 0xde, 0xc0, 0xef, 0x83, 0xd5, 0x6b, 0xc7, + 0x80, 0x9b, 0x63, 0x02, 0xb3, 0xa6, 0x47, 0x87, 0x5c, 0x66, 0xa9, 0xae, + 0x35, 0x44, 0x60, 0xf4, 0x68, 0xe4, 0x49, 0x44, 0x36, 0x82, 0x64, 0xa4, + 0xe4, 0xae, 0x04, 0xf0, 0x5c, 0x0c, 0x53, 0x7b, 0x32, 0x56, 0x6a, 0x79, + 0x17, 0xba, 0xca, 0x80, 0x03, 0x9e, 0x39, 0xc3, 0xe3, 0x8e, 0xd6, 0x95, + 0xdf, 0xf5, 0xc4, 0xcb }; -static const uint8_t q_1024[] = { /* key component q, 132 bytes */ - 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, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf3, 0x85, 0xce, 0x72, - 0x95, 0xa4, 0x02, 0x36, 0xa9, 0xd1, 0xe5, 0xf3, 0xd1, 0xda, 0xb6, 0xba, - 0x5c, 0x92, 0xed, 0x6a, 0x9e, 0x54, 0xed, 0x94, 0x59, 0x90, 0x9c, 0x57, - 0x39, 0x82, 0xd5, 0x6f, 0xd6, 0x2e, 0xf8, 0xa0, 0x3a, 0x7b, 0xe9, 0xcf, - 0xe6, 0x1c, 0x85, 0xb3, 0x13, 0x26, 0x3f, 0x3d, 0xf0, 0xe4, 0x82, 0xd3, - 0xcd, 0x96, 0xd9, 0xe4, 0x70, 0x87, 0x91, 0x44, 0x1b, 0xb7, 0x4d, 0x7f +static const uint8_t q_1024[] = { /* key component q, 64 bytes */ + 0xf7, 0x77, 0x1c, 0x44, 0x7d, 0x4e, 0xe1, 0x95, 0xda, 0x01, 0xef, 0x60, + 0xb4, 0x16, 0x5a, 0x10, 0xd7, 0xf3, 0x01, 0x78, 0xeb, 0x63, 0xea, 0x6c, + 0xc4, 0xa8, 0x5c, 0xa0, 0xec, 0x20, 0x9d, 0xcf, 0x5a, 0xbf, 0x01, 0x4a, + 0xa7, 0x50, 0x53, 0xf3, 0x3f, 0x66, 0x3a, 0x5f, 0x40, 0x31, 0xf7, 0xcd, + 0x73, 0x50, 0xae, 0x2a, 0x99, 0xc3, 0x1a, 0xe3, 0x98, 0x58, 0xcf, 0x15, + 0x0a, 0x55, 0x46, 0xaf }; -static const uint8_t u_1024[] = { /* key component u, 132 bytes */ - 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, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x72, 0x00, 0x57, 0xd6, - 0x1a, 0xc0, 0x80, 0x90, 0xa6, 0x42, 0x64, 0x11, 0x15, 0xc0, 0x75, 0xd7, - 0x13, 0x61, 0x63, 0xe2, 0x48, 0x0a, 0x6c, 0x72, 0x43, 0x09, 0x7a, 0xfa, - 0x9a, 0x7d, 0xfb, 0x3e, 0x97, 0x41, 0x4a, 0x7b, 0x5b, 0x13, 0x47, 0xf2, - 0x6b, 0x4f, 0xea, 0xd7, 0x37, 0x05, 0x0a, 0x25, 0xe0, 0x34, 0xcd, 0x3f, - 0x3d, 0x65, 0xc8, 0xe8, 0xdc, 0xfe, 0x2d, 0xfd, 0xc5, 0x9f, 0x58, 0xba +static const uint8_t u_1024[] = { /* key component u, 64 bytes */ + 0x0e, 0x5f, 0xfa, 0x8f, 0xc2, 0x63, 0x09, 0xa1, 0x88, 0xd8, 0xd7, 0x75, + 0x34, 0xa9, 0x21, 0xee, 0xab, 0xd9, 0xe2, 0x59, 0x17, 0xe4, 0x47, 0xd8, + 0xa0, 0x7e, 0x71, 0x6e, 0x8a, 0x47, 0x4e, 0x49, 0xe8, 0x16, 0x3a, 0x0e, + 0xdb, 0x24, 0xbb, 0x35, 0x6a, 0x69, 0xef, 0xa2, 0x50, 0x84, 0x1e, 0x8f, + 0xbb, 0xec, 0xdb, 0xec, 0x94, 0x94, 0x58, 0xc0, 0xe4, 0x2a, 0xa8, 0x24, + 0x8b, 0x15, 0xdb, 0xb9 }; -static const uint8_t m_1024[] = { /* message to be signed, 132 bytes */ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, +static const uint8_t m_1024[] = { /* message to be signed, 128 bytes */ + 0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x30, 0x31, 0x30, - 0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, - 0x05, 0x00, 0x04, 0x20, 0x8e, 0x36, 0xfc, 0x9a, 0xa3, 0x17, 0x24, 0xc3, - 0x24, 0x16, 0x26, 0x3c, 0x03, 0x66, 0xa1, 0x75, 0xfa, 0xbb, 0xb9, 0x2b, - 0x74, 0x1c, 0xa6, 0x49, 0x61, 0x07, 0x07, 0x4d, 0x03, 0x43, 0xb5, 0x97 + 0xff, 0xff, 0xff, 0xff, 0x00, 0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, + 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20, + 0x8e, 0x36, 0xfc, 0x9a, 0xa3, 0x17, 0x24, 0xc3, 0x24, 0x16, 0x26, 0x3c, + 0x03, 0x66, 0xa1, 0x75, 0xfa, 0xbb, 0xb9, 0x2b, 0x74, 0x1c, 0xa6, 0x49, + 0x61, 0x07, 0x07, 0x4d, 0x03, 0x43, 0xb5, 0x97 }; -static const uint8_t s_1024[] = { /* signed message, 132 bytes */ - 0x00, 0x00, 0x00, 0x00, 0xb9, 0x43, 0x65, 0xe2, 0x94, 0x98, 0x85, 0x2d, - 0x9c, 0x6b, 0xd4, 0x76, 0xaa, 0xda, 0xdd, 0x96, 0xf4, 0xa9, 0x99, 0xf1, - 0x1f, 0xf9, 0x70, 0xfc, 0x44, 0xc5, 0x05, 0x6c, 0x23, 0xd5, 0xb5, 0x7b, - 0xe4, 0x38, 0xf8, 0xb5, 0xb0, 0x83, 0xb2, 0xc1, 0xb3, 0xac, 0xd3, 0x47, - 0x24, 0xaa, 0xbf, 0x0a, 0x77, 0x4c, 0x9f, 0x17, 0xcb, 0x28, 0x15, 0x70, - 0x0b, 0x6d, 0xf7, 0x92, 0xda, 0x56, 0x73, 0x5f, 0xbf, 0xbf, 0x9e, 0x78, - 0xd2, 0xcc, 0xca, 0xc8, 0xee, 0x03, 0x17, 0x1e, 0x39, 0xcc, 0x67, 0xa5, - 0x9b, 0x36, 0xea, 0x78, 0x07, 0x9e, 0x64, 0x03, 0x15, 0x1f, 0x01, 0xd6, - 0xb6, 0xf0, 0x8d, 0xce, 0xbe, 0x46, 0xed, 0xbc, 0x91, 0x6a, 0x56, 0x3f, - 0x6a, 0x40, 0xc9, 0xb7, 0x62, 0xc4, 0xed, 0xdd, 0xda, 0x04, 0x79, 0xdf, - 0x3b, 0x54, 0x9e, 0x76, 0x14, 0x9a, 0x1a, 0xa9, 0xb0, 0xbd, 0x01, 0xe5 +static const uint8_t s_1024[] = { /* signed message, 128 bytes */ + 0xbf, 0x03, 0xe7, 0x1a, 0x8f, 0x16, 0xe5, 0xad, 0xe8, 0x1b, 0xcc, 0xcf, + 0x9f, 0x3a, 0x4f, 0xc6, 0xd4, 0x14, 0xca, 0xae, 0x37, 0x9b, 0xc4, 0x4b, + 0x40, 0x13, 0xbf, 0x94, 0x9a, 0xea, 0xc1, 0x6c, 0x6c, 0x1a, 0xad, 0xeb, + 0xa2, 0x8e, 0xd7, 0xd6, 0xe8, 0x19, 0xfb, 0xf5, 0xd3, 0xe4, 0xdd, 0xd0, + 0xa5, 0xd4, 0x41, 0x44, 0xb6, 0xda, 0xff, 0x9b, 0x42, 0x19, 0xf7, 0x30, + 0x0e, 0x2e, 0x0e, 0x31, 0x6a, 0xf0, 0xc2, 0xfc, 0xa0, 0x8f, 0x23, 0x17, + 0xc2, 0x69, 0xf2, 0xe7, 0x11, 0x33, 0x8f, 0x37, 0x14, 0x5f, 0xdf, 0xb0, + 0x54, 0xdc, 0x36, 0x77, 0xc3, 0xc9, 0x64, 0x2a, 0x87, 0xd0, 0xa7, 0x78, + 0xd5, 0x5b, 0xdf, 0xd2, 0x68, 0x96, 0xaa, 0xb2, 0x6b, 0xfb, 0x99, 0x20, + 0x82, 0xa6, 0xfb, 0xcd, 0x03, 0x1a, 0xf3, 0x60, 0xc1, 0x5b, 0x5e, 0x92, + 0x57, 0xc6, 0x08, 0x92, 0x74, 0x40, 0x62, 0x6c }; /* 2048-bit RSA private key (PKCS #8) -----BEGIN PRIVATE KEY----- -MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCwMHo+oMh6XH8D -gDKe7Jvut1388f7NUzG/1i98W+aX9ljSRJ3LIO02wRMDNIffLMSAhCD+0QVAibiH -hBhDrXGBBbEWVw/moH1tecVng/wX1nWIdVeyvGZCRPTXJKIXdtE0+Z4oOP+aYBVe -EfP85xHMAhOUKuULNXYE64qATTUm8TTtdW8czXetJEpNG8OHrS3HkzMRxN15ji6z -jJR1TCHKvPZNFz1fOg4XWispFNrO0K2q4HtTnShsZnsJvM5HlYWbSoNetbsCWspY -cvoMtiQL70M7ffSav8M04ud43my0T6PhSt7qSyUJJ30ajUTAfePw9qTfcdT+axUK -KP6+s6xRAgMBAAECggEBAJt4+7ZeHOpUysPlEUZKFkNtTaPSS30V57WXpGmBkxcP -jEtnv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sBTb78V +Zg5pYaofF4yN0u4Gk1Ea6ouvx+xWJti8oiXwoBBPNOG+dRdizgSAPVi7fikcNuqu +9xkz2FjiL3p3taU/awM+FpGLcjK/5ldkB7VWYawikMsIO2l6XF7ViubJgHpKrEnC +v2eHuiEQCwKBgDQGwhR5Zimas8rbSw5Pzv/4ffMoBT6mL1gIlz1IfwLajiApZ3oU +cp6g7bHOtR8+3yNS7j/3478PbRGX7gsvhbz5zOSprGMiqrB19CchSCmwoqxZrD2Q +F44NbdnHkLOBdGc1tUE/qi1nqUXS/zEgzDs+E0GZukhofNsIF7mcHUQhAoGBALD3 +0Ubus7k4s6KxUx4KJm3k20rAhFqF6E2wERZowkbszw+2oIqeEVcSaQRfdwW96E+5 +ibCgQNN84QdEzStjzOzpu7v5wdle8tWym6oGBN0CxcXFOgB95WAK8MHKLR59nFwS +iU1lPuuz/UWqohU0VGfTSkHuSA/OKt8EBRAvMLhFAoGAdMNlyleBbjleJ2tc3C53 +51SquntS88Y/Owfx6uuyxhXaVkE2XdCl/BemooizyF0WdVtMhff2jlVMdsAbDqOd +rVYdgfOHjEhpMa3Z1afzlAC06RLsl+gN2B76Mv/mnv0izdS4T/AcUfuUvPstyw++ +AeFZS9WhiXZXniFPQpskWic= -----END PRIVATE KEY----- */ -static const uint8_t n_2048[] = { /* key component n, 260 bytes */ - 0x00, 0x00, 0x00, 0x00, 0xb0, 0x30, 0x7a, 0x3e, 0xa0, 0xc8, 0x7a, 0x5c, - 0x7f, 0x03, 0x80, 0x32, 0x9e, 0xec, 0x9b, 0xee, 0xb7, 0x5d, 0xfc, 0xf1, - 0xfe, 0xcd, 0x53, 0x31, 0xbf, 0xd6, 0x2f, 0x7c, 0x5b, 0xe6, 0x97, 0xf6, - 0x58, 0xd2, 0x44, 0x9d, 0xcb, 0x20, 0xed, 0x36, 0xc1, 0x13, 0x03, 0x34, - 0x87, 0xdf, 0x2c, 0xc4, 0x80, 0x84, 0x20, 0xfe, 0xd1, 0x05, 0x40, 0x89, - 0xb8, 0x87, 0x84, 0x18, 0x43, 0xad, 0x71, 0x81, 0x05, 0xb1, 0x16, 0x57, - 0x0f, 0xe6, 0xa0, 0x7d, 0x6d, 0x79, 0xc5, 0x67, 0x83, 0xfc, 0x17, 0xd6, - 0x75, 0x88, 0x75, 0x57, 0xb2, 0xbc, 0x66, 0x42, 0x44, 0xf4, 0xd7, 0x24, - 0xa2, 0x17, 0x76, 0xd1, 0x34, 0xf9, 0x9e, 0x28, 0x38, 0xff, 0x9a, 0x60, - 0x15, 0x5e, 0x11, 0xf3, 0xfc, 0xe7, 0x11, 0xcc, 0x02, 0x13, 0x94, 0x2a, - 0xe5, 0x0b, 0x35, 0x76, 0x04, 0xeb, 0x8a, 0x80, 0x4d, 0x35, 0x26, 0xf1, - 0x34, 0xed, 0x75, 0x6f, 0x1c, 0xcd, 0x77, 0xad, 0x24, 0x4a, 0x4d, 0x1b, - 0xc3, 0x87, 0xad, 0x2d, 0xc7, 0x93, 0x33, 0x11, 0xc4, 0xdd, 0x79, 0x8e, - 0x2e, 0xb3, 0x8c, 0x94, 0x75, 0x4c, 0x21, 0xca, 0xbc, 0xf6, 0x4d, 0x17, - 0x3d, 0x5f, 0x3a, 0x0e, 0x17, 0x5a, 0x2b, 0x29, 0x14, 0xda, 0xce, 0xd0, - 0xad, 0xaa, 0xe0, 0x7b, 0x53, 0x9d, 0x28, 0x6c, 0x66, 0x7b, 0x09, 0xbc, - 0xce, 0x47, 0x95, 0x85, 0x9b, 0x4a, 0x83, 0x5e, 0xb5, 0xbb, 0x02, 0x5a, - 0xca, 0x58, 0x72, 0xfa, 0x0c, 0xb6, 0x24, 0x0b, 0xef, 0x43, 0x3b, 0x7d, - 0xf4, 0x9a, 0xbf, 0xc3, 0x34, 0xe2, 0xe7, 0x78, 0xde, 0x6c, 0xb4, 0x4f, - 0xa3, 0xe1, 0x4a, 0xde, 0xea, 0x4b, 0x25, 0x09, 0x27, 0x7d, 0x1a, 0x8d, - 0x44, 0xc0, 0x7d, 0xe3, 0xf0, 0xf6, 0xa4, 0xdf, 0x71, 0xd4, 0xfe, 0x6b, - 0x15, 0x0a, 0x28, 0xfe, 0xbe, 0xb3, 0xac, 0x51 +static const uint8_t n_2048[] = { /* key component n, 256 bytes */ + 0x9c, 0xbc, 0x4a, 0x6c, 0x4a, 0xcd, 0x02, 0x28, 0xf7, 0x90, 0x7e, 0xc2, + 0xc7, 0x0f, 0x50, 0xff, 0xb8, 0xf9, 0x33, 0x1c, 0xd2, 0x8d, 0x8a, 0xce, + 0x0a, 0xef, 0xdb, 0x1a, 0x5c, 0x9c, 0x39, 0x31, 0x3a, 0xa8, 0x6f, 0x15, + 0x9d, 0xf2, 0x0c, 0x1f, 0x0f, 0x80, 0xed, 0x0e, 0xc0, 0xc0, 0x32, 0x77, + 0xae, 0x5d, 0xba, 0x9d, 0x53, 0x19, 0x5d, 0xa3, 0xac, 0x3b, 0x6f, 0x81, + 0x50, 0xec, 0x14, 0xde, 0xd0, 0xfa, 0xf0, 0xd0, 0xa2, 0x9b, 0xa6, 0x50, + 0x2b, 0x3f, 0x88, 0x71, 0x4b, 0xe9, 0xdc, 0x1b, 0x8f, 0x74, 0x7e, 0xd6, + 0x4c, 0x56, 0x8a, 0x1e, 0xc9, 0x8d, 0x5a, 0x2f, 0x9a, 0x5d, 0xab, 0x90, + 0x67, 0xab, 0x22, 0x62, 0x68, 0x20, 0xa6, 0x5a, 0x55, 0xd4, 0xfe, 0xcc, + 0x2c, 0x24, 0x88, 0x4e, 0x83, 0x1d, 0xb3, 0x61, 0x9b, 0x33, 0x25, 0x94, + 0x8c, 0x96, 0x08, 0x11, 0xea, 0xd2, 0x90, 0xba, 0x72, 0x03, 0xfe, 0xec, + 0x0b, 0x9d, 0x40, 0x4e, 0x59, 0xd2, 0x53, 0x40, 0x31, 0x50, 0x51, 0xf3, + 0x02, 0xcb, 0xeb, 0xb7, 0xa9, 0xf0, 0xa5, 0xdd, 0xab, 0x5e, 0x6b, 0x93, + 0x83, 0x3a, 0x9a, 0x8e, 0x6a, 0xa3, 0xc8, 0x10, 0x2d, 0xce, 0x70, 0x3d, + 0x5c, 0x05, 0x5b, 0x5e, 0x28, 0x6d, 0x47, 0xeb, 0x6f, 0x62, 0xf0, 0xfc, + 0xad, 0x78, 0xb6, 0x89, 0xc3, 0x1e, 0xc1, 0x0f, 0x65, 0xd5, 0xee, 0x3a, + 0x55, 0xe3, 0xea, 0x8d, 0x7f, 0xac, 0xb0, 0x53, 0x1f, 0xdf, 0xcd, 0x37, + 0x84, 0x23, 0x07, 0x14, 0x66, 0x0f, 0xd7, 0xfa, 0x24, 0x7a, 0xc0, 0xb0, + 0x1b, 0x21, 0x31, 0xb3, 0xee, 0x4e, 0xe9, 0x71, 0x1c, 0x7f, 0x93, 0x6c, + 0x91, 0x47, 0xff, 0x7e, 0xca, 0x0d, 0xd5, 0x14, 0x41, 0xad, 0xe1, 0x3a, + 0xf8, 0xc8, 0x64, 0xd4, 0x19, 0x20, 0xca, 0xf9, 0x94, 0x7d, 0xff, 0x0a, + 0x33, 0xda, 0x71, 0x3b }; -static const uint8_t e_2048[] = { /* key component e, 260 bytes */ - 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, 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, 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, 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, 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, 0x01, 0x00, 0x01 +static const uint8_t e_2048[] = { /* key component e, 4 bytes */ + 0x00, 0x01, 0x00, 0x01 }; -static const uint8_t d_2048[] = { /* key component d, 260 bytes */ - 0x00, 0x00, 0x00, 0x00, 0x9b, 0x78, 0xfb, 0xb6, 0x5e, 0x1c, 0xea, 0x54, - 0xca, 0xc3, 0xe5, 0x11, 0x46, 0x4a, 0x16, 0x43, 0x6d, 0x4d, 0xa3, 0xd2, - 0x4b, 0x7d, 0x15, 0xe7, 0xb5, 0x97, 0xa4, 0x69, 0x81, 0x93, 0x17, 0x0f, - 0x8c, 0x4b, 0x67, 0xbf, 0x32, 0x2b, 0x09, 0x08, 0x23, 0x11, 0xca, 0xe7, - 0x44, 0xea, 0x7b, 0xcf, 0x9e, 0x74, 0x79, 0xc5, 0x41, 0xde, 0xf7, 0x97, - 0x4f, 0xdd, 0x4d, 0x84, 0x37, 0xdc, 0x4a, 0x67, 0x87, 0x05, 0x40, 0x68, - 0x6d, 0x20, 0x9f, 0x08, 0x6f, 0x5d, 0x60, 0x03, 0xbb, 0x64, 0xee, 0x08, - 0x11, 0xc8, 0xeb, 0x7b, 0x0a, 0xbe, 0xd3, 0x21, 0xb1, 0x45, 0xb8, 0xbf, - 0x9b, 0xc5, 0x46, 0xd4, 0xcf, 0x81, 0x61, 0xbd, 0xae, 0xa6, 0x66, 0xac, - 0x58, 0xce, 0x9c, 0xdb, 0x07, 0x95, 0x43, 0x90, 0x19, 0x58, 0xfb, 0x8b, - 0x6a, 0x78, 0x1c, 0xa1, 0xdb, 0x2f, 0x9a, 0x15, 0x23, 0x8c, 0x3e, 0xa2, - 0x68, 0xee, 0x4c, 0x4c, 0xda, 0x30, 0x23, 0xe7, 0x2b, 0x7f, 0xe2, 0x93, - 0x1b, 0x2d, 0xc2, 0xc0, 0xac, 0xca, 0x5b, 0x54, 0x4c, 0xd3, 0x29, 0x5c, - 0x81, 0xc3, 0xa1, 0x92, 0xc4, 0x95, 0xdc, 0x68, 0xcd, 0x44, 0xa2, 0x92, - 0x40, 0xa3, 0x92, 0xcc, 0x6a, 0xed, 0x6a, 0x8f, 0xa9, 0x05, 0x66, 0xbc, - 0x82, 0xce, 0xe7, 0xc6, 0xfc, 0x3a, 0xad, 0x04, 0xe0, 0x88, 0x2c, 0x16, - 0x57, 0xf4, 0xb8, 0xaa, 0x58, 0x65, 0xcb, 0xd8, 0xaa, 0x0a, 0x14, 0x34, - 0x6d, 0x16, 0xac, 0x18, 0xc7, 0x5e, 0xa2, 0x25, 0xa9, 0x19, 0x0a, 0x1d, - 0x46, 0x51, 0x06, 0x1e, 0xfd, 0x23, 0xd0, 0xb4, 0xd8, 0x65, 0x5a, 0x3e, - 0xc0, 0xff, 0xd2, 0x48, 0x16, 0x78, 0xe0, 0x23, 0x95, 0xd1, 0xd5, 0xfc, - 0x82, 0x76, 0x09, 0xbb, 0x4e, 0xfb, 0x4b, 0xa5, 0x8e, 0x59, 0x85, 0x30, - 0x78, 0x7f, 0x3c, 0xaf, 0x81, 0x72, 0x19, 0xed +static const uint8_t d_2048[] = { /* key component d, 256 bytes */ + 0x72, 0xe5, 0xc9, 0x3d, 0x07, 0xbc, 0xaf, 0xc7, 0xae, 0x6c, 0x3b, 0xb0, + 0xb7, 0xd2, 0x6f, 0x93, 0x77, 0x5b, 0x1f, 0x70, 0x12, 0x9d, 0xf6, 0x52, + 0x43, 0x4c, 0x3f, 0xf7, 0x5c, 0x4a, 0x9d, 0xd6, 0x8b, 0xe4, 0xab, 0xc2, + 0x52, 0x0d, 0xfd, 0x7a, 0xcb, 0x97, 0xbc, 0xb0, 0x62, 0xf6, 0xc2, 0x48, + 0x60, 0x07, 0x8f, 0xe5, 0x02, 0xe5, 0x06, 0x73, 0x14, 0xb0, 0x61, 0x76, + 0x90, 0x06, 0xf0, 0xe9, 0xc2, 0x93, 0x22, 0xf4, 0x1f, 0x30, 0x31, 0x44, + 0x75, 0xdf, 0xd6, 0x3b, 0x0f, 0xe6, 0x79, 0x17, 0xaf, 0x1b, 0x3c, 0x5c, + 0x06, 0x8c, 0x2e, 0x26, 0x91, 0xa4, 0x50, 0xa7, 0xb2, 0xe6, 0xd5, 0xfd, + 0x3f, 0x32, 0x02, 0x3b, 0xd7, 0x8f, 0x8f, 0xc3, 0x8b, 0x46, 0x60, 0x1e, + 0xf6, 0x81, 0x35, 0x77, 0x30, 0xc1, 0x16, 0x1e, 0x08, 0x72, 0xff, 0x2a, + 0x9d, 0xc0, 0xe2, 0x5b, 0x98, 0x24, 0x12, 0x39, 0xa4, 0xc9, 0xd7, 0x7c, + 0x37, 0x84, 0x9a, 0xe4, 0xfc, 0xa6, 0xaa, 0xe1, 0xc0, 0x47, 0xc3, 0x33, + 0xa3, 0x70, 0x80, 0xf5, 0xf6, 0xf6, 0x68, 0x91, 0x0b, 0x38, 0x4a, 0x01, + 0xf7, 0x0d, 0x92, 0xd9, 0x10, 0x9a, 0xdf, 0xb0, 0x24, 0xec, 0xd2, 0xb9, + 0xd4, 0xd8, 0x6e, 0x87, 0xf0, 0xe5, 0x79, 0x0a, 0x84, 0x8f, 0x73, 0x91, + 0xa0, 0x46, 0xe3, 0xcd, 0x3a, 0xbe, 0x18, 0xb1, 0xbc, 0x78, 0xa1, 0x50, + 0x93, 0x00, 0xa5, 0xa9, 0x0e, 0x39, 0xd2, 0x9b, 0x75, 0xf8, 0x76, 0xab, + 0xf2, 0x66, 0x91, 0x0c, 0x7b, 0xa8, 0x17, 0x58, 0x14, 0xab, 0x4b, 0xca, + 0xf8, 0x9b, 0xc5, 0xb0, 0xc1, 0xed, 0xc6, 0x7e, 0x25, 0x8c, 0x90, 0x3f, + 0x3f, 0x15, 0xa3, 0xdb, 0x4f, 0x58, 0x9b, 0xbe, 0xfe, 0x0b, 0x33, 0xc4, + 0x17, 0x89, 0xfe, 0xbf, 0xbd, 0x2a, 0x35, 0x1d, 0x37, 0x0f, 0xe5, 0x0d, + 0xe7, 0x95, 0x6f, 0xe1 }; -static const uint8_t p_2048[] = { /* key component p, 260 bytes */ - 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, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xb5, 0x0a, 0xa1, 0x98, 0xfe, 0x5a, 0xf2, 0xeb, 0x9f, 0x8d, 0xb8, 0x3f, - 0xaa, 0xa0, 0xd7, 0x3d, 0x14, 0xe6, 0xdc, 0x06, 0x8e, 0x16, 0xad, 0x9a, - 0x67, 0x86, 0x8c, 0x99, 0x31, 0x2f, 0x0a, 0x69, 0x0a, 0x69, 0x8d, 0x2a, - 0x5c, 0x0e, 0x0e, 0xb3, 0x06, 0xd6, 0xc1, 0x25, 0xaf, 0x7f, 0x94, 0x1a, - 0x5c, 0x0e, 0xbd, 0x13, 0xa0, 0xe4, 0x0d, 0x5b, 0x4d, 0x0d, 0xfd, 0xce, - 0x4e, 0x89, 0x42, 0xf9, 0xa7, 0xa1, 0xe5, 0x03, 0xd5, 0x8f, 0xf7, 0x7f, - 0xe2, 0x46, 0x58, 0x5d, 0x2e, 0x46, 0x8c, 0x7e, 0x5f, 0x3e, 0xac, 0x44, - 0xe5, 0x4f, 0xc0, 0x92, 0x14, 0x6d, 0xb4, 0xcc, 0xe4, 0x72, 0x11, 0x1a, - 0x44, 0xea, 0x3c, 0xed, 0x72, 0xf1, 0xc9, 0xbc, 0x9d, 0x5c, 0x66, 0x28, - 0xe1, 0xc1, 0xe4, 0x47, 0x98, 0x44, 0x70, 0x94, 0x19, 0xda, 0x71, 0x0a, - 0x23, 0x18, 0x65, 0xbb, 0x12, 0x96, 0x62, 0xa3 +static const uint8_t p_2048[] = { /* key component p, 128 bytes */ + 0xb7, 0x88, 0x25, 0x31, 0xd9, 0x11, 0x36, 0x00, 0x3d, 0x5e, 0x6f, 0x09, + 0x33, 0x0d, 0x54, 0x4d, 0x28, 0xd7, 0x90, 0xbd, 0xf2, 0x09, 0x5c, 0xc3, + 0xde, 0x44, 0x2c, 0x10, 0xdc, 0xdd, 0x9f, 0xd6, 0xc8, 0xd5, 0xf7, 0x1e, + 0xf1, 0x33, 0x13, 0xcd, 0x73, 0x1e, 0xd2, 0x56, 0xe8, 0x68, 0x8f, 0x81, + 0xeb, 0x07, 0x36, 0xf7, 0x4b, 0x0a, 0x60, 0x1d, 0xb5, 0xfd, 0x41, 0xff, + 0xfc, 0xe1, 0x3a, 0x92, 0x1d, 0x2f, 0x05, 0xd9, 0xb4, 0xf0, 0x6a, 0x75, + 0xb8, 0xd9, 0xac, 0x58, 0x27, 0xad, 0x08, 0x24, 0x1b, 0xa0, 0xd0, 0x77, + 0xd1, 0x6d, 0xd7, 0x05, 0x63, 0x3d, 0x87, 0x87, 0x8b, 0x4c, 0xe4, 0xa1, + 0xd6, 0xa2, 0x7f, 0x41, 0x5b, 0x2f, 0xb8, 0x5e, 0xe5, 0x89, 0x2a, 0xd0, + 0x59, 0xf4, 0x39, 0x28, 0xae, 0x98, 0x9e, 0xb3, 0x77, 0x39, 0x63, 0xb3, + 0x36, 0x71, 0x6a, 0xed, 0x3a, 0xd2, 0xf1, 0x91 }; -static const uint8_t q_2048[] = { /* key component q, 260 bytes */ - 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, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0xf9, 0x23, 0x8b, 0x71, 0x0e, 0x2f, 0x07, 0x61, 0xbd, 0xa6, 0x7f, 0x13, - 0x77, 0xa8, 0xf9, 0x16, 0x13, 0x13, 0xda, 0x6d, 0xf5, 0xa1, 0x9d, 0xb7, - 0x88, 0xdd, 0x74, 0x88, 0xd6, 0xfe, 0x2f, 0x27, 0x8a, 0x7f, 0xe5, 0x32, - 0xd4, 0x6d, 0x64, 0x5a, 0x95, 0x4d, 0x31, 0x9f, 0x0d, 0xb4, 0x03, 0x1b, - 0xe0, 0xc2, 0x28, 0x14, 0x84, 0x22, 0x36, 0x45, 0x52, 0xaf, 0x5c, 0x31, - 0xb2, 0x2c, 0x0a, 0x28, 0x1d, 0xc8, 0x4d, 0xc2, 0xb6, 0x8b, 0x8b, 0x0f, - 0x07, 0x8e, 0xad, 0xd8, 0xd2, 0x6a, 0x65, 0xaf, 0x5b, 0xf9, 0x7a, 0x80, - 0x0a, 0x32, 0x4e, 0xa7, 0xc7, 0x57, 0x2c, 0x20, 0x4f, 0x3a, 0x37, 0x1b, - 0xb3, 0x11, 0xd4, 0x8d, 0x33, 0xe6, 0x53, 0x8b, 0xb9, 0xf1, 0x69, 0x26, - 0x6e, 0xe4, 0x1c, 0x20, 0x32, 0x5d, 0xfc, 0xf4, 0xf7, 0x34, 0xdb, 0xb6, - 0xa5, 0xb1, 0x05, 0x86, 0x32, 0x31, 0x18, 0x7b +static const uint8_t q_2048[] = { /* key component q, 128 bytes */ + 0xda, 0x9f, 0x81, 0xfc, 0xa9, 0x1a, 0x65, 0x57, 0x25, 0x3d, 0xc8, 0x4d, + 0x35, 0x05, 0x43, 0x1f, 0xf3, 0xb0, 0xd1, 0xae, 0xc0, 0x53, 0x6f, 0xbf, + 0x15, 0x66, 0x0e, 0x69, 0x61, 0xaa, 0x1f, 0x17, 0x8c, 0x8d, 0xd2, 0xee, + 0x06, 0x93, 0x51, 0x1a, 0xea, 0x8b, 0xaf, 0xc7, 0xec, 0x56, 0x26, 0xd8, + 0xbc, 0xa2, 0x25, 0xf0, 0xa0, 0x10, 0x4f, 0x34, 0xe1, 0xbe, 0x75, 0x17, + 0x62, 0xce, 0x04, 0x80, 0x3d, 0x58, 0xbb, 0x7e, 0x29, 0x1c, 0x36, 0xea, + 0xae, 0xf7, 0x19, 0x33, 0xd8, 0x58, 0xe2, 0x2f, 0x7a, 0x77, 0xb5, 0xa5, + 0x3f, 0x6b, 0x03, 0x3e, 0x16, 0x91, 0x8b, 0x72, 0x32, 0xbf, 0xe6, 0x57, + 0x64, 0x07, 0xb5, 0x56, 0x61, 0xac, 0x22, 0x90, 0xcb, 0x08, 0x3b, 0x69, + 0x7a, 0x5c, 0x5e, 0xd5, 0x8a, 0xe6, 0xc9, 0x80, 0x7a, 0x4a, 0xac, 0x49, + 0xc2, 0xbf, 0x67, 0x87, 0xba, 0x21, 0x10, 0x0b }; -static const uint8_t u_2048[] = { /* key component u, 260 bytes */ - 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, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x74, 0x1e, 0x93, 0xee, 0x55, 0x2f, 0x8b, 0x69, 0x44, 0xeb, 0xa6, 0x18, - 0x41, 0x72, 0x3b, 0x3e, 0x87, 0x1c, 0xa5, 0x48, 0xa7, 0x84, 0x99, 0xa9, - 0x98, 0xa7, 0x2a, 0x3f, 0x08, 0x20, 0xe3, 0x1b, 0x84, 0x70, 0xc7, 0x4c, - 0x5e, 0x50, 0x15, 0x43, 0xd3, 0xa1, 0x87, 0x48, 0xc4, 0xa6, 0x96, 0x3b, - 0x2d, 0xed, 0x4c, 0xce, 0xbb, 0x29, 0xfd, 0x50, 0xba, 0x3a, 0x55, 0xa9, - 0xeb, 0x75, 0xb4, 0x21, 0xec, 0x40, 0xa5, 0xf0, 0x83, 0x75, 0xa7, 0xd6, - 0x0d, 0xe0, 0xd7, 0x93, 0x9f, 0x68, 0xcc, 0x46, 0xba, 0x03, 0x16, 0x68, - 0x88, 0x9b, 0x3c, 0xfd, 0xa6, 0xf0, 0x79, 0x37, 0x53, 0x50, 0xde, 0x85, - 0x35, 0xf3, 0x7e, 0x92, 0xf4, 0x12, 0x2b, 0x76, 0x79, 0x4b, 0x1f, 0x40, - 0x8c, 0xc3, 0xd0, 0x7d, 0xe8, 0xfa, 0xf3, 0x78, 0x73, 0x45, 0x89, 0xfc, - 0x8d, 0xfa, 0xb7, 0xcf, 0x72, 0x34, 0x6e, 0xc1 +static const uint8_t u_2048[] = { /* key component u, 128 bytes */ + 0x4f, 0x88, 0xe0, 0xf9, 0x63, 0x9b, 0x12, 0x96, 0xf3, 0x37, 0x79, 0xed, + 0x77, 0x1f, 0xe1, 0xcd, 0x54, 0x57, 0x20, 0xf4, 0xae, 0xc2, 0x88, 0x35, + 0x78, 0x97, 0x96, 0xb8, 0xb4, 0xb4, 0xc5, 0xb8, 0x18, 0x38, 0x65, 0x78, + 0x1e, 0x68, 0xbf, 0xce, 0xf8, 0x28, 0x61, 0x4f, 0xfe, 0x46, 0x84, 0x4e, + 0xbb, 0x8d, 0x32, 0x4e, 0x1f, 0xf8, 0x34, 0x90, 0x3d, 0x99, 0x81, 0xce, + 0x7b, 0x60, 0x83, 0x00, 0x42, 0x54, 0x89, 0x3b, 0x3c, 0x7a, 0x72, 0x69, + 0x10, 0xd2, 0xc9, 0x87, 0x28, 0xb9, 0xce, 0x2e, 0x3f, 0xd0, 0x98, 0xda, + 0x0a, 0x6b, 0xf9, 0xef, 0x66, 0xc9, 0x51, 0x46, 0x8a, 0xdc, 0xdf, 0x56, + 0x68, 0xfb, 0x39, 0x3f, 0xa5, 0x36, 0x44, 0x11, 0x57, 0x7b, 0x4e, 0xc3, + 0x3a, 0x64, 0x30, 0xb8, 0xde, 0xf5, 0x14, 0x7e, 0xab, 0xca, 0xa6, 0x27, + 0x52, 0x7f, 0x63, 0x8b, 0xa2, 0xb7, 0x51, 0x1f }; -static const uint8_t m_2048[] = { /* message to be signed, 260 bytes */ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, +static const uint8_t m_2048[] = { /* message to be signed, 256 bytes */ + 0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, @@ -336,371 +257,266 @@ static const uint8_t m_2048[] = { /* message to be signed, 260 bytes */ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0x00, 0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, - 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20, - 0x8e, 0x36, 0xfc, 0x9a, 0xa3, 0x17, 0x24, 0xc3, 0x24, 0x16, 0x26, 0x3c, - 0x03, 0x66, 0xa1, 0x75, 0xfa, 0xbb, 0xb9, 0x2b, 0x74, 0x1c, 0xa6, 0x49, - 0x61, 0x07, 0x07, 0x4d, 0x03, 0x43, 0xb5, 0x97 + 0x00, 0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, + 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20, 0x8e, 0x36, 0xfc, 0x9a, + 0xa3, 0x17, 0x24, 0xc3, 0x24, 0x16, 0x26, 0x3c, 0x03, 0x66, 0xa1, 0x75, + 0xfa, 0xbb, 0xb9, 0x2b, 0x74, 0x1c, 0xa6, 0x49, 0x61, 0x07, 0x07, 0x4d, + 0x03, 0x43, 0xb5, 0x97 }; -static const uint8_t s_2048[] = { /* signed message, 260 bytes */ - 0x00, 0x00, 0x00, 0x00, 0x67, 0x05, 0x7c, 0x63, 0x09, 0x41, 0x00, 0x48, - 0x09, 0x67, 0x32, 0xa5, 0x5f, 0x5d, 0x32, 0x89, 0xfa, 0x94, 0x23, 0xf4, - 0x91, 0x93, 0x4c, 0x91, 0x1a, 0xa6, 0xad, 0x68, 0x88, 0x4a, 0x0c, 0x0d, - 0x13, 0x49, 0x83, 0x05, 0xd0, 0x3b, 0x18, 0xd0, 0x6a, 0xa9, 0x6a, 0x53, - 0x3b, 0xc3, 0xa7, 0x01, 0x36, 0x77, 0xed, 0xa3, 0xd6, 0xd3, 0x4a, 0x4f, - 0x6d, 0xa2, 0x4f, 0xde, 0x5e, 0x81, 0x22, 0xd3, 0x83, 0x9d, 0xdc, 0xcd, - 0x25, 0xd4, 0x5d, 0x26, 0x85, 0x5a, 0xe0, 0xcc, 0x8c, 0xdf, 0xef, 0x21, - 0x3d, 0x45, 0xea, 0xcc, 0x4f, 0xd2, 0x0f, 0x64, 0x2f, 0xaf, 0x38, 0x87, - 0x91, 0xa6, 0x6a, 0xaa, 0xfd, 0x8b, 0xa4, 0x15, 0x61, 0xc0, 0x12, 0xb9, - 0xeb, 0xf2, 0x9f, 0xbf, 0x3c, 0xee, 0x5e, 0xc2, 0x29, 0x80, 0x22, 0x57, - 0xbf, 0x90, 0xc2, 0xbc, 0x49, 0xdc, 0x64, 0xe9, 0xf1, 0x55, 0x9c, 0x2c, - 0x0a, 0x98, 0x7a, 0xb1, 0x86, 0x18, 0x0b, 0xd1, 0x15, 0xf9, 0x5c, 0xcd, - 0xf2, 0x24, 0x5b, 0xc8, 0x79, 0xba, 0x61, 0xbd, 0x7a, 0x46, 0xac, 0x8d, - 0x28, 0xe3, 0x5d, 0x61, 0x20, 0xd1, 0x89, 0x52, 0xcf, 0xe8, 0xd8, 0x20, - 0xb2, 0x3a, 0x6f, 0x5a, 0x23, 0xb8, 0xb2, 0x6f, 0xd4, 0x1c, 0xb7, 0x2d, - 0x42, 0x86, 0x1a, 0x34, 0xf6, 0x75, 0x78, 0x88, 0x5c, 0xeb, 0xdc, 0x15, - 0x1e, 0x3f, 0xeb, 0x64, 0xa5, 0xd9, 0xce, 0x3f, 0x92, 0xf6, 0x0b, 0xcc, - 0x4e, 0x88, 0x61, 0x19, 0x97, 0xeb, 0x97, 0xdf, 0x15, 0x4d, 0xe7, 0xb9, - 0x0b, 0x23, 0x87, 0xb6, 0x7a, 0xa9, 0x0d, 0xbe, 0x2e, 0x24, 0xe3, 0xf2, - 0xb0, 0x68, 0x09, 0x6f, 0xb0, 0x42, 0xc9, 0x2f, 0x3c, 0x76, 0xf5, 0x18, - 0x0b, 0x5f, 0xdb, 0xd9, 0x93, 0x49, 0xf1, 0xa9, 0x19, 0x9c, 0x14, 0x75, - 0x29, 0x8a, 0x2c, 0xa9, 0x3e, 0xc2, 0x75, 0x52 +static const uint8_t s_2048[] = { /* signed message, 256 bytes */ + 0x38, 0xcd, 0x57, 0x72, 0x74, 0x5a, 0x7c, 0xa1, 0x1b, 0x1d, 0xf6, 0xda, + 0x12, 0xbd, 0x9c, 0x9e, 0xd7, 0xfd, 0x84, 0x48, 0xfd, 0x7c, 0x6c, 0xc4, + 0xd0, 0x96, 0x97, 0x67, 0xef,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, 0x6d, 0xe1, 0x58, 0xb1, 0x39, 0x53, + 0x1b, 0x1d, 0xa0, 0xe4, 0x1a, 0x15, 0x8e, 0xf8, 0x11, 0xbc, 0xaa, 0xbc, + 0xdd, 0xc7, 0xe1, 0x86, 0xf8, 0x91, 0x89, 0x58, 0x83, 0x3d, 0xba, 0x56, + 0xa3, 0x07, 0x21, 0x37, 0xf8, 0xa1, 0x1b, 0x21, 0x41, 0x70, 0x4e, 0xa5, + 0xa4, 0x52, 0x6d, 0x66 }; /* 4096-bit RSA private key (PKCS #8) -----BEGIN PRIVATE KEY----- -MIIJQQIBADANBgkqhkiG9w0BAQEFAASCCSswggknAgEAAoICAQC/2rbgLB4maN9c -Wh+ZrjR5lM4HV4/v192ISQikC/gnuSov3CWmaW5M7ZTXG266skeLw8iDdYY2WA/0 -T0krg/UYZ9QYGXGWt4G/4kAUMnb+UOCCvDwcGwbPQnyf3Lj5ekGofqO5GNpXyLXJ -opWrfHLLyzoZr7DyZclOiQ1vQZx0brUyqzKdXODS5jc/hStdLtA7ZteEZF1FCtpB -eTsT6cOkn2euDxtJCZmQeAEFsxhXrAgjo4fOjYG1t2g16LbkRFGvNojHakMgv4wt -a0efnspfWhCQ2kzLpfHmHacqLGdewBjB7RJuEf/UE4G3uPZ4TYemhm7kZen/uhzt -517coOQYru1snIJsxVPIKgWpZOXwxXghnxFw+65F5uvLVkPR/1xvCfufbuCXABeh -F33nkN41wWNffIlDwYrtvfwKCLGYlGGRHzSQvlIdzZ7rp3OuUFDj0tf+d5cgAeo3 -8KgSewIvuwLjxA0gPKcaIvIidp8F9X2gIM4s7+89ONY4H8iDKE0ukdC4iq8RGy5P -y9I8TWPDQBomSawlbcUI8gWTOL3zASHyPGzJ76cRo4KXmndI9dZkcBFAMLZWnmNh -EZIEzk6pt/Pd7uzT5uoXxkEh6dZ6zqs9iy91h2U3ZPPc8bNpTSiyeGQ7VttBDoeb -zPv198DV7A584XcFrXqd5kQExlW2oQIDAQABAoICADq2XDDOT4v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IA5nXldrQ8cRUuBG1k9YIX2MvveE8SXFpSIp6625F+6JDvvcSh1MMNa +7aqgoqWMtAr0x1hg7zlzcm+Q+vJw98v4hVESRrnbouLjuAj1cG0BhSHPxAPU5Swq +Oe7nEWJ6ZCvLmBQY4k+XGz/wf4dsyHf8p9kf8iRsmMObbA5mJFGfnHbxHj2aSWvH +coP+kcbtI398l7gbE1iYTDJcOPEI15NC52q1/VNk4UAyBvTyqwNHIy0bHgUIrdB+ +sZApBBoMaUXbbssGZtjCRlNX9IUKZYKd -----END PRIVATE KEY----- */ -static const uint8_t n_4096[] = { /* key component n, 516 bytes */ - 0x00, 0x00, 0x00, 0x00, 0xbf, 0xda, 0xb6, 0xe0, 0x2c, 0x1e, 0x26, 0x68, - 0xdf, 0x5c, 0x5a, 0x1f, 0x99, 0xae, 0x34, 0x79, 0x94, 0xce, 0x07, 0x57, - 0x8f, 0xef, 0xd7, 0xdd, 0x88, 0x49, 0x08, 0xa4, 0x0b, 0xf8, 0x27, 0xb9, - 0x2a, 0x2f, 0xdc, 0x25, 0xa6, 0x69, 0x6e, 0x4c, 0xed, 0x94, 0xd7, 0x1b, - 0x6e, 0xba, 0xb2, 0x47, 0x8b, 0xc3, 0xc8, 0x83, 0x75, 0x86, 0x36, 0x58, - 0x0f, 0xf4, 0x4f, 0x49, 0x2b, 0x83, 0xf5, 0x18, 0x67, 0xd4, 0x18, 0x19, - 0x71, 0x96, 0xb7, 0x81, 0xbf, 0xe2, 0x40, 0x14, 0x32, 0x76, 0xfe, 0x50, - 0xe0, 0x82, 0xbc, 0x3c, 0x1c, 0x1b, 0x06, 0xcf, 0x42, 0x7c, 0x9f, 0xdc, - 0xb8, 0xf9, 0x7a, 0x41, 0xa8, 0x7e, 0xa3, 0xb9, 0x18, 0xda, 0x57, 0xc8, - 0xb5, 0xc9, 0xa2, 0x95, 0xab, 0x7c, 0x72, 0xcb, 0xcb, 0x3a, 0x19, 0xaf, - 0xb0, 0xf2, 0x65, 0xc9, 0x4e,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0x35, 0xc1, 0x63, 0x5f, 0x7c, - 0x89, 0x43, 0xc1, 0x8a, 0xed, 0xbd, 0xfc, 0x0a, 0x08, 0xb1, 0x98, 0x94, - 0x61, 0x91, 0x1f, 0x34, 0x90, 0xbe, 0x52, 0x1d, 0xcd, 0x9e, 0xeb, 0xa7, - 0x73, 0xae, 0x50, 0x50, 0xe3, 0xd2, 0xd7, 0xfe, 0x77, 0x97, 0x20, 0x01, - 0xea, 0x37, 0xf0, 0xa8, 0x12, 0x7b, 0x02, 0x2f, 0xbb, 0x02, 0xe3, 0xc4, - 0x0d, 0x20, 0x3c, 0xa7, 0x1a, 0x22, 0xf2, 0x22, 0x76, 0x9f, 0x05, 0xf5, - 0x7d, 0xa0, 0x20, 0xce, 0x2c, 0xef, 0xef, 0x3d, 0x38, 0xd6, 0x38, 0x1f, - 0xc8, 0x83, 0x28, 0x4d, 0x2e, 0x91, 0xd0, 0xb8, 0x8a, 0xaf, 0x11, 0x1b, - 0x2e, 0x4f, 0xcb, 0xd2, 0x3c, 0x4d, 0x63, 0xc3, 0x40, 0x1a, 0x26, 0x49, - 0xac, 0x25, 0x6d, 0xc5, 0x08, 0xf2, 0x05, 0x93, 0x38, 0xbd, 0xf3, 0x01, - 0x21, 0xf2, 0x3c, 0x6c, 0xc9, 0xef, 0xa7, 0x11, 0xa3, 0x82, 0x97, 0x9a, - 0x77, 0x48, 0xf5, 0xd6, 0x64, 0x70, 0x11, 0x40, 0x30, 0xb6, 0x56, 0x9e, - 0x63, 0x61, 0x11, 0x92, 0x04, 0xce, 0x4e, 0xa9, 0xb7, 0xf3, 0xdd, 0xee, - 0xec, 0xd3, 0xe6, 0xea, 0x17, 0xc6, 0x41, 0x21, 0xe9, 0xd6, 0x7a, 0xce, - 0xab, 0x3d, 0x8b, 0x2f, 0x75, 0x87, 0x65, 0x37, 0x64, 0xf3, 0xdc, 0xf1, - 0xb3, 0x69, 0x4d, 0x28, 0xb2, 0x78, 0x64, 0x3b, 0x56, 0xdb, 0x41, 0x0e, - 0x87, 0x9b, 0xcc, 0xfb, 0xf5, 0xf7, 0xc0, 0xd5, 0xec, 0x0e, 0x7c, 0xe1, - 0x77, 0x05, 0xad, 0x7a, 0x9d, 0xe6, 0x44, 0x04, 0xc6, 0x55, 0xb6, 0xa1 +static const uint8_t n_4096[] = { /* key component n, 512 bytes */ + 0xc6, 0x1a, 0x6b, 0x4f, 0x5e, 0x62, 0x47, 0xfb, 0x06, 0x0c, 0xb4, 0x93, + 0x4c, 0x73, 0xc6, 0x1b, 0x5a, 0xc7, 0x95, 0x84, 0xd8, 0x0e, 0xbb, 0x53, + 0x44, 0x7c, 0x27, 0x30, 0xc1, 0x2f, 0xf5, 0x7b, 0xfc, 0x67, 0xa2, 0xa4, + 0x62, 0x3e, 0x08, 0xb8, 0x12, 0xa3, 0x17, 0x13, 0x10, 0x43, 0xd7, 0x3d, + 0x6a, 0x1a, 0x61, 0xe3, 0x3a, 0x7a, 0x2e, 0x5c, 0xd7, 0x47, 0x7f, 0xbd, + 0x32, 0xf4, 0x82, 0x21, 0x39, 0xe2, 0xd7, 0x0f, 0x6a, 0x63, 0x84, 0x81, + 0x4d, 0x62, 0xd2, 0xfb, 0xf9, 0x6a, 0xde, 0x51, 0xa7, 0xe0, 0x02, 0x0d, + 0x47, 0x13, 0x61, 0x73, 0xee, 0x8e, 0x0d, 0x0e, 0x70, 0x02, 0xc7, 0xe9, + 0xe9, 0xf0, 0x6a, 0x01, 0xe9, 0xe7, 0x6d, 0xba, 0x07, 0xea, 0x2f, 0x9f, + 0xc7, 0x9e, 0xbb, 0xb3, 0xbb, 0x5a, 0x69, 0x0f, 0x69, 0x36, 0x86, 0xc6, + 0xd5, 0xbd, 0xb5, 0x69, 0xa6, 0x72, 0xc6, 0x22, 0x71, 0xb5, 0x92, 0xe5, + 0xd6, 0x28, 0xe7, 0xf3, 0x37, 0x8c, 0x05, 0x63, 0x5c, 0x82, 0x27, 0xa4, + 0x8b, 0x31, 0x0e, 0xdb, 0x1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0xac, 0x91 }; -static const uint8_t e_4096[] = { /* key component e, 516 bytes */ - 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, 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, 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, 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, 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, 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, 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, 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, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01 +static const uint8_t e_4096[] = { /* key component e, 4 bytes */ + 0x00, 0x01, 0x00, 0x01 }; -static const uint8_t d_4096[] = { /* key component d, 516 bytes */ - 0x00, 0x00, 0x00, 0x00, 0x3a, 0xb6, 0x5c, 0x30, 0xce, 0x4f, 0x8b, 0xc1, - 0x9c, 0x59, 0x4e, 0xdb, 0x4c, 0xd4, 0x9b, 0x0a, 0x7a, 0x17, 0x72, 0xf7, - 0xc0, 0xfc, 0xcd, 0x3a, 0xe6, 0x72, 0x33, 0x4a, 0xc0, 0xbe, 0xf8, 0xa9, - 0x19, 0xd7, 0xfb, 0xaf, 0x29, 0xf6, 0x29, 0xe3, 0x30, 0xf1, 0xd3, 0xc2, - 0x79, 0x68, 0x79, 0x16, 0x9c, 0x17, 0x16, 0x4d, 0xe4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f, - 0x6f, 0xfe, 0x66, 0x78, 0x94, 0x75, 0x55, 0xe9, 0xcf, 0xd7, 0x42, 0x84, - 0x22, 0x97, 0xbc, 0x9c, 0xdf, 0xb2, 0x40, 0x83, 0x4f, 0x05, 0x0d, 0x1e, - 0x2f, 0xa5, 0xc9, 0x2a, 0x77, 0x06, 0xbe, 0x5b, 0xdc, 0x56, 0x78, 0xfd, - 0xbe, 0x2a, 0xde, 0x24, 0xbd, 0x8d, 0x9d, 0xae, 0x11, 0x6d, 0xff, 0x0b, - 0xfb, 0xde, 0xc9, 0xdc, 0x47, 0x89, 0x27, 0xd8, 0xb9, 0xfa, 0xfa, 0x2b, - 0x72, 0x73, 0xb4, 0x62, 0x87, 0xc2, 0x20, 0x1d, 0x97, 0xd2, 0x27, 0xc9, - 0xe5, 0x2c, 0x1a, 0xd3, 0x92, 0x88, 0xb1, 0xbc, 0x8a, 0xfa, 0xa3, 0x14, - 0x83, 0xf1, 0x0f, 0x0e, 0x55, 0x03, 0xb6, 0x03, 0x65, 0x5b, 0x98, 0x01 +static const uint8_t d_4096[] = { /* key component d, 512 bytes */ + 0x97, 0xb1, 0xd3, 0x4a, 0x4b, 0x73, 0xe6, 0xba, 0x89, 0xbf, 0x60, 0xe7, + 0x0a, 0x3b, 0xfd, 0x0f, 0x25, 0x4c, 0x7f, 0x69, 0xe2, 0x28, 0x25, 0xb9, + 0x75, 0x4f, 0xbc, 0x92, 0xd0, 0xdb, 0xf0, 0x96, 0xa8, 0x88, 0x93, 0x3a, + 0x5d, 0x20, 0x33, 0x7d, 0x00, 0x88, 0x72, 0x3a, 0xde, 0xd1, 0x94, 0x18, + 0x2b, 0x0f, 0x58, 0xb5, 0xaf, 0x29, 0xb0, 0x26, 0xd7, 0x92, 0xa0, 0x76, + 0x38, 0x76, 0x92, 0xce, 0xee, 0x8c, 0x8d, 0x31, 0xf8, 0xbd, 0x8b, 0xd1, + 0x97, 0x78, 0x7d, 0x27, 0x05, 0xae, 0x97, 0xde, 0x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5, 0x17, + 0x36, 0x42, 0x0b, 0xb2, 0xa0, 0xc9, 0xed, 0xb2, 0x69, 0x97, 0x94, 0xcd, + 0xcb, 0xb1, 0xbb, 0x89, 0x61, 0x4e, 0x23, 0x51, 0xec, 0x6c, 0x26, 0x30, + 0x19, 0x62, 0xa8, 0xd7, 0xca, 0x43, 0xf1, 0xdf, 0x03, 0xb7, 0xb3, 0x7d, + 0x9e, 0x0d, 0xbc, 0x8a, 0xc4, 0x58, 0x4d, 0x8d, 0x23, 0x82, 0xcc, 0x6b, + 0xcf, 0xfc, 0x3b, 0xf1, 0x73, 0xd0, 0x59, 0x72, 0x62, 0xdf, 0x70, 0x00, + 0x3d, 0x3b, 0xe8, 0x43, 0x4f, 0xf8, 0xb0, 0x01 }; -static const uint8_t p_4096[] = { /* key component p, 516 bytes */ - 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, 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, 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, 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, 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, 0xdc, 0xe8, 0xed, 0xc5, - 0xfc, 0x19, 0x0b, 0x24, 0xb4, 0xc8, 0xa6, 0xbd, 0xfd, 0x66, 0xca, 0x6d, - 0x76, 0x6d, 0x89, 0xee, 0x87, 0x1e, 0x3f, 0xc8, 0xaa, 0xc7, 0xbf, 0x98, - 0xd2, 0x32, 0xdd, 0xd9, 0x74, 0x75, 0x2f, 0x11, 0x90, 0x5c, 0xe9, 0x5c, - 0xb8, 0xda, 0xca, 0xdc, 0x9f, 0x14, 0xd7, 0xf6, 0xa3, 0xc5, 0xe2, 0xc5, - 0x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0x41, 0xca, 0x64, 0xb5, 0xb0, 0x66, 0x07, 0xc4, 0x80, 0xc0, - 0xc0, 0x36, 0x05, 0x22, 0x95, 0x2d, 0xbf, 0x9c, 0xc1, 0xc8, 0x90, 0x91 +static const uint8_t p_4096[] = { /* key component p, 256 bytes */ + 0xc9, 0x6c, 0x26, 0x11, 0xb3, 0x7e, 0x87, 0x65, 0x5c, 0x55, 0xa8, 0xbc, + 0x88, 0x57, 0xf9, 0xb1, 0x5f, 0x6e, 0xe0, 0xd1, 0x5e, 0x73, 0x11, 0xd8, + 0xfb, 0x70, 0xab, 0x21, 0xa2, 0x69, 0xe1, 0x1d, 0xd5, 0xda, 0x01, 0x58, + 0x1d, 0x57, 0x28, 0x88, 0x00, 0xcf, 0x53, 0x7c, 0xa7, 0xf0, 0xed, 0x0f, + 0xc2, 0x6d, 0x54, 0x3c, 0xa6, 0x5e, 0x8a, 0x7f, 0xca, 0x67, 0xdc, 0x4f, + 0x63, 0xce, 0x4d, 0x12, 0x7b, 0x9e, 0xd2, 0xe2, 0x68, 0x6d, 0xea, 0xd6, + 0x05, 0xe2, 0x02, 0x57, 0xf8, 0xa9, 0x7c, 0x90, 0x7d, 0x0a, 0x04, 0xff, + 0x47, 0xf1, 0x5e, 0x24, 0x95, 0x08, 0x3a, 0x27, 0x30, 0xe6, 0x6b, 0xbb, + 0x95, 0xe8, 0x08, 0x67, 0x9a, 0xab, 0x8a, 0xd4, 0x41, 0xc7, 0x68, 0xdd, + 0xd6, 0x92, 0xbe, 0x63, 0x15, 0x72, 0x62, 0xf8, 0x2c, 0x44, 0x37, 0x0d, + 0xa6, 0x19, 0xa8, 0x16, 0x9c, 0x9c, 0x29, 0xf7, 0x6b, 0xb9, 0xb3, 0x57, + 0x03, 0x75, 0xf0, 0xf3, 0x67, 0xbf, 0xfb, 0x1f, 0xa2, 0x15, 0xfa, 0xf9, + 0x40, 0xfc, 0x58, 0xe1, 0x94, 0xf4, 0x5c, 0xda, 0x15, 0x43, 0xb2, 0x82, + 0xa2, 0x7f, 0x06, 0xea, 0x14, 0x74, 0x46, 0x5d, 0xbb, 0x6f, 0xe5, 0x66, + 0x2d, 0x29, 0x47, 0xaa, 0x34, 0x3c, 0x01, 0x7a, 0x6f, 0xcd, 0x7f, 0x68, + 0x92, 0xb4, 0x27, 0x76, 0xe6, 0x97, 0x5c, 0xdf, 0x59, 0x17, 0x31, 0x50, + 0xce, 0x00, 0x73, 0x88, 0x33, 0x3a, 0x07, 0x16, 0x86, 0x75, 0xe0, 0x8a, + 0x8e, 0xfe, 0x0a, 0xe7, 0xe1, 0x88, 0xe5, 0x18, 0x6c, 0x79, 0x86, 0xd8, + 0x46, 0x48, 0x38, 0x04, 0x28, 0x29, 0x12, 0x87, 0x26, 0x69, 0xa7, 0xf6, + 0x78, 0xb6, 0x6e, 0x05, 0x1a, 0x14, 0x26, 0x63, 0x08, 0x4b, 0xf2, 0x6d, + 0xd8, 0x2f, 0x29, 0x45, 0x85, 0x56, 0x47, 0x6c, 0xee, 0x1c, 0x35, 0xe1, + 0x3d, 0xf9, 0x6d, 0xf1 }; -static const uint8_t q_4096[] = { /* key component q, 516 bytes */ - 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, 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, 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, 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, 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, 0xde, 0x54, 0x45, 0xd2, - 0x8a, 0x56, 0x9c, 0x26, 0x94, 0x78, 0xc1, 0x43, 0x3b, 0x17, 0x65, 0x3e, - 0x7f, 0x21, 0x16, 0x4a, 0xec, 0x0a, 0x8d, 0xd1, 0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 0x33, - 0xfb, 0x14, 0xa9, 0x79, 0x6f, 0x22, 0x52, 0xc4, 0xdb, 0x77, 0xba, 0xf0, - 0xcf, 0xee, 0x6f, 0x29, 0xdb, 0x8f, 0x37, 0x9f, 0x39, 0x5b, 0xd3, 0x5c, - 0xb2, 0xbd, 0x8c, 0x86, 0x75, 0x39, 0x6e, 0x9f, 0x1c, 0x42, 0x0b, 0x74, - 0xaa, 0x13, 0xef, 0x03, 0xbc, 0xed, 0x11, 0x3b, 0xa8, 0x40, 0xcd, 0x11 +static const uint8_t q_4096[] = { /* key component q, 256 bytes */ + 0xfb, 0xc8, 0x06, 0xfb, 0x50, 0xe1, 0x8a, 0x5d, 0x91, 0xb3, 0xe0, 0xad, + 0xc3, 0xfd, 0xb6, 0xd1, 0x34, 0xa3, 0x35, 0xe1, 0x09, 0x4b, 0xf5, 0x0d, + 0xf0, 0x6a, 0x54, 0xf0, 0x65, 0xf8, 0xf9, 0x9d, 0xbf, 0xed, 0xb8, 0xbc, + 0x2f, 0x47, 0x01, 0x06, 0x42, 0x39, 0x6c, 0x93, 0x80, 0xb0, 0x77, 0x56, + 0x53, 0xcf, 0x92, 0x42, 0x06, 0x8b, 0x4a, 0x09, 0xdb, 0x11, 0x47, 0xfa, + 0x7a, 0xf2, 0x2a, 0xcb, 0x1a, 0x78, 0x7f, 0x13, 0x64, 0xaf, 0x1f, 0xb4, + 0x20, 0x4a, 0x75, 0xb7, 0xf4, 0x35, 0x05, 0x4b, 0x7b, 0x8e, 0xb8, 0xc6, + 0xdf, 0xca, 0xf6, 0xc9, 0x54, 0x52, 0x8f, 0xa5, 0x95, 0xce, 0xe6, 0x5b, + 0x52, 0x83, 0x38, 0x65, 0xd8, 0x12, 0x84, 0x9c, 0x72, 0xa5, 0xb7, 0x0b, + 0x21, 0xdf, 0xd3, 0xeb, 0x84, 0x47, 0x54, 0x4d, 0x3b, 0xbd, 0xae, 0xd9, + 0x89, 0xd9, 0xa5, 0x11, 0xb4, 0xcb, 0x58, 0x4e, 0xa7, 0xd9, 0xe0, 0xc2, + 0x39, 0xd8, 0xb7, 0xbe, 0xe4, 0x38, 0x83, 0x6f, 0x7b, 0x13, 0xb9, 0xc2, + 0x91, 0x2c, 0x1c, 0x78, 0x4d, 0x28, 0x83, 0x80, 0x24, 0xa8, 0x31, 0x16, + 0x4d, 0x4a, 0x10, 0x7f, 0xbc, 0xc0, 0x82, 0x8a, 0x6b, 0x68, 0xb6, 0xe9, + 0x63, 0xbd, 0xdf, 0x56, 0x37, 0xa2, 0x68, 0xa4, 0x2f, 0x56, 0x22, 0xc4, + 0x49, 0x05, 0x25, 0x3e, 0xbf, 0x2e, 0x87, 0x49, 0x98, 0x3a, 0x5f, 0x96, + 0xf2, 0x2c, 0x96, 0x9e, 0xbd, 0xcd, 0xa3, 0xfa, 0x75, 0xe8, 0x62, 0x1a, + 0xe2, 0xee, 0x91, 0xb0, 0xe4, 0xdb, 0x77, 0xea, 0x61, 0x6b, 0x1e, 0x58, + 0x72, 0x7c, 0xd9, 0x9b, 0xf9, 0x9b, 0x7a, 0x1e, 0x84, 0xcb, 0xe8, 0x9f, + 0xb1, 0x29, 0x7d, 0xc3, 0xa3, 0xe6, 0x89, 0x12, 0xed, 0x52, 0xb2, 0x9d, + 0x13, 0xc6, 0xa9, 0xfc, 0x00, 0x53, 0x70, 0x70, 0xfd, 0x5a, 0xc2, 0x13, + 0x00, 0x68, 0x08, 0xa1 }; -static const uint8_t u_4096[] = { /* key component u, 516 bytes */ - 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, 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, 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, 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, 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, 0x7c, 0xf3, 0x95, 0xd0, - 0x07, 0x8f, 0x76, 0x03, 0x73, 0xff, 0xa5, 0x25, 0x60, 0xc5, 0x3e, 0x5f, - 0x6d, 0x05, 0x31, 0x59, 0x38, 0xda, 0x2c, 0x17, 0xe3, 0x8c, 0x0f, 0xad, - 0xf9, 0x3b, 0x1d, 0xaf, 0x7e, 0xfb, 0xa6, 0xa3, 0x73, 0xb5, 0x4a, 0xe5, - 0xe7, 0x65, 0x10, 0x6e, 0x49, 0x29, 0x7c, 0xb2, 0x96, 0xcf, 0xb7, 0x71, - 0x67, 0x35, 0xe1, 0x87, 0xad, 0x19, 0x16, 0xe3, 0x3a, 0x00, 0x5e, 0x2b, - 0x78, 0x35, 0x94, 0x71, 0x53, 0x2f, 0x97, 0x38, 0x5f, 0xb8, 0x10, 0x16, - 0xe5, 0xbf, 0x93, 0x42, 0x96, 0xe4, 0x0a, 0xf2, 0x9c, 0xe6, 0xc5, 0x12, - 0xd3, 0xdb, 0xb2, 0xe1, 0x7e, 0x60, 0x93, 0x0b, 0xe8, 0x37, 0x79, 0x32, - 0xd0, 0x69, 0x1e, 0x57, 0x30, 0xe5, 0x42, 0xb2, 0xb9, 0x25, 0x93, 0x1e, - 0x9c, 0xef, 0x1d, 0x4c, 0x24, 0x14, 0x6a, 0x15, 0xf2, 0x43, 0x2c, 0x5f, - 0xe3, 0x47, 0xa9, 0x8d, 0xa2, 0xa6, 0x59, 0x79, 0xe4, 0x0e, 0xe0, 0x01, - 0x68, 0x7d, 0x23, 0x8b, 0xf3, 0x8b, 0x6c, 0xbc, 0x22, 0x8a, 0x43, 0xcc, - 0x51, 0xb7, 0x93, 0xbb, 0xea, 0x2a, 0x8a, 0xda, 0x7a, 0x76, 0xe7, 0x84, - 0x11, 0x2c, 0xd4, 0x87, 0xc0, 0x82, 0x76, 0x3b, 0xe6, 0x76, 0xf9, 0x67, - 0xec, 0x91, 0x20, 0xab, 0xcf, 0x23, 0x83, 0x9e, 0x73, 0x80, 0x81, 0x3e, - 0x01, 0x8a, 0x68, 0xcc, 0x77, 0x8a, 0xee, 0xdf, 0x8a, 0x7b, 0x5e, 0xf4, - 0xd5, 0xfa, 0x6e, 0xde, 0x5d, 0x56, 0x05, 0x41, 0x65, 0x47, 0x0e, 0x8d, - 0x22, 0x15, 0xa1, 0x0e, 0x23, 0x20, 0x0d, 0xa8, 0xc3, 0x7c, 0x49, 0xde, - 0xe7, 0x88, 0x5a, 0x9c, 0x5d, 0xd6, 0x5c, 0xe1, 0xb4, 0x5e, 0xc0, 0xf2, - 0x66, 0x7d, 0xdf, 0x83, 0xc8, 0xdb, 0xe4, 0xdf, 0x22, 0xdf, 0x9e, 0xf8, - 0x18, 0xff, 0x76, 0xc9, 0xf7, 0x08, 0x89, 0x6a, 0x4e, 0x67, 0x1c, 0x7a +static const uint8_t u_4096[] = { /* key component u, 256 bytes */ + 0x17, 0x6d, 0x50, 0x05, 0xa2, 0x81, 0x24, 0x76, 0xce, 0xe4, 0x5b, 0xad, + 0xfd, 0x41, 0x05, 0xac, 0x59, 0xe9, 0x03, 0x22, 0x4c, 0x8e, 0x70, 0xe1, + 0xee, 0xfb, 0x66, 0x29, 0xee, 0x8e, 0x9a, 0x59, 0x84, 0x6c, 0x07, 0x71, + 0xbb, 0x3c, 0x78, 0xf1, 0xa0, 0x5a, 0x23, 0x18, 0x35, 0xf9, 0xc6, 0x4e, + 0x58, 0x64, 0xc0, 0xba, 0xa0, 0x35, 0xe7, 0xf6, 0x62, 0x20, 0x35, 0x61, + 0x4f, 0x2b, 0x20, 0x62, 0x90, 0xfb, 0x77, 0x52, 0x0e, 0xdc, 0x17, 0x02, + 0x10, 0xc3, 0xe6, 0x0f, 0xdf, 0x71, 0xf2, 0x94, 0xe8, 0x4b, 0xc6, 0x63, + 0x57, 0x60, 0x9b, 0x78, 0xdb, 0xf9, 0xac, 0x6b, 0xc2, 0x0b, 0xb7, 0x35, + 0xa7, 0xf3, 0xdd, 0x5e, 0x28, 0xdc, 0xb3, 0xea, 0xd4, 0xe2, 0xf5, 0xc4, + 0xbe, 0xa1, 0x8e, 0x53, 0x61, 0x74, 0x82, 0x2d, 0x1c, 0xb4, 0x91, 0x28, + 0x24, 0x97, 0xb0, 0x28, 0xc8, 0x64, 0x12, 0x45, 0xb5, 0xc4, 0x70, 0x31, + 0xcc, 0x87, 0x65, 0x93, 0x4c, 0x1a, 0x05, 0x6c, 0x99, 0x9d, 0x03, 0xf5, + 0x3b, 0x8f, 0x80, 0x1a, 0xe4, 0x40, 0x77, 0x82, 0xc1, 0xb7, 0x6e, 0x22, + 0x5e, 0x7a, 0x6e, 0x27, 0x57, 0xb9, 0x73, 0xd7, 0xc1, 0x4b, 0x41, 0x14, + 0x8d, 0xbb, 0x29, 0x21, 0xd9, 0xa3, 0x43, 0x4d, 0x44, 0x41, 0xe3, 0x20, + 0x0f, 0x6f, 0x71, 0x18, 0x64, 0xc5, 0xc9, 0x94, 0x94, 0x28, 0xb3, 0x4e, + 0x62, 0xe7, 0x69, 0xf9, 0xca, 0xa5, 0xbe, 0x49, 0xd0, 0xf0, 0xef, 0x97, + 0x4e, 0x6a, 0x93, 0x4b, 0xb5, 0xb1, 0x95, 0x75, 0xa1, 0xc6, 0xed, 0x58, + 0x46, 0xf0, 0x27, 0x24, 0x24, 0x9b, 0x6d, 0x48, 0xc0, 0x74, 0x6c, 0x0d, + 0x92, 0xb7, 0x50, 0xe2, 0x7a, 0xce, 0xac, 0x48, 0xcc, 0x6c, 0x3c, 0x2b, + 0x77, 0x06, 0x67, 0x41, 0x8c, 0xd6, 0xce, 0x41, 0x0c, 0x33, 0x8e, 0x8b, + 0x32, 0x74, 0x7c, 0x25 }; -static const uint8_t m_4096[] = { /* message to be signed, 516 bytes */ - 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, +static const uint8_t m_4096[] = { /* message to be signed, 512 bytes */ + 0x00, 0x01, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, @@ -738,57 +554,57 @@ static const uint8_t m_4096[] = { /* message to be signed, 516 bytes */ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x30, 0x31, 0x30, - 0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, - 0x05, 0x00, 0x04, 0x20, 0x8e, 0x36, 0xfc, 0x9a, 0xa3, 0x17, 0x24, 0xc3, - 0x24, 0x16, 0x26, 0x3c, 0x03, 0x66, 0xa1, 0x75, 0xfa, 0xbb, 0xb9, 0x2b, - 0x74, 0x1c, 0xa6, 0x49, 0x61, 0x07, 0x07, 0x4d, 0x03, 0x43, 0xb5, 0x97 + 0xff, 0xff, 0xff, 0xff, 0x00, 0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, + 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20, + 0x8e, 0x36, 0xfc, 0x9a, 0xa3, 0x17, 0x24, 0xc3, 0x24, 0x16, 0x26, 0x3c, + 0x03, 0x66, 0xa1, 0x75, 0xfa, 0xbb, 0xb9, 0x2b, 0x74, 0x1c, 0xa6, 0x49, + 0x61, 0x07, 0x07, 0x4d, 0x03, 0x43, 0xb5, 0x97 }; -static const uint8_t s_4096[] = { /* signed message, 516 bytes */ - 0x00, 0x00, 0x00, 0x00, 0x6c, 0x1e, 0xb1, 0xa7, 0x14, 0xf6, 0x22, 0xfe, - 0xa4, 0xcd, 0x99, 0x45, 0x31, 0x5f, 0x6a, 0xaa, 0x8f, 0x12, 0x23, 0x29, - 0xef, 0x66, 0x84, 0x3d, 0xd0, 0x87, 0x2e, 0xa2, 0x20, 0xef, 0x7d, 0xa9, - 0xa1, 0xfb, 0x8d, 0x4a, 0x13, 0xdb, 0x1f, 0x6e, 0xbf, 0x92, 0x2d, 0xcd, - 0x96, 0x9f, 0x7b, 0x7e, 0x8c, 0xae, 0x5f, 0x22, 0xa2, 0xbf, 0x08, 0x00, - 0x4c, 0x01, 0xfe, 0x38, 0x85, 0x57, 0x21, 0x70, 0x6d, 0x6a, 0x9f, 0x5f, - 0xb1, 0x52, 0x71, 0xba, 0x1f, 0x98, 0xe0, 0x16, 0x0e, 0x0d, 0xaf, 0x64, - 0xd2, 0x2b, 0x21, 0xd1, 0x5c, 0x98, 0x0a, 0x5d, 0xdc, 0x22, 0x19, 0x4f, - 0xff, 0x41, 0x68, 0xe0, 0xee, 0x6f, 0x38, 0x6f, 0xf1, 0x5b, 0x86, 0x95, - 0xce, 0x4c, 0xf7, 0xf3, 0xf4, 0x29, 0x31, 0xa5, 0xe7, 0x03, 0x5a, 0x34, - 0x99, 0xff, 0x7a, 0x24, 0x92, 0x4d, 0xf1, 0x50, 0xe6, 0x11, 0xc5, 0xf3, - 0x63, 0x02, 0xaf, 0x67, 0x49, 0x3b, 0x0a, 0x52, 0xf9, 0xb0, 0x5e, 0x20, - 0x70, 0xc9, 0x64, 0x2c, 0x80, 0x11, 0xc3, 0x75, 0xdf, 0x25, 0xfa, 0xdc, - 0x08, 0x13, 0xaa, 0x3f, 0x28, 0xa3, 0x8e, 0x8f, 0x20, 0x07, 0x62, 0x9f, - 0xdf, 0xeb, 0xba, 0x7a, 0x44, 0xef, 0x3b, 0xa2, 0x38, 0x1b, 0xde, 0x23, - 0x62, 0xd4, 0xf7, 0xa6, 0x95, 0xae, 0xa7, 0x1e, 0x38, 0x4e, 0x85, 0x19, - 0xd4, 0x10, 0x52, 0xf4, 0x26, 0xd3, 0x1c, 0xe9, 0x88, 0xd5, 0xb3, 0xee, - 0x6f, 0xac, 0x66, 0x5b, 0x10, 0xcf, 0xa9, 0x9a, 0x11, 0x02, 0x50, 0x70, - 0xd8, 0xba, 0x3c, 0x81, 0x87, 0x90, 0xd0, 0xb2, 0xc5, 0xe8, 0x60, 0x75, - 0x52, 0x82, 0x60, 0x2a, 0x3b, 0x37, 0x67, 0x21, 0x47, 0x59, 0x85, 0xb3, - 0xb4, 0x97, 0x18, 0x65, 0xa9, 0xef, 0xb8, 0x6d, 0x83, 0x01, 0x37, 0x51, - 0x8f, 0x92, 0x89, 0xc3, 0xc4, 0x12, 0x71, 0x65, 0xd7, 0x1b, 0xe0, 0x91, - 0x6a, 0xc3, 0xf3, 0x56, 0x77, 0x31, 0xb0, 0x23, 0xbd, 0x0f, 0x6b, 0xe9, - 0x31, 0x52, 0xe8, 0x91, 0x64, 0xd2, 0x44, 0x3e, 0xcd, 0xe3, 0xf1, 0xf1, - 0xcc, 0xfc, 0xda, 0x88, 0x44, 0xc9, 0xb4, 0x83, 0xfb, 0x8e, 0x38, 0x08, - 0x4e, 0x59, 0xdf, 0x20, 0x84, 0x95, 0x6b, 0x8b, 0x79, 0xfd, 0x33, 0xf0, - 0x19, 0xea, 0x14, 0x43, 0xb5, 0x9a, 0x93, 0xc9, 0x8d, 0x2e, 0x07, 0x1a, - 0x0a, 0x5e, 0x5d, 0x2e, 0x52, 0xef, 0x7f, 0xf8, 0x33, 0x2d, 0xaa, 0x99, - 0x94, 0x7f, 0x10, 0x4d, 0x5b, 0xa2, 0x26, 0x8e, 0x69, 0x26, 0xb3, 0xe9, - 0xa8, 0xc4, 0xf1, 0x31, 0x81, 0x42, 0x15, 0x4e, 0x62, 0x6c, 0x59, 0x59, - 0xf7, 0xac, 0xb4, 0xf9, 0x56, 0x85, 0xef, 0x5f, 0x71, 0xb5, 0x2a, 0xcb, - 0x69, 0xfc, 0xf3, 0x3c, 0xbc, 0xea, 0x33, 0x0d, 0x82, 0x0f, 0xa8, 0x17, - 0x3e, 0x8f, 0x5b, 0x1e, 0x04, 0x9c, 0xbf, 0x29, 0x25, 0xe6, 0x2d, 0x8f, - 0x8f, 0x1b, 0x92, 0xea, 0xe8, 0xd6, 0x7c, 0x32, 0x54, 0x12, 0x09, 0xd2, - 0x4a, 0xcd, 0x45, 0xfe, 0x66, 0x1b, 0x48, 0xcc, 0x00, 0xef, 0xad, 0xef, - 0x01, 0xf6, 0x25, 0x6f, 0xbf, 0x3c, 0xc5, 0x35, 0x22, 0x6c, 0xc6, 0x47, - 0xca, 0x6d, 0xf2, 0xe7, 0xf1, 0x08, 0x93, 0x04, 0x10, 0xcb, 0x5b, 0xdf, - 0xab, 0x3a, 0x97, 0x40, 0xd9, 0xa9, 0xcc, 0xe6, 0x73, 0xc0, 0xa4, 0x00, - 0xfe, 0x15, 0xf7, 0x39, 0xa0, 0x75, 0x1f, 0x08, 0xd4, 0xcf, 0xa8, 0x33, - 0x24, 0x42, 0x8e, 0x68, 0xe2, 0x1c, 0xd5, 0x42, 0xdc, 0x89, 0xb4, 0x41, - 0xa1, 0x27, 0x1a, 0xb3, 0x9c, 0x28, 0x43, 0x09, 0x41, 0x5a, 0xce, 0x82, - 0xa3, 0x06, 0x80, 0x2b, 0x3c, 0x51, 0xe3, 0xee, 0xdb, 0xc0, 0xe6, 0x1c, - 0x88, 0xd8, 0x75, 0x32, 0x0a, 0xf3, 0x86, 0x9c, 0x4d, 0x9b, 0x7b, 0xc3 +static const uint8_t s_4096[] = { /* signed message, 512 bytes */ + 0x1f, 0xf4, 0x15, 0x31, 0x5b, 0x8c, 0x8f, 0xb4,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 0xd9, 0xd2, + 0xfa, 0x02, 0x90, 0x0f, 0x68, 0xff, 0xa8, 0x26, 0x14, 0x02, 0xc3, 0xf3, + 0x39, 0xc4, 0xde, 0x7e, 0x66, 0x23, 0xfe, 0x2e, 0x9d, 0x13, 0xdb, 0xc8, + 0x91, 0x4b, 0x54, 0x7b, 0x2b, 0x78, 0x8b, 0x2b, 0x4e, 0xef, 0x3d, 0x47, + 0x8c, 0xd7, 0x60, 0x9f, 0x45, 0x26, 0xe6, 0x4e, 0x46, 0x9d, 0x35, 0x52, + 0x81, 0x8f, 0xc6, 0xd7, 0x5a, 0x4e, 0x90, 0xc5, 0x1a, 0x69, 0x52, 0x40, + 0x4b, 0x79, 0xef, 0xe7, 0x68, 0x26, 0xe2, 0xbb, 0x52, 0xa5, 0x78, 0xec, + 0xe4, 0xfb, 0x32, 0xcb, 0x81, 0xad, 0xc0, 0x7b, 0xe4, 0x14, 0x12, 0x80, + 0xa8, 0xb8, 0xea, 0xb3, 0xbb, 0x28, 0x74, 0x39, 0x89, 0xfa, 0x38, 0x3d, + 0xa5, 0x8d, 0xfd, 0xb1, 0x3f, 0x20, 0xc1, 0x33, 0x33, 0xa9, 0xcf, 0x1c, + 0xa1, 0xe6, 0x3a, 0x1e, 0x95, 0x46, 0x37, 0xbc, 0xdd, 0x94, 0x34, 0x53, + 0x33, 0xef, 0x46, 0x72, 0xde, 0xc2, 0x87, 0xac, 0xe1, 0xfa, 0xb0, 0x67, + 0xb6, 0xbe, 0x5c, 0x45, 0x78, 0xee, 0xa9, 0xa2 }; typedef struct { const uint8_t *val; size_t len; } rsa_tc_bn_t; |