/mcuboot-3.5.0/boot/bootutil/include/bootutil/crypto/ |
D | aes_kw.h | 55 return mbedtls_nist_kw_setkey(ctx, MBEDTLS_CIPHER_ID_AES, k, klen * 8, 0); in bootutil_aes_kw_set_unwrap_key() 98 uint8_t A[8]; in bootutil_aes_kw_unwrap() 106 for (k = 0; k < 8; k++) { in bootutil_aes_kw_unwrap() 108 key[k] = wrapped_key[8 + k]; in bootutil_aes_kw_unwrap() 109 key[8 + k] = wrapped_key[16 + k]; in bootutil_aes_kw_unwrap() 114 for (k = 0; k < 8; k++) { in bootutil_aes_kw_unwrap() 116 B[8 + k] = key[((i-1) * 8) + k]; in bootutil_aes_kw_unwrap() 122 for (k = 0; k < 8; k++) { in bootutil_aes_kw_unwrap() 124 key[((i-1) * 8) + k] = B[8 + k]; in bootutil_aes_kw_unwrap() 129 for (i = 0, k = 0; i < 8; i++) { in bootutil_aes_kw_unwrap()
|
/mcuboot-3.5.0/.github/workflows/ |
D | fih_tests.yaml | 24 - "RELEASE 8,10 SIGNATURE" 25 - "RELEASE 8,10 SIGNATURE LOW" 26 - "RELEASE 8,10 SIGNATURE MEDIUM" 30 - "MINSIZEREL 8,10 SIGNATURE" 31 - "MINSIZEREL 8,10 SIGNATURE LOW" 32 - "MINSIZEREL 8,10 SIGNATURE MEDIUM"
|
/mcuboot-3.5.0/ext/fiat/src/ |
D | curve25519.h | 192 uint64_t x2 = ((uint64_t)(arg1[9]) * ((arg2[8]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul() 200 uint64_t x10 = ((uint64_t)(arg1[8]) * ((arg2[9]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul() 201 uint64_t x11 = ((uint64_t)(arg1[8]) * ((arg2[8]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul() 202 uint64_t x12 = ((uint64_t)(arg1[8]) * ((arg2[7]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul() 203 uint64_t x13 = ((uint64_t)(arg1[8]) * ((arg2[6]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul() 204 uint64_t x14 = ((uint64_t)(arg1[8]) * ((arg2[5]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul() 205 uint64_t x15 = ((uint64_t)(arg1[8]) * ((arg2[4]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul() 206 uint64_t x16 = ((uint64_t)(arg1[8]) * ((arg2[3]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul() 207 uint64_t x17 = ((uint64_t)(arg1[8]) * ((arg2[2]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul() 209 uint64_t x19 = ((uint64_t)(arg1[7]) * ((arg2[8]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul() [all …]
|
/mcuboot-3.5.0/ |
D | .travis.yml-disabled | 12 env: BUILD_TYPE=RELEASE SKIP_SIZE=2,4,6,8,10 TEST=fih-tests DAMAGE_TYPE=SIGNATURE 16 … env: BUILD_TYPE=RELEASE SKIP_SIZE=2,4,6,8,10 FIH_LEVEL=LOW TEST=fih-tests DAMAGE_TYPE=SIGNATURE 20 … env: BUILD_TYPE=RELEASE SKIP_SIZE=2,4,6,8,10 FIH_LEVEL=MEDIUM TEST=fih-tests DAMAGE_TYPE=SIGNATURE 36 env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=8,10 TEST=fih-tests DAMAGE_TYPE=SIGNATURE 40 env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=8,10 FIH_LEVEL=LOW TEST=fih-tests DAMAGE_TYPE=SIGNATURE 44 … env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=8,10 FIH_LEVEL=MEDIUM TEST=fih-tests DAMAGE_TYPE=SIGNATURE
|
/mcuboot-3.5.0/ext/tinycrypt/lib/include/tinycrypt/ |
D | ccm_mode.h | 51 * between 0 and (2^16 - 2^8) bytes. 61 * applications to use a mac length greater than 8. Besides, the 84 /* max additional authenticated size in bytes: 2^16 - 2^8 = 65280 */ 87 /* max message size in bytes: 2^(8L) = 2^16 = 65536 */ 104 * mlen != {4, 6, 8, 10, 12, 16} 141 * The byte FLAGS is composed by the following 8 bits: 150 * The byte FLAGS is composed by the following 8 bits: 187 * The byte FLAGS is composed by the following 8 bits: 196 * The byte FLAGS is composed by the following 8 bits:
|
/mcuboot-3.5.0/testplan/mynewt/ |
D | key_rsa.pem | 7 Ya8yPUHp9rGic8L/0TJVH9oJI8GDUeFP1WU+lwIDAQABAoIBAQDBV+8mGSFRgIKY 16 2cbIfHXEpt46aDEN7BwBog+8KL5Mima13zN8Melu6WvhB69JGG8IlUstMPPAq6uL 20 RS12JVH5KpPPOiOf6nRHFF8bKzO8EX+91peHhtYx/8s8u8IrMls3HYyAgsS7NSCp
|
D | key_rsa_2.pem | 19 1FSDRIJhSuqHqx+8YkAFFbUixNCxAIeHtMo3EPQMApFxK8paa4F2MZ7uwso+yqqi 24 Ii2Qf/cCgYBi5WOv0cFyff+uQNUGEv1l896+8yhyml2ogE8PTdrBX16e4/N89vG4
|
/mcuboot-3.5.0/ext/tinycrypt/lib/source/ |
D | aes_encrypt.c | 64 return (((a) >> 24)|((a) << 8)); in rotword() 68 #define subword(a)(subbyte(a, 24)|subbyte(a, 16)|subbyte(a, 8)|subbyte(a, 0)) 87 (k[Nb*i+2]<<8) | (k[Nb*i+3]); in tc_aes128_set_encrypt_key() 104 s[2] ^= (uint8_t)(k[0] >> 8); s[3] ^= (uint8_t)(k[0]); in add_round_key() 106 s[6] ^= (uint8_t)(k[1] >> 8); s[7] ^= (uint8_t)(k[1]); in add_round_key() 107 s[8] ^= (uint8_t)(k[2] >> 24); s[9] ^= (uint8_t)(k[2] >> 16); in add_round_key() 108 s[10] ^= (uint8_t)(k[2] >> 8); s[11] ^= (uint8_t)(k[2]); in add_round_key() 110 s[14] ^= (uint8_t)(k[3] >> 8); s[15] ^= (uint8_t)(k[3]); in add_round_key() 153 t[8] = s[8]; t[9] = s[13]; t[10] = s[2]; t[11] = s[7]; in shift_rows()
|
D | aes_decrypt.c | 95 s[2] ^= (uint8_t)(k[0] >> 8); s[3] ^= (uint8_t)(k[0]); in add_round_key() 97 s[6] ^= (uint8_t)(k[1] >> 8); s[7] ^= (uint8_t)(k[1]); in add_round_key() 98 s[8] ^= (uint8_t)(k[2] >> 24); s[9] ^= (uint8_t)(k[2] >> 16); in add_round_key() 99 s[10] ^= (uint8_t)(k[2] >> 8); s[11] ^= (uint8_t)(k[2]); in add_round_key() 101 s[14] ^= (uint8_t)(k[3] >> 8); s[15] ^= (uint8_t)(k[3]); in add_round_key() 124 t[8] = s[8]; t[9] = s[5]; t[10] = s[2]; t[11] = s[15]; in inv_shift_rows()
|
D | sha256.c | 49 * of the square roots of the first 8 primes: 2, 3, 5, 7, 11, 13, 17 in tc_sha256_init() 100 if (s->leftover_offset > (sizeof(s->leftover) - 8)) { in tc_sha256_final() 110 sizeof(s->leftover) - 8 - s->leftover_offset); in tc_sha256_final() 112 s->leftover[sizeof(s->leftover) - 2] = (uint8_t)(s->bits_hashed >> 8); in tc_sha256_final() 118 s->leftover[sizeof(s->leftover) - 8] = (uint8_t)(s->bits_hashed >> 56); in tc_sha256_final() 128 *digest++ = (uint8_t)(t >> 8); in tc_sha256_final() 176 n |= ((unsigned int)(*((*c)++)) << 8); in BigEndian()
|
D | ccm_mode.c | 51 return TC_CRYPTO_FAIL; /* The allowed mac sizes are: 4, 6, 8, 10, 12, 14, 16.*/ in tc_ccm_config() 71 T[0] ^= (uint8_t)(dlen >> 8); in ccm_cbc_mac() 117 block_num = (uint16_t) ((nonce[14] << 8)|(nonce[15])); in ccm_ctr_mode() 121 nonce[14] = (uint8_t)(block_num >> 8); in ccm_ctr_mode() 165 b[14] = (uint8_t)(plen >> 8); in tc_ccm_generation_encryption() 246 b[14] = (uint8_t)((plen - c->mlen) >> 8); in tc_ccm_decryption_verification()
|
/mcuboot-3.5.0/boot/bootutil/src/ |
D | image_rsa.c | 56 #define PSS_EMLEN (MCUBOOT_SIGN_RSA_LEN / 8) 76 static const uint8_t pss_zeros[8] = {0}; 150 * emLen = ceil(emBits/8) = 256 in bootutil_cmp_rsasig() 181 /* Step 6. If the leftmost 8emLen - emBits bits of the leftmost in bootutil_cmp_rsasig() 185 * 8emLen - emBits is zero, so there is nothing to test here. in bootutil_cmp_rsasig() 191 /* Step 8. let DB = maskedDB xor dbMask. in bootutil_cmp_rsasig() 199 /* Step 9. Set the leftmost 8emLen - emBits bits of the leftmost in bootutil_cmp_rsasig() 225 bootutil_sha_update(&shactx, pss_zeros, 8); in bootutil_cmp_rsasig()
|
/mcuboot-3.5.0/ext/tinycrypt-sha512/lib/source/ |
D | sha512.c | 49 * of the square roots of the first 8 primes: 2, 3, 5, 7, 11, 13, 17 in tc_sha512_init() 114 sizeof(s->leftover) - 8 - s->leftover_offset); in tc_sha512_final() 116 s->leftover[sizeof(s->leftover) - 2] = (uint8_t)(s->bits_hashed >> 8); in tc_sha512_final() 122 s->leftover[sizeof(s->leftover) - 8] = (uint8_t)(s->bits_hashed >> 56); in tc_sha512_final() 136 *digest++ = (uint8_t)(t >> 8); in tc_sha512_final() 177 #define sigma0(a)(ROTR((a), 1) ^ ROTR((a), 8) ^ ((a) >> 7)) 193 n |= (uint64_t)(*((*c)++)) << 8; in BigEndian()
|
/mcuboot-3.5.0/scripts/imgtool/keys/ |
D | rsa.py | 74 return self.key_size() / 8 119 len_N = (b[off + 2] << 8) + b[off + 3] + 4 127 len_D = (b[off + 2] << 8) + b[off + 3] + 4 138 b[2] = (off - 4) >> 8
|
D | general.py | 27 if count % 8 == 0: 88 print(str(self.get_public_pem(), 'utf-8'), file=file, end='') 90 print(str(self.get_public_pem(), 'utf-8'), file=sys.stdout, end='')
|
/mcuboot-3.5.0/boot/cypress/platforms/PSOC_062_2M/CM4/GCC_ARM/ |
D | startup_psoc6_02_cm4.S | 103 .long ioss_interrupts_gpio_8_IRQHandler /* GPIO Port Interrupt #8 */ 113 ….long scb_8_interrupt_IRQHandler /* Serial Communication Block #8 (DeepSleep capab… 126 …ong cpuss_interrupts_ipc_8_IRQHandler /* CPUSS Inter Process Communication Interrupt #8 */ 159 .long cpuss_interrupts_dw0_8_IRQHandler /* CPUSS DataWire #0, Channel #8 */ 188 .long cpuss_interrupts_dw1_8_IRQHandler /* CPUSS DataWire #1, Channel #8 */ 234 .long tcpwm_1_interrupts_8_IRQHandler /* TCPWM #1, Counter #8 */ 329 * offset 8: size of the section to copy. Must be multiply of 4 341 ldr r3, [r4, #8] 410 adds r3, #8 533 def_irq_handler ioss_interrupts_gpio_8_IRQHandler /* GPIO Port Interrupt #8 */ [all …]
|
/mcuboot-3.5.0/ext/tinycrypt/tests/ |
D | test_ecc_dsa.c | 270 "8bcfe2a721ca6d753968f564ec4315be4857e28bef1908f61a366b1f03c97479", in cavp_sign() 275 "8fb287f0202ad57ae841aea35f29b2e1d53e196d0ddd9aec24813d64c0922fb7", in cavp_sign() 286 "8af62a4c683f096b28558320737bf83b9959a46ad2521004ef74cf85e67494e1", in cavp_sign() 318 "8bf77819ca05a6b2786c76262bf7371cef97b218e96f175a3ccdda2acc058903", in cavp_sign() 441 "8cde1a23c7745351392ca2288d632c264f197d05cd424a30336c19fd09bb229654f0222fcb" in cavp_verify() 549 "8acd62e8c262fa50dd9840480969f4ef70f218ebf8ef9584f199031132c6b1ce", in cavp_verify() 576 "8f780ad713f9c3e5a4f7fa4c519833dfefc6a7432389b1e4af463961f09764f2", in cavp_verify()
|
D | test_ccm_mode.c | 42 * - AES128 CCM mode encryption RFC 3610 test vector #8 58 #define HEADER_LEN 8 59 #define M_LEN8 8 286 /* RFC 3610 test vector #8 */ in test_vector_5() 312 TC_PRINT("%s: Performing CCM test #5 (RFC 3610 test vector #8):\n", in test_vector_5() 437 const uint8_t hdr[8] = { in test_vector_8() 451 TC_PRINT("%s: Performing CCM test #8 (no payload data):\n", __func__); in test_vector_8() 534 TC_ERROR("CCM test #8 (no payload data) failed.\n"); in main()
|
/mcuboot-3.5.0/testplan/mynewt/apps/slinky/src/ |
D | main.c | 52 #define TASK1_PRIO (8) 107 if (!strcmp(argv[0], "8")) { in test_conf_get() 120 if (!strcmp(argv[0], "8")) { in test_conf_set() 143 func("test/8", buf); in test_conf_export()
|
/mcuboot-3.5.0/boot/espressif/port/esp32c3/ |
D | bootloader.conf | 41 # CONFIG_ESP_SERIAL_BOOT_GPIO_RX=8 52 # CONFIG_ESP_CONSOLE_UART_RX_GPIO=8
|
/mcuboot-3.5.0/boot/espressif/port/esp32c6/ |
D | bootloader.conf | 41 # CONFIG_ESP_SERIAL_BOOT_GPIO_RX=8 52 # CONFIG_ESP_CONSOLE_UART_RX_GPIO=8
|
/mcuboot-3.5.0/boot/espressif/port/esp32h2/ |
D | bootloader.conf | 41 # CONFIG_ESP_SERIAL_BOOT_GPIO_RX=8 52 # CONFIG_ESP_CONSOLE_UART_RX_GPIO=8
|
/mcuboot-3.5.0/sim/src/ |
D | lib.rs | 104 formatter.write_str("1, 2, 4 or 8") in expecting() 111 1 | 2 | 4 | 8 => AlignArg(n as usize), in visit_u32() 155 for &align in &[1, 2, 4, 8] { in main()
|
/mcuboot-3.5.0/boot/cypress/platforms/ |
D | cycfg_peripherals.c | 36 .oversample = 8, 38 .dataWidth = 8UL,
|
/mcuboot-3.5.0/boot/cypress/libs/watchdog/ |
D | watchdog.c | 72 {16, 12}, // 8 bits: min period: 16ms, max period: 23ms, round up from 12+ms 73 {8, 6}, // 9 bits: min period: 8ms, max period: 11ms, round up from 6+ms
|