Searched refs:u32 (Results 1 – 10 of 10) sorted by relevance
/mcuboot-latest/sim/mcuboot-sys/src/ |
D | c.rs | 118 pub fn boot_trailer_sz(align: u32) -> u32 { in boot_trailer_sz() argument 122 pub fn boot_status_sz(align: u32) -> u32 { in boot_status_sz() argument 137 if raw::rsa_oaep_encrypt_(pubkey.as_ptr(), pubkey.len() as u32, 138 seckey.as_ptr(), seckey.len() as u32, 146 pub fn kw_encrypt(kek: &[u8], seckey: &[u8], keylen: u32) -> Result<Vec<u8>, &'static str> { in kw_encrypt() 159 pub fn set_security_counter(image_index: u32, security_counter_value: u32) { in set_security_counter() argument 163 pub fn get_security_counter(image_index: u32) -> u32 { in get_security_counter() argument 164 let mut counter_val: u32 = 0; in get_security_counter() 165 api::sim_get_nv_counter_for_image(image_index, &mut counter_val as *mut u32); in get_security_counter() 180 pub fn boot_trailer_sz(min_write_sz: u32) -> u32; in boot_trailer_sz() argument [all …]
|
D | api.rs | 24 align: u32, 36 pub image_off: u32, 43 magic: u32, 44 load_addr: u32, 47 img_size: u32, 48 flags: u32, 50 _pad2: u32, 59 pub build_num: u32, 142 pub start: u32, 143 pub size: u32, [all …]
|
D | area.rs | 71 off: sector.base as u32, in add_image() 72 size: sector.size as u32, in add_image() 88 off: orig_base as u32, in add_image() 89 size: orig_len as u32, in add_image() 102 off: base as u32, in add_simple_image() 103 size: len as u32, in add_simple_image() 111 off: base as u32, in add_simple_image() 112 size: len as u32, in add_simple_image() 138 areas.slots[i].num_areas = area.len() as u32; in get_c() 143 areas.num_slots = self.areas.len() as u32; in get_c() [all …]
|
D | lib.rs | 19 offset: u32, // 32-bit offset. 23 pub fn new(size: u32, offset: u32) -> RamBlock { in new() argument 45 size: self.ram.len() as u32, in invoke()
|
/mcuboot-latest/sim/src/ |
D | utils.rs | 7 pub fn align_up(num: u32, align: u32) -> u32 { in align_up() argument
|
D | caps.rs | 9 #[repr(u32)] 38 (caps as u32) & (self as u32) != 0 in present() 61 fn bootutil_get_num_images() -> u32; in bootutil_get_num_images()
|
D | tlv.rs | 80 fn get_magic(&self) -> u32; in get_magic() argument 83 fn get_flags(&self) -> u32; in get_flags() argument 116 fn set_security_counter(&mut self, security_cnt: Option<u32>); in set_security_counter() argument 125 flags: u32, 132 security_cnt: Option<u32>, 191 pub fn new_enc_rsa(aes_key_size: u32) -> TlvGen { in new_enc_rsa() 193 TlvFlags::ENCRYPTED_AES256 as u32 in new_enc_rsa() 195 TlvFlags::ENCRYPTED_AES128 as u32 in new_enc_rsa() 205 pub fn new_sig_enc_rsa(aes_key_size: u32) -> TlvGen { in new_sig_enc_rsa() 207 TlvFlags::ENCRYPTED_AES256 as u32 in new_sig_enc_rsa() [all …]
|
D | image.rs | 59 const RAM_LOAD_ADDR: u32 = 1024; 107 total: u32, 119 offset: u32, 120 size: u32, 409 pub fn make_image_with_security_counter(self, security_cnt: Option<u32>) -> Images { in make_image_with_security_counter() 1082 c::boot_trailer_sz(align as u32) as usize in trailer_sz() 1086 c::boot_status_sz(align as u32) as usize in status_sz() 1677 let size = si.len as u32; 1684 addr += imgs[0].len as u32; 1723 c::boot_trailer_sz(dev.align() as u32) as usize in tralier_estimation() [all …]
|
D | depends.rs | 184 build_num: slot as u32, in new_synthetic()
|
D | lib.rs | 107 fn visit_u32<E>(self, n: u32) -> Result<Self::Value, E> in visit_u32()
|