Lines Matching refs:u32
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
181 pub fn boot_status_sz(min_write_sz: u32) -> u32; in boot_status_sz() argument
183 pub fn boot_magic_sz() -> u32; in boot_magic_sz()
184 pub fn boot_max_align() -> u32; in boot_max_align()
194 pub fn psa_crypto_init() -> u32; in psa_crypto_init()