Loading sim/mcuboot-sys/Cargo.toml +1 Changes for sim/mcuboot-sys/Cargo.toml: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ authors = ["David Brown <david.brown@linaro.org>"] description = "A simple wrapper around the mcuboot code." build = "build.rs" publish = false edition = "2018" [features] # By default, build with simplistic signature verification. Loading sim/mcuboot-sys/src/c.rs +3 −3 Changes for sim/mcuboot-sys/src/c.rs: 3 added lines, 3 removed lines. Original line number Diff line number Diff line /// Interface wrappers to C API entering to the bootloader use area::AreaDesc; use crate::area::AreaDesc; use simflash::SimFlashMap; use libc; use api; use crate::api; use std::sync::Mutex; lazy_static! { Loading Loading @@ -85,7 +85,7 @@ pub fn kw_encrypt(kek: &[u8], seckey: &[u8]) -> Result<[u8; 24], &'static str> { } mod raw { use area::CAreaDesc; use crate::area::CAreaDesc; use libc; extern "C" { Loading sim/mcuboot-sys/src/lib.rs +1 −1 Changes for sim/mcuboot-sys/src/lib.rs: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -10,4 +10,4 @@ pub mod c; // functions are exported to C code. pub mod api; pub use area::{AreaDesc, FlashId}; pub use crate::area::{AreaDesc, FlashId}; Loading
sim/mcuboot-sys/Cargo.toml +1 Changes for sim/mcuboot-sys/Cargo.toml: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ authors = ["David Brown <david.brown@linaro.org>"] description = "A simple wrapper around the mcuboot code." build = "build.rs" publish = false edition = "2018" [features] # By default, build with simplistic signature verification. Loading
sim/mcuboot-sys/src/c.rs +3 −3 Changes for sim/mcuboot-sys/src/c.rs: 3 added lines, 3 removed lines. Original line number Diff line number Diff line /// Interface wrappers to C API entering to the bootloader use area::AreaDesc; use crate::area::AreaDesc; use simflash::SimFlashMap; use libc; use api; use crate::api; use std::sync::Mutex; lazy_static! { Loading Loading @@ -85,7 +85,7 @@ pub fn kw_encrypt(kek: &[u8], seckey: &[u8]) -> Result<[u8; 24], &'static str> { } mod raw { use area::CAreaDesc; use crate::area::CAreaDesc; use libc; extern "C" { Loading
sim/mcuboot-sys/src/lib.rs +1 −1 Changes for sim/mcuboot-sys/src/lib.rs: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -10,4 +10,4 @@ pub mod c; // functions are exported to C code. pub mod api; pub use area::{AreaDesc, FlashId}; pub use crate::area::{AreaDesc, FlashId};