/mcuboot-latest/boot/bootutil/include/bootutil/crypto/ |
D | aes_ctr.h | 64 …es_ctr_context *ctx, uint8_t *counter, const uint8_t *m, uint32_t mlen, size_t blk_off, uint8_t *c) in bootutil_aes_ctr_encrypt() argument 67 return mbedtls_aes_crypt_ctr(ctx, mlen, &blk_off, counter, stream_block, m, c); in bootutil_aes_ctr_encrypt() 70 …es_ctr_context *ctx, uint8_t *counter, const uint8_t *c, uint32_t clen, size_t blk_off, uint8_t *m) in bootutil_aes_ctr_decrypt() argument 73 return mbedtls_aes_crypt_ctr(ctx, clen, &blk_off, counter, stream_block, c, m); in bootutil_aes_ctr_decrypt() 99 …_context *ctx, uint8_t *counter, const uint8_t *in, uint32_t inlen, uint32_t blk_off, uint8_t *out) in _bootutil_aes_ctr_crypt() argument 102 rc = tc_ctr_mode(out, inlen, in, inlen, counter, &blk_off, ctx); in _bootutil_aes_ctr_crypt() 109 …_ctr_context *ctx, uint8_t *counter, const uint8_t *m, uint32_t mlen, uint32_t blk_off, uint8_t *c) in bootutil_aes_ctr_encrypt() argument 111 return _bootutil_aes_ctr_crypt(ctx, counter, m, mlen, blk_off, c); in bootutil_aes_ctr_encrypt() 114 …_ctr_context *ctx, uint8_t *counter, const uint8_t *c, uint32_t clen, uint32_t blk_off, uint8_t *m) in bootutil_aes_ctr_decrypt() argument 116 return _bootutil_aes_ctr_crypt(ctx, counter, c, clen, blk_off, m); in bootutil_aes_ctr_decrypt()
|
/mcuboot-latest/ext/tinycrypt/lib/source/ |
D | ctr_mode.c | 38 unsigned int inlen, uint8_t *ctr, uint32_t *blk_off, in tc_ctr_mode() argument 52 blk_off == (uint32_t *) 0 || in tc_ctr_mode() 66 n = *blk_off; in tc_ctr_mode() 84 *blk_off = n; in tc_ctr_mode()
|
/mcuboot-latest/boot/bootutil/include/bootutil/ |
D | enc_key.h | 79 uint32_t off, uint32_t sz, uint32_t blk_off, uint8_t *buf); 81 uint32_t off, uint32_t sz, uint32_t blk_off, uint8_t *buf);
|
/mcuboot-latest/ext/tinycrypt/lib/include/tinycrypt/ |
D | ctr_mode.h | 103 unsigned int inlen, uint8_t *ctr, uint32_t *blk_off,
|
/mcuboot-latest/boot/boot_serial/src/ |
D | boot_serial_encryption.c | 137 size_t blk_off; in decrypt_region_inplace() local 172 blk_off = 0; in decrypt_region_inplace() 175 blk_off = ((off + bytes_copied) - hdr->ih_hdr_size) & 0xf; in decrypt_region_inplace() 188 blk_off, &buf[idx]); in decrypt_region_inplace()
|
/mcuboot-latest/boot/bootutil/src/ |
D | ram_load.c | 130 uint32_t blk_off; in boot_decrypt_and_copy_image_to_sram() local 177 blk_off = ((bytes_copied) - hdr->ih_hdr_size) & 0xf; in boot_decrypt_and_copy_image_to_sram() 185 blk_off, cur_dst); in boot_decrypt_and_copy_image_to_sram()
|
D | image_validate.c | 80 uint32_t blk_off; in bootutil_img_hash() local 99 (void)blk_off; in bootutil_img_hash() 199 blk_off = (off - hdr_size) & 0xf; in bootutil_img_hash() 201 blk_sz, blk_off, tmp_buf); in bootutil_img_hash()
|
D | encrypted.c | 705 uint32_t sz, uint32_t blk_off, uint8_t *buf) in boot_enc_encrypt() argument 723 bootutil_aes_ctr_encrypt(&enc->aes_ctr, nonce, buf, sz, blk_off, buf); in boot_enc_encrypt() 728 uint32_t sz, uint32_t blk_off, uint8_t *buf) in boot_enc_decrypt() argument 746 bootutil_aes_ctr_decrypt(&enc->aes_ctr, nonce, buf, sz, blk_off, buf); in boot_enc_decrypt()
|
D | loader.c | 1336 size_t blk_off; local 1406 blk_off = 0; 1416 blk_off = (abs_off - hdr->ih_hdr_size) & 0xf; 1433 blk_off, &buf[idx]); 1437 blk_off, &buf[idx]);
|