Searched refs:enc (Results 1 – 11 of 11) sorted by relevance
20 enc-rsa = ["mcuboot-sys/enc-rsa"]21 enc-aes256-rsa = ["mcuboot-sys/enc-aes256-rsa"]22 enc-kw = ["mcuboot-sys/enc-kw"]23 enc-aes256-kw = ["mcuboot-sys/enc-aes256-kw"]24 enc-ec256 = ["mcuboot-sys/enc-ec256"]25 enc-ec256-mbedtls = ["mcuboot-sys/enc-ec256-mbedtls"]26 enc-aes256-ec256 = ["mcuboot-sys/enc-aes256-ec256"]27 enc-x25519 = ["mcuboot-sys/enc-x25519"]28 enc-aes256-x25519 = ["mcuboot-sys/enc-aes256-x25519"]
45 enc-rsa = []48 enc-aes256-rsa = []51 enc-kw = []54 enc-aes256-kw = []57 enc-ec256 = []60 enc-aes256-ec256 = []63 enc-ec256-mbedtls = []66 enc-x25519 = []69 enc-aes256-x25519 = []
95 enc = serialization.NoEncryption()97 enc = serialization.BestAvailableEncryption(passwd)101 encryption_algorithm=enc)
100 enc = serialization.NoEncryption()102 enc = serialization.BestAvailableEncryption(passwd)106 encryption_algorithm=enc)
157 enc = serialization.NoEncryption()159 enc = serialization.BestAvailableEncryption(passwd)163 encryption_algorithm=enc)
133 enc = serialization.NoEncryption()135 enc = serialization.BestAvailableEncryption(passwd)139 encryption_algorithm=enc)
684 struct enc_key_data *enc; in boot_encrypt() local707 enc = &enc_state[rc]; in boot_encrypt()708 assert(enc->valid == 1); in boot_encrypt()709 bootutil_aes_ctr_encrypt(&enc->aes_ctr, nonce, buf, sz, blk_off, buf); in boot_encrypt()
237 struct enc_key_data enc[BOOT_IMAGE_NUMBER][BOOT_NUM_SLOTS]; member363 #define BOOT_CURR_ENC(state) ((state)->enc[BOOT_CURR_IMG(state)])
46 ENC_KEY_FILE ?= enc-ec256-pub
1906 let mut enc = vec![0u8; encbuf.len()]; in install_image() localVariable1907 dev.read(offset, &mut enc).unwrap(); in install_image()1909 enc_copy = Some(enc); in install_image()1940 let mut enc = vec![0u8; encbuf.len()]; in install_image() localVariable1941 dev.read(offset, &mut enc).unwrap(); in install_image()1943 enc_copy = Some(enc); in install_image()
369 default "enc-rsa2048-priv.pem" if BOOT_ENCRYPT_RSA370 default "enc-ec256-priv.pem" if BOOT_ENCRYPT_EC256371 default "enc-x25519-priv.pem" if BOOT_ENCRYPT_X25519