Searched refs:enckey (Results 1 – 8 of 8) sorted by relevance
/mcuboot-3.7.0/scripts/imgtool/ |
D | image.py | 182 self.enckey = None 268 self.enckey, 298 self.overwrite_only, self.enckey, 307 def ecies_hkdf(self, enckey, plainkey): argument 308 if isinstance(enckey, ecdsa.ECDSA256P1Public): 310 shared = newpk.exchange(ec.ECDH(), enckey._get_public()) 313 shared = newpk.exchange(enckey._get_public()) 325 if isinstance(enckey, ecdsa.ECDSA256P1Public): 335 def create(self, key, public_key_format, enckey, dependencies=None, argument 338 self.enckey = enckey [all …]
|
D | main.py | 429 enckey = load_key(encrypt) if encrypt else None 430 if enckey and key: 432 not isinstance(enckey, keys.ECDSA256P1Public)) 434 not isinstance(enckey, keys.ECDSA384P1Public)) 436 not isinstance(enckey, keys.RSAPublic))): 479 img.create(key, public_key_format, enckey, dependencies, boot_record,
|
/mcuboot-3.7.0/boot/bootutil/src/ |
D | encrypted.c | 70 key_unwrap(const uint8_t *wrapped, uint8_t *enckey) in key_unwrap() argument 80 rc = bootutil_aes_kw_unwrap(&aes_kw, wrapped, TLV_ENC_KW_SZ, enckey, BOOT_ENC_KEY_SIZE); in key_unwrap() 359 rc = bootutil_aes_ctr_set_key(&enc_state[slot].aes_ctr, bs->enckey[slot]); in boot_enc_set_key() 418 boot_enc_decrypt(const uint8_t *buf, uint8_t *enckey) in boot_enc_decrypt() argument 459 rc = bootutil_rsa_oaep_decrypt(&rsa, &olen, buf, enckey, BOOT_ENC_KEY_SIZE); in boot_enc_decrypt() 470 rc = key_unwrap(buf, enckey); in boot_enc_decrypt() 591 …_decrypt(&aes_ctr, counter, &buf[EC_CIPHERKEY_INDEX], BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE, 0, enckey); in boot_enc_decrypt() 663 return boot_enc_decrypt(buf, bs->enckey[slot]); in boot_enc_load()
|
D | bootutil_misc.c | 286 rc = boot_enc_decrypt(bs->enctlv[slot], bs->enckey[slot]); in boot_read_enc_key() 290 rc = flash_area_read(fap, off, bs->enckey[slot], BOOT_ENC_KEY_ALIGN_SIZE); in boot_read_enc_key() 324 rc = flash_area_write(fap, off, bs->enckey[slot], BOOT_ENC_KEY_ALIGN_SIZE); in boot_write_enc_key()
|
D | bootutil_priv.h | 88 uint8_t enckey[BOOT_NUM_SLOTS][BOOT_ENC_KEY_ALIGN_SIZE]; member
|
D | loader.c | 687 memset(&bs->enckey, 0xff, BOOT_NUM_SLOTS * BOOT_ENC_KEY_ALIGN_SIZE); in boot_status_reset() 1540 memset(bs->enckey[0], 0xff, BOOT_ENC_KEY_ALIGN_SIZE); in boot_swap_image() 1564 memset(bs->enckey[1], 0xff, BOOT_ENC_KEY_ALIGN_SIZE); in boot_swap_image() 1592 if (bs->enckey[slot][i] != 0xff) { in boot_swap_image()
|
/mcuboot-3.7.0/boot/bootutil/include/bootutil/ |
D | enc_key.h | 58 int boot_enc_decrypt(const uint8_t *buf, uint8_t *enckey);
|
/mcuboot-3.7.0/boot/zephyr/ |
D | CMakeLists.txt | 340 set(GENERATED_ENCKEY ${ZEPHYR_BINARY_DIR}/autogen-enckey.c)
|