Home
last modified time | relevance | path

Searched refs:data_length (Results 1 – 5 of 5) sorted by relevance

/mcuboot-latest/ext/tinycrypt/lib/source/
Dcmac_mode.c157 int tc_cmac_update(TCCmacState_t s, const uint8_t *data, size_t data_length) in tc_cmac_update() argument
165 if (data_length == 0) { in tc_cmac_update()
182 if (data_length < remaining_space) { in tc_cmac_update()
184 _copy(&s->leftover[s->leftover_offset], data_length, data, data_length); in tc_cmac_update()
185 s->leftover_offset += data_length; in tc_cmac_update()
193 data_length -= remaining_space; in tc_cmac_update()
204 while (data_length > TC_AES_BLOCK_SIZE) { in tc_cmac_update()
210 data_length -= TC_AES_BLOCK_SIZE; in tc_cmac_update()
213 if (data_length > 0) { in tc_cmac_update()
215 _copy(s->leftover, data_length, data, data_length); in tc_cmac_update()
[all …]
Dhmac.c112 unsigned int data_length) in tc_hmac_update() argument
120 (void)tc_sha256_update(&ctx->hash_state, data, data_length); in tc_hmac_update()
/mcuboot-latest/boot/bootutil/include/bootutil/crypto/
Dhmac_sha256.h66 …l_hmac_sha256_update(bootutil_hmac_sha256_context *ctx, const void *data, unsigned int data_length) in bootutil_hmac_sha256_update() argument
69 rc = tc_hmac_update(ctx, data, data_length); in bootutil_hmac_sha256_update()
115 …l_hmac_sha256_update(bootutil_hmac_sha256_context *ctx, const void *data, unsigned int data_length) in bootutil_hmac_sha256_update() argument
117 return mbedtls_md_hmac_update(ctx, data, data_length); in bootutil_hmac_sha256_update()
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/
Dhmac.h115 unsigned int data_length);
/mcuboot-latest/boot/espressif/hal/src/
Dflash_encrypt.c448 esp_err_t esp_flash_encrypt_region(uint32_t src_addr, size_t data_length) in esp_flash_encrypt_region() argument
459 for (size_t i = 0; i < data_length; i += FLASH_SECTOR_SIZE) { in esp_flash_encrypt_region()