Home
last modified time | relevance | path

Searched full:4 (Results 1 – 25 of 146) sorted by relevance

123456

/mcuboot-3.5.0/boot/espressif/port/
Desp_mcuboot.c48 _Static_assert(IS_ALIGNED(FLASH_BUFFER_SIZE, 4), "Buffer size for SPI Flash operations must be 4-by…
145 if (IS_ALIGNED(addr, 4) && IS_ALIGNED((uintptr_t)dest, 4) && IS_ALIGNED(size, 4)) { in aligned_flash_read()
151 const uint32_t aligned_addr = ALIGN_DOWN(addr, 4); in aligned_flash_read()
152 const uint32_t addr_offset = ALIGN_OFFSET(addr, 4); in aligned_flash_read()
156 /* Align the read address to 4-byte boundary and ensure read size is a multiple of 4 bytes */ in aligned_flash_read()
159 if (bootloader_flash_read(aligned_addr, read_data, ALIGN_UP(bytes, 4), true) != ESP_OK) { in aligned_flash_read()
176 … if (bootloader_flash_read(aligned_addr + offset, read_data, ALIGN_UP(bytes, 4), true) != ESP_OK) { in aligned_flash_read()
221 if (IS_ALIGNED(dest_addr, 4) && IS_ALIGNED((uintptr_t)src, 4) && IS_ALIGNED(size, 4)) { in aligned_flash_write()
227 const uint32_t aligned_addr = ALIGN_DOWN(dest_addr, 4); in aligned_flash_write()
228 const uint32_t addr_offset = ALIGN_OFFSET(dest_addr, 4); in aligned_flash_write()
[all …]
/mcuboot-3.5.0/boot/cypress/platforms/PSOC_062_2M/CM0P/GCC_ARM/
Dstartup_psoc6_02_cm0plus.S99 .long NvicMux4_IRQHandler /* CPU User Interrupt #4 */
107 .long Internal4_IRQHandler /* Internal SW Interrupt #4 */
165 * offset 4: VMA of start of a section to copy to
166 * offset 8: size of the section to copy. Must be multiply of 4
168 * All addresses must be aligned to 4 bytes boundary.
177 ldr r2, [r4, #4]
181 subs r3, #4
200 * All addresses must be aligned to 4 bytes boundary.
210 subs r3, #4
234 * offset 4: Size of this BSS section. Must be multiply of 4
[all …]
Dcy8c6xxa_cm0plus.ld133 . = ALIGN(4);
136 . = ALIGN(4);
141 . = ALIGN(4);
187 . = ALIGN(4);
209 . = ALIGN(4);
234 . = ALIGN(4);
240 . = ALIGN(4);
247 . = ALIGN(4);
255 . = ALIGN(4);
258 . = ALIGN(4);
[all …]
/mcuboot-3.5.0/.github/workflows/
Dfih_tests.yaml21 - "RELEASE 2,4,6 SIGNATURE"
22 - "RELEASE 2,4,6 SIGNATURE LOW"
23 - "RELEASE 2,4,6 SIGNATURE MEDIUM"
27 - "MINSIZEREL 2,4,6 SIGNATURE"
28 - "MINSIZEREL 2,4,6 SIGNATURE LOW"
29 - "MINSIZEREL 2,4,6 SIGNATURE MEDIUM"
/mcuboot-3.5.0/
D.travis.yml-disabled12 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
24 env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=2,4,6 TEST=fih-tests DAMAGE_TYPE=SIGNATURE
28 env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=2,4,6 FIH_LEVEL=LOW TEST=fih-tests DAMAGE_TYPE=SIGNATURE
32 … env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=2,4,6 FIH_LEVEL=MEDIUM TEST=fih-tests DAMAGE_TYPE=SIGNATURE
50 # env: BUILD_TYPE=MINSIZEREL SKIP_SIZE=2,4,6 TEST=fih-tests DAMAGE_TYPE=IMAGE_HASH
Droot-rsa-2048.pem5 vntyIYlpJPv4ZW5kPsgO14XVXErkUw0v/7f98xM5gz+jrtIPp2qd+f64zvoqvq+4
6 4PqCN1T0PuEr0NMIWBj2XkzIiIExrV+wghfyimknI/Orhz6TGh3+6PgaJGZZ+Byr
9 LYF0lnUFvLltV/4dJtjnqJTqnSCamc1mJIVrwiJA8XwJ07GWDuL2G//p7jJ3v05T
/mcuboot-3.5.0/boot/cypress/platforms/PSOC_062_2M/CM4/GCC_ARM/
Dstartup_psoc6_02_cm4.S99 .long ioss_interrupts_gpio_4_IRQHandler /* GPIO Port Interrupt #4 */
122 …ong cpuss_interrupts_ipc_4_IRQHandler /* CPUSS Inter Process Communication Interrupt #4 */
138 .long scb_4_interrupt_IRQHandler /* Serial Communication Block #4 */
155 .long cpuss_interrupts_dw0_4_IRQHandler /* CPUSS DataWire #0, Channel #4 */
184 .long cpuss_interrupts_dw1_4_IRQHandler /* CPUSS DataWire #1, Channel #4 */
222 .long tcpwm_0_interrupts_4_IRQHandler /* TCPWM #0, Counter #4 */
230 .long tcpwm_1_interrupts_4_IRQHandler /* TCPWM #1, Counter #4 */
328 * offset 4: VMA of start of a section to copy to
329 * offset 8: size of the section to copy. Must be multiply of 4
331 * All addresses must be aligned to 4 bytes boundary.
[all …]
Dcy8c6xxa_cm4_dual.ld131 . = ALIGN(4);
143 . = ALIGN(4);
146 . = ALIGN(4);
151 . = ALIGN(4);
197 . = ALIGN(4);
219 . = ALIGN(4);
244 . = ALIGN(4);
250 . = ALIGN(4);
257 . = ALIGN(4);
265 . = ALIGN(4);
[all …]
/mcuboot-3.5.0/docs/
DGemfile.lock29 ruby2_keywords (>= 0.0.4)
40 jekyll-default-layout (= 0.1.4)
73 liquid (= 4.0.4)
102 rouge (>= 1.7, < 4)
116 jekyll-default-layout (0.1.4)
203 liquid (4.0.4)
208 mini_portile2 (2.8.4)
214 nokogiri (1.15.4)
232 sass (3.7.4)
235 rb-fsevent (~> 0.9, >= 0.9.4)
[all …]
Dreadme-zephyr.md172 with a sector size of 4KB then the scratch area must be at least 4KB in size).
174 4KB, 8KB, 12KB, 16KB are allowed, 7KB, 7.5KB are not. This scratch partition
199 has a 4KB sector size so the size of the scratch partition can be reduced at
244 * 4 - image-3.
/mcuboot-3.5.0/boot/cypress/MCUBootApp/
DMCUBootApp.ld134 . = ALIGN(4);
137 . = ALIGN(4);
142 . = ALIGN(4);
188 . = ALIGN(4);
210 . = ALIGN(4);
240 . = ALIGN(4);
243 . = ALIGN(4);
254 . = ALIGN(4);
260 . = ALIGN(4);
267 . = ALIGN(4);
[all …]
Dcy_serial_flash_prog.c80 0x200-4, /* Offset=0x0000: Object Size, bytes */
87 … Bits[ 4: 2] LISTEN_WINDOW (0=20ms, 1=10ms, 2=1ms, 3=0ms, 4=100ms)
/mcuboot-3.5.0/ext/tinycrypt/tests/
Dtest_ecc_dsa.c86 unsigned int digest[TC_SHA256_DIGEST_SIZE / 4]; in sign_vectors()
124 int hash_dwords = TC_SHA256_DIGEST_SIZE / 4; in sign_vectors()
129 memset(digest, 0, NUM_ECC_BYTES - 4 * hash_dwords); in sign_vectors()
170 "4af107e8e2194c830ffb712a65511bc9186a133007855b49ab4b3833aefc4a1d", in cavp_sign()
237 "4d55c99ef6bd54621662c3d110c3cb627c03d6311393b264ab97b90a4b15214a5593ba2510" in cavp_sign()
332 "4f7f65305e24a6bbb5cff714ba8f5a2cee5bdc89ba8d75dcbf21966ce38eb66f", in cavp_sign()
353 unsigned int digest[TC_SHA256_DIGEST_SIZE / 4]; in vrfy_vectors()
391 int hash_dwords = TC_SHA256_DIGEST_SIZE / 4; in vrfy_vectors()
396 memset(digest, 0, NUM_ECC_BYTES - 4 * hash_dwords); in vrfy_vectors()
406 /* error 4 - Q changed */ in vrfy_vectors()
[all …]
/mcuboot-3.5.0/boot/cypress/BlinkyApp/linker/
DBlinkyApp_template.ld132 . = ALIGN(4);
135 . = ALIGN(4);
140 . = ALIGN(4);
186 . = ALIGN(4);
208 . = ALIGN(4);
233 . = ALIGN(4);
239 . = ALIGN(4);
246 . = ALIGN(4);
254 . = ALIGN(4);
257 . = ALIGN(4);
[all …]
/mcuboot-3.5.0/ext/fiat/src/
Dcurve25519.h23 // t[3]+2^102 t[4]+...+2^230 t[9].
196 uint64_t x6 = ((uint64_t)(arg1[9]) * ((arg2[4]) * (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()
213 uint64_t x23 = ((uint64_t)(arg1[7]) * ((arg2[4]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul()
220 uint64_t x30 = ((uint64_t)(arg1[6]) * ((arg2[4]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul()
226 uint64_t x36 = ((uint64_t)(arg1[4]) * ((arg2[9]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul()
227 uint64_t x37 = ((uint64_t)(arg1[4]) * ((arg2[8]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul()
228 uint64_t x38 = ((uint64_t)(arg1[4]) * ((arg2[7]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul()
229 uint64_t x39 = ((uint64_t)(arg1[4]) * ((arg2[6]) * (uint32_t)UINT8_C(0x13))); in fiat_25519_carry_mul()
246 uint64_t x56 = ((uint64_t)(arg1[5]) * (arg2[4])); in fiat_25519_carry_mul()
[all …]
/mcuboot-3.5.0/ext/mbedtls-asn1/include/mbedtls/
Derror.h67 * CTR_DBRG 4 0x0034-0x003A
70 * ARIA 4 0x0058-0x005E
74 * HMAC_DRBG 4 0x0003-0x0009
89 * PKCS#12 1 4 (Started from top)
91 * PKCS5 2 4 (Started from top)
94 * RSA 4 11
95 * ECP 4 10 (Started from top)
Doid.h53 #define MBEDTLS_OID_X509_EXT_POLICY_MAPPINGS (1 << 4)
113 …" /** { joint-iso-itu-t(2) country(16) us(840) organization(1) gov(101) csor(3) nistAlgorithm(4) */
126 … MBEDTLS_OID_ISO_CCITT_DS "\x04" /**< id-at OBJECT IDENTIFIER ::= {joint-iso-ccitt(2) ds(5) 4} */
128 …D_AT_SUR_NAME MBEDTLS_OID_AT "\x04" /**< id-at-surName AttributeType:= {id-at 4} */
202 …ON MBEDTLS_OID_KP "\x04" /**< id-kp-emailProtection OBJECT IDENTIFIER ::= { id-kp 4 } */
209 * private(4) enterprise(1) WiSUN(45605) FieldAreaNetwork(1) }
214 … MBEDTLS_OID_ON "\x04" /**< id-on-hardwareModuleName OBJECT IDENTIFIER ::= { id-on 4 } */
230 …DTLS_OID_PKCS1_MD5 MBEDTLS_OID_PKCS1 "\x04" /**< md5WithRSAEncryption ::= { pkcs-1 4 } */
250 …o-itu-t(2) country(16) us(840) organization(1) gov(101) csor(3) nistalgorithm(4) hashalgs(2) 4 } */
251 …o-itu-t(2) country(16) us(840) organization(1) gov(101) csor(3) nistalgorithm(4) hashalgs(2) 1 } */
[all …]
/mcuboot-3.5.0/sim/src/
Dtlv.rs350 size += 4; in protect_size()
352 … size += (self.dependencies.len() as u16) * (4 + std::mem::size_of::<Dependency>() as u16); in protect_size()
354 size += 4 + 4; in protect_size()
372 // Begin the estimate with the 4 byte header. in estimate_size()
373 let mut estimate = 4; in estimate_size()
378 estimate += 4 + 32; in estimate_size()
380 estimate += 4 + 48; in estimate_size()
385 estimate += 4 + 32; // keyhash in estimate_size()
386 estimate += 4 + 256; // RSA2048 in estimate_size()
389 estimate += 4 + 32; // keyhash in estimate_size()
[all …]
Dlib.rs104 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/scripts/imgtool/keys/
Drsa.py119 len_N = (b[off + 2] << 8) + b[off + 3] + 4
123 len_E = b[off + 2] + 4
127 len_D = (b[off + 2] << 8) + b[off + 3] + 4
138 b[2] = (off - 4) >> 8
139 b[3] = (off - 4) & 0xff
/mcuboot-3.5.0/ci/fih_test_docker/
Ddamage_image.py80 (i.it_magic, i.it_tlv_tot) = struct.unpack('<HH', in_file.read(4))
101 (tlv.it_type, _, tlv.it_len) = struct.unpack('<BBH', in_file.read(4))
107 return int((4 + self.it_len + round_to - 1) // round_to) * round_to
128 damage_offset = image_offset + tlv_off + 4
178 …logging.debug(" tlv {:24s} len = {:4d}, len = {:4d}".format(get_tlv_type_string(tlv.it_type), t…
/mcuboot-3.5.0/boot/bootutil/include/bootutil/
Dbootutil_public.h76 #define BOOT_SWAP_TYPE_REVERT 4
103 #define BOOT_MAGIC_ANY 4 /* NOTE: control only, not dependent on sector */
112 #define BOOT_FLAG_ANY 4 /* NOTE: control only, not dependent on sector */
117 #define BOOT_EBADVECT 4
130 #define BOOT_GET_IMAGE_NUM(swap_info) ((swap_info) >> 4)
136 (swap_info) = (image) << 4 \
/mcuboot-3.5.0/ext/tinycrypt/documentation/
Dtinycrypt.rst22 * Standard Specification: NIST FIPS PUB 180-4.
214 accepts any even integer between 4 and 16, as suggested in SP 800-38C.
251 consisting of 4 unsigned integers (as an example).
304 * `NIST FIPS PUB 180-4 (SHA-256)`_
306 .. _NIST FIPS PUB 180-4 (SHA-256):
307 http://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf
/mcuboot-3.5.0/ext/tinycrypt/lib/source/
Decc.c469 uECC_vli_modSquare_fast(t4, t4, curve); /* t4 = y1^4 */ in double_jacobian_default()
476 uECC_vli_modMult_fast(X1, X1, Z1, curve); /* t1 = x1^2 - z1^4 */ in double_jacobian_default()
478 uECC_vli_modAdd(Z1, X1, X1, curve->p, num_words); /* t3 = 2*(x1^2 - z1^4) */ in double_jacobian_default()
479 uECC_vli_modAdd(X1, X1, Z1, curve->p, num_words); /* t1 = 3*(x1^2 - z1^4) */ in double_jacobian_default()
488 /* t1 = 3/2*(x1^2 - z1^4) = B */ in double_jacobian_default()
494 /* t4 = B * (A - x3) - y1^4 = y3: */ in double_jacobian_default()
532 tmp[4] = product[12]; in vli_mmod_fast_secp256r1()
541 tmp[4] = product[13]; in vli_mmod_fast_secp256r1()
552 tmp[3] = tmp[4] = tmp[5] = 0; in vli_mmod_fast_secp256r1()
562 tmp[4] = product[14]; in vli_mmod_fast_secp256r1()
[all …]
Dctr_prng.c101 /* 10.2.1.2 step 4 */ in tc_ctr_prng_update()
147 /* 10.2.1.3.1 step 4 */ in tc_ctr_prng_init()
194 /* 10.2.1.4.1 step 4 */ in tc_ctr_prng_reseed()
237 /* 10.2.1.5.1 step 4 */ in tc_ctr_prng_generate()

123456