mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
add FIXME note so we can find this spot later
This commit is contained in:
parent
370288dffa
commit
f7bcbbf2d0
1 changed files with 1 additions and 0 deletions
|
|
@ -650,6 +650,7 @@ fn do_update(
|
||||||
}
|
}
|
||||||
|
|
||||||
fn validate_package(pkg: &[u8], pkg_type: PackageType) -> bool {
|
fn validate_package(pkg: &[u8], pkg_type: PackageType) -> bool {
|
||||||
|
// FIXME: should be "wait for hardware" strategy but this does not exist in 0.10 API
|
||||||
let mut hasher = sha2::Sha512_256::new();
|
let mut hasher = sha2::Sha512_256::new();
|
||||||
let mut temp: [u8; 4] = Default::default();
|
let mut temp: [u8; 4] = Default::default();
|
||||||
temp.copy_from_slice(&pkg[0x20..0x24]);
|
temp.copy_from_slice(&pkg[0x20..0x24]);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue