Searched refs:derived_key (Results 1 – 3 of 3) sorted by relevance
/mcuboot-3.6.0/boot/bootutil/src/ |
D | encrypted.c | 434 uint8_t derived_key[BOOTUTIL_CRYPTO_AES_CTR_KEY_SIZE + BOOTUTIL_CRYPTO_SHA256_DIGEST_SIZE]; in boot_enc_decrypt() local 534 derived_key, &len); in boot_enc_decrypt() 545 rc = bootutil_hmac_sha256_set_key(&hmac, &derived_key[BOOT_ENC_KEY_SIZE], 32); in boot_enc_decrypt() 581 rc = bootutil_aes_ctr_set_key(&aes_ctr, derived_key); in boot_enc_decrypt()
|
/mcuboot-3.6.0/sim/src/ |
D | tlv.rs | 722 let derived_key = match agreement::agree_ephemeral( in make_tlv() localVariable 745 let key: &GenericArray<u8, U32> = GenericArray::from_slice(&derived_key[..32]); in make_tlv() 750 let key: &GenericArray<u8, U16> = GenericArray::from_slice(&derived_key[..16]); in make_tlv() 757 let key = hmac::Key::new(hmac::HMAC_SHA256, &derived_key[size..]); in make_tlv()
|
/mcuboot-3.6.0/scripts/imgtool/ |
D | image.py | 297 derived_key = HKDF( 300 encryptor = Cipher(algorithms.AES(derived_key[:16]), 304 mac = hmac.HMAC(derived_key[16:], hashes.SHA256(),
|