/mcuboot-3.6.0/ext/mbedtls-asn1/src/ |
D | platform_util.c | 69 MBEDTLS_INTERNAL_VALIDATE( len == 0 || buf != NULL ); in mbedtls_platform_zeroize() 107 return( ( gmtime_s( tm_buf, tt ) == 0 ) ? tm_buf : NULL ); in mbedtls_platform_gmtime_r() 115 return( NULL ); in mbedtls_platform_gmtime_r() 120 if( lt != NULL ) in mbedtls_platform_gmtime_r() 127 return( NULL ); in mbedtls_platform_gmtime_r() 130 return( ( lt == NULL ) ? NULL : tm_buf ); in mbedtls_platform_gmtime_r()
|
D | asn1parse.c | 282 if( cb != NULL ) in mbedtls_asn1_traverse_sequence_of() 320 while( seq != NULL ) in mbedtls_asn1_sequence_free() 345 if( cur->buf.p != NULL ) in asn1_get_sequence_of_cb() 350 if( cur->next == NULL ) in asn1_get_sequence_of_cb() 443 if( cur == NULL ) in mbedtls_asn1_free_named_data() 456 while( ( cur = *head ) != NULL ) in mbedtls_asn1_free_named_data_list() 467 while( list != NULL ) in mbedtls_asn1_find_named_data()
|
/mcuboot-3.6.0/boot/bootutil/src/ |
D | tlv.c | 45 if (it == NULL || hdr == NULL || fap == NULL) { in bootutil_tlv_iter_begin() 101 if (it == NULL || it->hdr == NULL || it->fap == NULL) { in bootutil_tlv_iter_next() 121 if (type != NULL) { in bootutil_tlv_iter_next()
|
D | fault_injection_hardening_delay_rng_mbedtls.c | 33 &fih_entropy_ctx, NULL, 0); in fih_delay_init()
|
D | loader.c | 525 hdr, fap, tmpbuf, BOOT_TMPBUF_SZ, NULL, 0, NULL); in boot_image_check() 548 FIH_CALL(bootutil_img_validate, fih_rc, NULL, 0, loader_hdr, loader_fap, in split_image_check() 549 tmpbuf, BOOT_TMPBUF_SZ, NULL, 0, loader_hash); in split_image_check() 554 FIH_CALL(bootutil_img_validate, fih_rc, NULL, 0, app_hdr, app_fap, in split_image_check() 555 tmpbuf, BOOT_TMPBUF_SZ, loader_hash, 32, NULL); in split_image_check() 869 const struct flash_area *fap = NULL; in boot_update_security_counter() 1346 assert(fap != NULL); in boot_swap_image() 1472 rc = bootutil_tlv_iter_next(&it, &off, &len, NULL); in boot_verify_slot_dependencies() 1778 rc = boot_read_image_headers(state, false, NULL); 2228 FIH_CALL(boot_validate_slot, fih_rc, state, BOOT_PRIMARY_SLOT, NULL); [all …]
|
D | image_validate.c | 291 if ((hdr == NULL) || in bootutil_get_img_security_cnt() 292 (fap == NULL) || in bootutil_get_img_security_cnt() 293 (img_security_cnt == NULL)) { in bootutil_get_img_security_cnt() 312 rc = bootutil_tlv_iter_next(&it, &off, &len, NULL); in bootutil_get_img_security_cnt()
|
/mcuboot-3.6.0/ext/tinycrypt/lib/include/tinycrypt/ |
D | constants.h | 48 #ifndef NULL 49 #define NULL ((void *)0) macro
|
/mcuboot-3.6.0/boot/zephyr/ |
D | serial_adapter.c | 97 if (line == NULL) { in console_read() 170 cmd = NULL; in boot_uart_fifo_callback() 184 if (cmd != NULL) { in boot_uart_fifo_getline() 193 if (node == NULL) { in boot_uart_fifo_getline() 194 cmd = NULL; in boot_uart_fifo_getline() 195 *line = NULL; in boot_uart_fifo_getline() 228 int rc = usb_enable(NULL); in boot_uart_fifo_init()
|
D | single_loader.c | 54 FIH_CALL(bootutil_img_validate, fih_rc, NULL, 0, hdr, fa_p, tmpbuf, in boot_image_validate() 55 BOOT_TMPBUF_SZ, NULL, 0, NULL); in boot_image_validate()
|
D | firmware_loader.c | 58 FIH_CALL(bootutil_img_validate, fih_rc, NULL, 0, hdr, fa_p, tmpbuf, in boot_image_validate() 59 BOOT_TMPBUF_SZ, NULL, 0, NULL); in boot_image_validate()
|
D | main.c | 352 boot_log_thread_func, NULL, NULL, NULL, 442 rc = usb_enable(NULL); 452 rc = usb_enable(NULL);
|
D | shared_data.c | 44 if (data == NULL) { in boot_add_data_to_shared_area()
|
/mcuboot-3.6.0/boot/bootutil/include/bootutil/crypto/ |
D | rsa.h | 108 input, TLV_ENC_RSA_SZ, NULL, 0, in bootutil_rsa_oaep_decrypt() 209 rc = mbedtls_rsa_rsaes_oaep_decrypt(ctx, fake_rng, NULL, 210 NULL, 0, olen, input, output, output_max_len); 212 rc = mbedtls_rsa_rsaes_oaep_decrypt(ctx, NULL, NULL, MBEDTLS_RSA_PRIVATE, 213 NULL, 0, olen, input, output, output_max_len); 320 rc = mbedtls_rsa_import(ctx, &ctx->MBEDTLS_CONTEXT_MEMBER(N), NULL, 321 NULL, NULL, &ctx->MBEDTLS_CONTEXT_MEMBER(E));
|
D | ecdh_p256.h | 135 NULL); in bootutil_ecdh_p256_shared_secret() 141 NULL, in bootutil_ecdh_p256_shared_secret() 142 NULL); in bootutil_ecdh_p256_shared_secret()
|
/mcuboot-3.6.0/boot/cypress/libs/retarget_io_pdl/ |
D | cy_retarget_io_pdl.c | 80 if (buffer != NULL) in __write() 109 if (ptr != NULL) in _write() 144 if ((handle != _LLIO_STDIN) || (buffer == NULL)) in __read() 162 if (ptr != NULL) in _read() 206 Cy_SCB_UART_Disable(base, NULL); in cy_retarget_io_pdl_setbaud()
|
/mcuboot-3.6.0/boot/cypress/platforms/retarget_io_pdl/ |
D | cy_retarget_io_pdl.c | 80 if (buffer != NULL) in __write() 109 if (ptr != NULL) in _write() 144 if ((handle != _LLIO_STDIN) || (buffer == NULL)) in __read() 162 if (ptr != NULL) in _read() 206 Cy_SCB_UART_Disable(base, NULL); in cy_retarget_io_pdl_setbaud()
|
/mcuboot-3.6.0/boot/zcbor/src/ |
D | zcbor_common.c | 156 state_array[0].constant_state = NULL; in zcbor_new_state() 164 state_array[0].constant_state->backup_list = NULL; in zcbor_new_state() 195 if (fragments == NULL) { in zcbor_validate_string_fragments() 203 if (fragments[i].fragment.value == NULL) { in zcbor_validate_string_fragments() 255 return (str1 != NULL) && (str2 != NULL) in zcbor_compare_strings() 256 && (str1->value != NULL) && (str2->value != NULL) && (str1->len == str2->len) in zcbor_compare_strings() 294 zcbor_new_state(state, n_states, payload, payload_len, elem_count, NULL, 0); in zcbor_entry_function() 305 if (payload_len_out != NULL) { in zcbor_entry_function()
|
/mcuboot-3.6.0/boot/nuttx/src/flash_map_backend/ |
D | flash_map_backend.c | 190 return NULL; in lookup_flash_device_by_id() 221 return NULL; in lookup_flash_device_by_offset() 255 if (dev == NULL) in flash_area_open() 355 DEBUGASSERT(dev != NULL); in flash_area_close() 412 DEBUGASSERT(dev != NULL); in flash_area_read() 480 DEBUGASSERT(dev != NULL); in flash_area_write() 548 if (buffer == NULL) in flash_area_erase() 634 DEBUGASSERT(dev != NULL); in flash_area_erased_val() 804 if (dev != NULL) in flash_area_id_from_image_offset() 835 if (dev == NULL) in flash_area_get_sector()
|
/mcuboot-3.6.0/boot/cypress/cy_flash_pal/ |
D | cy_flash_map.c | 182 NULL 204 while(NULL != boot_area_descs[i]) in flash_area_open() 269 const uint32_t * row_ptr = NULL; in flash_area_write() 488 struct flash_area *fa = NULL; in flash_area_get_sectors() 490 while(NULL != boot_area_descs[i]) in flash_area_get_sectors() 500 if(NULL != boot_area_descs[i]) in flash_area_get_sectors()
|
/mcuboot-3.6.0/testplan/mynewt/apps/slinky/src/ |
D | main.c | 113 return NULL; in test_conf_get() 225 os_task_init(&task1, "task1", task1_handler, NULL, in init_tasks() 231 os_task_init(&task2, "task2", task2_handler, NULL, in init_tasks()
|
/mcuboot-3.6.0/testplan/mynewt/apps/blinky/src/ |
D | main.c | 69 os_task_init(&task1, "blinky", blinky_handler, NULL, in main()
|
/mcuboot-3.6.0/boot/cypress/MCUBootApp/ |
D | keys.c | 133 .key = NULL,
|
/mcuboot-3.6.0/boot/boot_serial/src/ |
D | boot_serial.c | 313 FIH_CALL(bootutil_img_validate, fih_rc, NULL, 0, &hdr, 314 fap, tmpbuf, sizeof(tmpbuf), NULL, 0, NULL); 442 zcbor_new_state(zsd, sizeof(zsd) / sizeof(zcbor_state_t), (uint8_t *)buf, len, 1, NULL, 0); 502 FIH_CALL(bootutil_img_validate, fih_rc, NULL, 0, &hdr, 503 fap, tmpbuf, sizeof(tmpbuf), NULL, 0, NULL); 635 const uint8_t *img_chunk = NULL; /* Pointer to buffer with received image chunk */ 643 const struct flash_area *fap = NULL; 660 zcbor_new_state(zsd, sizeof(zsd) / sizeof(zcbor_state_t), (uint8_t *)buf, len, 1, NULL, 0); 689 if (img_chunk_off == SIZE_MAX || img_chunk == NULL) { 913 zcbor_new_state(zsd, sizeof(zsd) / sizeof(zcbor_state_t), (uint8_t *)buf, len, 1, NULL, 0); [all …]
|
D | zcbor_bulk.c | 64 ok = zcbor_any_skip(zsd, NULL); in zcbor_map_decode_bulk()
|
/mcuboot-3.6.0/ext/mbedtls-asn1/include/mbedtls/ |
D | error.h | 156 if( *mbedtls_test_hook_error_add != NULL ) in mbedtls_error_add()
|