Lines Matching refs:tlv
56 use crate::tlv::{ManifestGen, TlvGen, TlvFlags};
1659 let mut tlv: Box<dyn ManifestGen> = Box::new(make_tlv()); in install_image() localVariable
1663 tlv.add_dependency(deps.other_id(), &dep); in install_image()
1679 let tlv_len = tlv.estimate_size(); in install_image()
1686 let tlv_len = tlv.estimate_size(); in install_image()
1698 magic: tlv.get_magic(), in install_image()
1701 protect_tlv_size: tlv.protect_size(), in install_image()
1703 flags: tlv.get_flags(), in install_image()
1712 tlv.add_bytes(&b_header); in install_image()
1728 tlv.add_bytes(&b_img); in install_image()
1732 let is_encrypted = (tlv.get_flags() & flag) != 0; in install_image()
1736 let aes256 = (tlv.get_flags() & flag) == flag; in install_image()
1737 tlv.generate_enc_key(); in install_image()
1738 let enc_key = tlv.get_enc_key(); in install_image()
1756 tlv.corrupt_sig(); in install_image()
1758 let mut b_tlv = tlv.make_tlv(); in install_image()