Skip to content

Commit

Permalink
read_from is deprecated; use read_from_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
swenson committed Feb 12, 2025
1 parent 621f273 commit 18a824b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/test-fw/src/mbox_responder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ pub fn handle_command(drivers: &mut Drivers) -> CaliptraResult<MboxStatusE> {
}
// Computes a digest from the key ladder for a given target SVN.
CommandId(OPCODE_READ_KEY_LADDER_DIGEST) => {
let target_svn = u32::read_from(read_request(&drivers.mbox)).unwrap();
let target_svn = u32::read_from_bytes(read_request(&drivers.mbox)).unwrap();

KeyLadder::derive_secret(drivers, target_svn, b"", KEY_ID_TMP)?;

Expand Down

0 comments on commit 18a824b

Please sign in to comment.