/mcuboot-latest/sim/mcuboot-sys/src/ |
D | c.rs | 54 pub fn asserts(&self) -> u8 { in asserts() 134 pub fn rsa_oaep_encrypt(pubkey: &[u8], seckey: &[u8]) -> Result<[u8; 256], &'static str> { in rsa_oaep_encrypt() 146 pub fn kw_encrypt(kek: &[u8], seckey: &[u8], keylen: u32) -> Result<Vec<u8>, &'static str> { in kw_encrypt() 186 pub fn rsa_oaep_encrypt_(pubkey: *const u8, pubkey_len: libc::c_uint, in rsa_oaep_encrypt_() 187 seckey: *const u8, seckey_len: libc::c_uint, in rsa_oaep_encrypt_() 190 pub fn kw_encrypt_(kek: *const u8, seckey: *const u8, in kw_encrypt_()
|
D | lib.rs | 31 pub fn borrow(&self) -> &[u8] { in borrow() 36 pub fn borrow_part(&self, base: usize, size: usize) -> &[u8] { in borrow_part()
|
D | api.rs | 181 pub fn set_flash(dev_id: u8, dev: &mut dyn Flash) { in set_flash() 195 pub fn clear_flash(dev_id: u8) { in clear_flash() 272 pub extern "C" fn sim_flash_erase(dev_id: u8, offset: u32, size: u32) -> libc::c_int { in sim_flash_erase() 284 pub extern "C" fn sim_flash_read(dev_id: u8, offset: u32, dest: *mut u8, size: u32) -> libc::c_int { in sim_flash_read() 297 pub extern "C" fn sim_flash_write(dev_id: u8, offset: u32, src: *const u8, size: u32) -> libc::c_in… in sim_flash_write() 317 pub extern "C" fn sim_flash_erased_val(id: u8) -> u8 { in sim_flash_erased_val()
|
D | area.rs | 31 pub fn add_flash_sectors(&mut self, id: u8, flash: &SimFlash) { in add_flash_sectors() 38 pub fn add_image(&mut self, base: usize, len: usize, id: FlashId, dev_id: u8) { in add_image() 97 pub fn add_simple_image(&mut self, base: usize, len: usize, id: FlashId, dev_id: u8) { in add_simple_image() 118 pub fn find(&self, id: FlashId) -> Option<(usize, usize, u8)> { in find() argument
|
/mcuboot-latest/sim/src/ |
D | depends.rs | 19 fn other_id(&self) -> u8; in other_id() 53 fn other_id(&self) -> u8 { in other_id() 169 fn other_id(&self) -> u8 { in other_id() 179 fn new_synthetic(image_id: u8, slot: u8, minor: u8) -> ImageVersion { in new_synthetic()
|
D | tlv.rs | 91 fn add_dependency(&mut self, id: u8, version: &ImageVersion); in add_dependency() 95 fn add_bytes(&mut self, bytes: &[u8]); in add_bytes() 107 fn make_tlv(self: Box<Self>) -> Vec<u8>; in make_tlv() 113 fn get_enc_key(&self) -> Vec<u8>; in get_enc_key() 342 fn add_bytes(&mut self, bytes: &[u8]) { in add_bytes() 360 fn add_dependency(&mut self, id: u8, version: &ImageVersion) { in add_dependency() 434 fn make_tlv(self: Box<Self>) -> Vec<u8> { in make_tlv() 822 fn get_enc_key(&self) -> Vec<u8> { in get_enc_key()
|
D | image.rs | 1618 magic: Option<u8>, image_ok: Option<u8>, in verify_trailers_loose() 1629 magic: Option<u8>, image_ok: Option<u8>, in verify_trailers() 2022 fn find(&self, slot: usize) -> &Vec<u8> { in find() 2064 magic: Option<u8>, image_ok: Option<u8>, in verify_trailer() 2274 fn splat(data: &mut [u8], seed: usize) { in splat() 2287 fn as_raw(&self) -> &[u8] { in as_raw()
|
D | lib.rs | 186 pub fn run_single(&mut self, device: DeviceName, align: usize, erased_val: u8) { in run_single()
|
/mcuboot-latest/sim/simflash/src/ |
D | pdump.rs | 29 fn add_byte(&mut self, ch: u8) { in add_byte() 59 impl<'a> HexDump for &'a [u8] { implementation
|
D | lib.rs | 68 fn erased_val(&self) -> u8; in erased_val() 267 fn erased_val(&self) -> u8 { in erased_val() 325 fn test_device(flash: &mut dyn Flash, erased_val: u8) { in test_device()
|
/mcuboot-latest/ext/fiat/src/ |
D | curve25519.c | 1072 uint8_t u8[32]; in ED25519_verify() member
|