Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 30) sorted by relevance

12

/mcuboot-latest/boot/bootutil/include/bootutil/
Dboot_hooks.h40 #define DO_HOOK_CALL(f, ret_default, ...) \ argument
41 f(__VA_ARGS__)
43 #define DO_HOOK_CALL_FIH(f, fih_ret_default, fih_rc, ...) \ argument
45 FIH_CALL(f, fih_rc, __VA_ARGS__); \
48 #define HOOK_CALL_NOP(f, ret_default, ...) ret_default argument
50 #define HOOK_CALL_FIH_NOP(f, fih_ret_default, fih_rc, ...) \ argument
57 #define BOOT_HOOK_CALL(f, ret_default, ...) \ argument
58 DO_HOOK_CALL(f, ret_default, __VA_ARGS__)
60 #define BOOT_HOOK_CALL_FIH(f, fih_ret_default, fih_rc, ...) \ argument
61 DO_HOOK_CALL_FIH(f, fih_ret_default, fih_rc, __VA_ARGS__)
[all …]
Dfault_injection_hardening.h303 #define FIH_CALL(f, ret, ...) FIH_CALL2(f, ret, __LINE__, __COUNTER__, __VA_ARGS__) argument
305 #define FIH_CALL2(f, ret, l, c, ...) \ argument
311 ret = f(__VA_ARGS__); \
319 #define FIH_CALL(f, ret, ...) \ argument
325 ret = f(__VA_ARGS__); \
/mcuboot-latest/scripts/tests/
Dtest_compression.py67 with in_file.open("wb") as f:
68 f.write(b"hello world\x00\x00\x00\x00\x00" * 64)
78 f'--header-size={HEADER_SIZE}',
79 f'--slot-size={SLOT_SIZE}',
80 f'--version={VERSION}',
82 f'--compression={compression}',
83 f'--key={key_file}'
Dtest_keys.py190 with image.open("wb") as f:
191 f.write(b"\x00" * 1024)
/mcuboot-latest/boot/boot_serial/include/boot_serial/
Dboot_serial.h44 void boot_serial_start(const struct boot_uart_funcs *f);
53 void boot_serial_check_start(const struct boot_uart_funcs *f, int timeout_in_ms);
/mcuboot-latest/ext/tinycrypt/lib/source/
Dsha256.c183 unsigned int a, b, c, d, e, f, g, h; in compress() local
191 e = iv[4]; f = iv[5]; g = iv[6]; h = iv[7]; in compress()
196 t1 += h + Sigma1(e) + Ch(e, f, g) + k256[i]; in compress()
198 h = g; g = f; f = e; e = d + t1; in compress()
209 t1 += h + Sigma1(e) + Ch(e, f, g) + k256[i]; in compress()
211 h = g; g = f; f = e; e = d + t1; in compress()
216 iv[4] += e; iv[5] += f; iv[6] += g; iv[7] += h; in compress()
/mcuboot-latest/ext/tinycrypt-sha512/lib/source/
Dsha512.c200 uint64_t a, b, c, d, e, f, g, h; in compress() local
208 e = iv[4]; f = iv[5]; g = iv[6]; h = iv[7]; in compress()
213 t1 += h + Sigma1(e) + Ch(e, f, g) + k512[i]; in compress()
215 h = g; g = f; f = e; e = d + t1; in compress()
226 t1 += h + Sigma1(e) + Ch(e, f, g) + k512[i]; in compress()
228 h = g; g = f; f = e; e = d + t1; in compress()
233 iv[4] += e; iv[5] += f; iv[6] += g; iv[7] += h; in compress()
/mcuboot-latest/ext/fiat/src/
Dcurve25519.c89 #define assert_fe(f) \ argument
92 assert(f[_assert_fe_i] <= \
107 #define assert_fe_loose(f) \ argument
110 assert(f[_assert_fe_i] <= \
133 static void fe_tobytes(uint8_t s[32], const fe *f) { in fe_tobytes() argument
134 assert_fe(f->v); in fe_tobytes()
135 fiat_25519_to_bytes(s, f->v); in fe_tobytes()
159 static void fe_add(fe_loose *h, const fe *f, const fe *g) { in fe_add() argument
160 assert_fe(f->v); in fe_add()
162 fiat_25519_add(h->v, f->v, g->v); in fe_add()
[all …]
/mcuboot-latest/ci/fih_test_docker/
Dutils.py32 with open(filepath) as f:
33 results = yaml.safe_load(f)
/mcuboot-latest/scripts/imgtool/keys/
Ded25519.py52 with open(path, 'wb') as f:
53 f.write(pem)
106 with open(path, 'wb') as f:
107 f.write(pem)
Dx25519.py54 with open(path, 'wb') as f:
55 f.write(pem)
107 with open(path, 'wb') as f:
108 f.write(pem)
Drsa.py64 with open(path, 'wb') as f:
65 f.write(pem)
164 with open(path, 'wb') as f:
165 f.write(pem)
D__init__.py49 with open(path, 'rb') as f:
50 raw_pem = f.read()
Decdsa.py57 with open(path, 'wb') as f:
58 f.write(pem)
140 with open(path, 'wb') as f:
141 f.write(pem)
/mcuboot-latest/samples/zephyr/
Drun-tests.go220 f, err := os.Open(name)
224 size, err := f.Seek(0, 2)
226 f.Close()
230 rd, err := zip.NewReader(f, size)
232 f.Close()
237 file: f,
/mcuboot-latest/boot/cypress/libs/retarget_io_pdl/
Dcy_retarget_io_pdl.c51 __attribute__((weak)) int fputc(int ch, FILE *f) in fputc() argument
53 (void)f; in fputc()
134 __attribute__((weak)) int fgetc(FILE *f) in fgetc() argument
136 (void)f; in fgetc()
/mcuboot-latest/boot/cypress/platforms/retarget_io_pdl/
Dcy_retarget_io_pdl.c51 __attribute__((weak)) int fputc(int ch, FILE *f) in fputc() argument
53 (void)f; in fputc()
134 __attribute__((weak)) int fgetc(FILE *f) in fgetc() argument
136 (void)f; in fgetc()
/mcuboot-latest/scripts/
Dassemble.py100 with open(dot_config, "r") as f:
101 for line in f:
136 with open(edt_pickle, 'rb') as f:
137 edt = pickle.load(f)
/mcuboot-latest/scripts/imgtool/
Ddumpinfo.py66 …return f"{STATUS[status_hex]} ({status_hex})" if status_hex in STATUS else f"INVALID ({status_hex}…
133 with open(imgfile, "rb") as f:
134 b = f.read()
Dmain.py90 with open(sigfile, 'rb') as f:
91 signature = base64.b64decode(f.read())
96 with open(sigfile, 'wb') as f:
98 f.write(signature)
548 print(f"compressed image size: {compressed_size} bytes")
549 print(f"original image size: {uncompressed_size} bytes")
Dimage.py346 with open(path, 'rb') as f:
347 self.infile_data = f.read()
411 with open(path, 'wb') as f:
412 f.write(self.payload)
806 with open(imgfile, 'rb') as f:
807 b = f.read()
809 raise click.UsageError(f"Image file {imgfile} not found")
/mcuboot-latest/sim/src/
Dlib.rs82 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
93 f.write_str(name) in fmt()
/mcuboot-latest/ext/mbedtls-asn1/include/mbedtls/
Dbignum.h44 #define MBEDTLS_MPI_CHK(f) \ argument
47 if( ( ret = (f) ) != 0 ) \
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/
Decc.h154 #define BYTES_TO_WORDS_8(a, b, c, d, e, f, g, h) 0x##d##c##b##a, 0x##h##g##f##e argument
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c1500 boot_serial_read_console(const struct boot_uart_funcs *f,int timeout_in_ms) in boot_serial_read_console() argument
1513 boot_uf = f; in boot_serial_read_console()
1533 rc = f->read(in_buf + off, sizeof(in_buf) - off, &full_line); in boot_serial_read_console()
1578 boot_serial_start(const struct boot_uart_funcs *f) in boot_serial_start() argument
1581 boot_serial_read_console(f,0); in boot_serial_start()
1591 boot_serial_check_start(const struct boot_uart_funcs *f, int timeout_in_ms) in boot_serial_check_start() argument
1594 boot_serial_read_console(f,timeout_in_ms); in boot_serial_check_start()

12