Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 19 of 19) sorted by relevance

/mcuboot-latest/ext/tinycrypt/lib/source/
Dcbc_mode.c42 uint8_t buffer[TC_AES_BLOCK_SIZE]; in tc_cbc_mode_encrypt() local
58 (void)_copy(buffer, TC_AES_BLOCK_SIZE, iv, TC_AES_BLOCK_SIZE); in tc_cbc_mode_encrypt()
64 buffer[m++] ^= *in++; in tc_cbc_mode_encrypt()
66 (void)tc_aes_encrypt(buffer, buffer, sched); in tc_cbc_mode_encrypt()
68 buffer, TC_AES_BLOCK_SIZE); in tc_cbc_mode_encrypt()
82 uint8_t buffer[TC_AES_BLOCK_SIZE]; in tc_cbc_mode_decrypt() local
106 (void)tc_aes_decrypt(buffer, in, sched); in tc_cbc_mode_decrypt()
110 *out++ = buffer[m++] ^ *p++; in tc_cbc_mode_decrypt()
Dctr_mode.c42 uint8_t buffer[TC_AES_BLOCK_SIZE]; in tc_ctr_mode() local
70 if (tc_aes_encrypt(buffer, nonce, sched)) { in tc_ctr_mode()
81 *out++ = buffer[n] ^ *in++; in tc_ctr_mode()
Dccm_mode.c97 uint8_t buffer[TC_AES_BLOCK_SIZE]; in ccm_ctr_mode() local
123 if (!tc_aes_encrypt(buffer, nonce, sched)) { in ccm_ctr_mode()
128 *out++ = buffer[i % (TC_AES_BLOCK_SIZE)] ^ *in++; in ccm_ctr_mode()
/mcuboot-latest/boot/cypress/libs/retarget_io_pdl/
Dcy_retarget_io_pdl.c71 __weak size_t __write(int handle, const unsigned char * buffer, size_t size) in __write() argument
80 if (buffer != NULL) in __write()
85 if (*buffer == '\n' && cy_retarget_io_stdout_prev_char != '\r') in __write()
90 cy_retarget_io_stdout_prev_char = *buffer; in __write()
92 cy_retarget_io_putchar(*buffer); in __write()
93 ++buffer; in __write()
140 __weak size_t __read(int handle, unsigned char * buffer, size_t size) in __read() argument
144 if ((handle != _LLIO_STDIN) || (buffer == NULL)) in __read()
150 *buffer = cy_retarget_io_getchar(); in __read()
/mcuboot-latest/boot/cypress/platforms/retarget_io_pdl/
Dcy_retarget_io_pdl.c71 __weak size_t __write(int handle, const unsigned char * buffer, size_t size) in __write() argument
80 if (buffer != NULL) in __write()
85 if (*buffer == '\n' && cy_retarget_io_stdout_prev_char != '\r') in __write()
90 cy_retarget_io_stdout_prev_char = *buffer; in __write()
92 cy_retarget_io_putchar(*buffer); in __write()
93 ++buffer; in __write()
140 __weak size_t __read(int handle, unsigned char * buffer, size_t size) in __read() argument
144 if ((handle != _LLIO_STDIN) || (buffer == NULL)) in __read()
150 *buffer = cy_retarget_io_getchar(); in __read()
/mcuboot-latest/boot/zephyr/
Dboot_serial_extensions.c16 int bs_peruser_system_specific(const struct nmgr_hdr *hdr, const char *buffer, in bs_peruser_system_specific() argument
23 mgmt_rc = function->handler(hdr, buffer, len, cs); in bs_peruser_system_specific()
Dboot_serial_extension_zephyr_basic.c31 const char *buffer, int len, in bs_custom_storage_erase() argument
37 (void)buffer; in bs_custom_storage_erase()
DKconfig.serial_recovery67 int "Stack buffer for unaligned memory writes"
73 Specifies the stack usage for a buffer which is used for unaligned
81 Maximum length of input serial port buffer (SMP serial transport uses
DKconfig937 int "Write buffer size"
941 The size of a secondary buffer used for writing decompressed data to the storage device.
/mcuboot-latest/boot/zephyr/include/boot_serial/
Dboot_serial_extensions.h26 const char *buffer, int len,
/mcuboot-latest/boot/nuttx/src/flash_map_backend/
Dflash_map_backend.c538 void *buffer; in flash_area_erase() local
547 buffer = malloc(sector_size); in flash_area_erase()
548 if (buffer == NULL) in flash_area_erase()
555 memset(buffer, erase_val, sector_size); in flash_area_erase()
564 ret = flash_area_write(fa, off + i, buffer, sector_size); in flash_area_erase()
574 ret = flash_area_write(fa, off + i, buffer, len - i); in flash_area_erase()
577 free(buffer); in flash_area_erase()
/mcuboot-latest/ext/mbedtls-asn1/include/mbedtls/
Derror.h174 void mbedtls_strerror( int errnum, char *buffer, size_t buflen );
/mcuboot-latest/boot/mbed/src/
Dflash_map_backend.cpp178 uint8_t buffer[MCUBOOT_READ_GRANULARITY]; in flash_area_read() local
179 int ret = bd->read(buffer, off + len, read_size); in flash_area_read()
184 memcpy((uint8_t *)dst + len, buffer, remainder); in flash_area_read()
/mcuboot-latest/boot/bootutil/src/
Dbootutil_public.c197 const void *buffer, size_t len) in bootutil_buffer_is_erased() argument
203 if (buffer == NULL || len == 0) { in bootutil_buffer_is_erased()
208 for (i = 0, u8b = (uint8_t *)buffer; i < len; i++) { in bootutil_buffer_is_erased()
Dbootutil_priv.h355 const void *buffer, size_t len);
/mcuboot-latest/scripts/imgtool/keys/
Dgeneral.py58 file.buffer.write(encoded_bytes)
/mcuboot-latest/docs/
DPORTING.md146 /*< Reads `len` bytes of flash memory at `off` to the buffer at `dst` */
149 /*< Writes `len` bytes of flash memory at `off` from the buffer at `src` */
Drelease-notes.md102 wrongly including the buffer address in the size which caused
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c201 const char *buffer,