Merge pull request #6185 from s-hadinger/bearssl_update

Catch-up from bearssl-esp8266
This commit is contained in:
Theo Arends 2019-08-06 21:44:49 +02:00 committed by GitHub
commit 58eb15fd52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -141,8 +141,8 @@ loop%=: \n\
py = &y[0]; // addresses of both arrays that will be scanned as uint16_t py = &y[0]; // addresses of both arrays that will be scanned as uint16_t
pm = &m[0]; pm = &m[0];
int py_unaligned = (((int)py) & 2) != 0; int py_unaligned = (((intptr_t)py) & 2) != 0;
int pm_unaligned = (((int)pm) & 2) != 0; int pm_unaligned = (((intptr_t)pm) & 2) != 0;
uint32_t ty, tm; // 32 bits buffers uint32_t ty, tm; // 32 bits buffers
if (!py_unaligned && !pm_unaligned) { if (!py_unaligned && !pm_unaligned) {
// both are aligned to 32 bits, we always skip the first 16 bits // both are aligned to 32 bits, we always skip the first 16 bits

View File

@ -158,7 +158,7 @@ static const unsigned char t0_codeblock[] PROGMEM = {
0x02, 0x06, 0x1E, 0x00, 0x00, 0x19, 0x19, 0x00, 0x00, 0x01, 0x0B, 0x00, 0x02, 0x06, 0x1E, 0x00, 0x00, 0x19, 0x19, 0x00, 0x00, 0x01, 0x0B, 0x00,
0x00, 0x01, 0x00, 0x20, 0x14, 0x06, 0x08, 0x01, 0x01, 0x21, 0x20, 0x22, 0x00, 0x01, 0x00, 0x20, 0x14, 0x06, 0x08, 0x01, 0x01, 0x21, 0x20, 0x22,
0x20, 0x04, 0x75, 0x13, 0x00, 0x00, 0x01, 0x20, 0x04, 0x75, 0x13, 0x00, 0x00, 0x01,
T0_INT2(3 * BR_X509_BUFSIZE_KEY), 0x00, 0x01, 0x01, 0x87, 0xFF, 0xFF, T0_INT2(3 * BR_X509_BUFSIZE_SIG), 0x00, 0x01, 0x01, 0x87, 0xFF, 0xFF,
0x7F, 0x54, 0x57, 0x01, 0x02, 0x3E, 0x55, 0x01, 0x01, 0x0E, 0x06, 0x02, 0x7F, 0x54, 0x57, 0x01, 0x02, 0x3E, 0x55, 0x01, 0x01, 0x0E, 0x06, 0x02,
0x30, 0x16, 0x57, 0x01, 0x02, 0x19, 0x0D, 0x06, 0x06, 0x13, 0x3B, 0x44, 0x30, 0x16, 0x57, 0x01, 0x02, 0x19, 0x0D, 0x06, 0x06, 0x13, 0x3B, 0x44,
0x32, 0x04, 0x1C, 0x01, 0x04, 0x19, 0x0D, 0x06, 0x08, 0x13, 0x3B, 0x01, 0x32, 0x04, 0x1C, 0x01, 0x04, 0x19, 0x0D, 0x06, 0x08, 0x13, 0x3B, 0x01,