aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-07-03 23:20:58 +0000
committerGitHub <[email protected]>2025-07-03 23:20:58 +0000
commitf53b6649dd42918f7d5228d06821ac5b95e33d38 (patch)
tree69f935b94f3521ddc59abeda18ae65ed10013e1a /examples
parentb964bee302fc3631d14d73d9a9b406e7352cd550 (diff)
parenta29267752a382ff52b052233586ef9007fe84fed (diff)
Merge pull request #4356 from embassy-rs/update-rust5
Update Rust nightly, stable.
Diffstat (limited to 'examples')
-rw-r--r--examples/stm32f7/src/bin/cryp.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/stm32f7/src/bin/cryp.rs b/examples/stm32f7/src/bin/cryp.rs
index 235853cb9..a31e9b4f2 100644
--- a/examples/stm32f7/src/bin/cryp.rs
+++ b/examples/stm32f7/src/bin/cryp.rs
@@ -68,7 +68,9 @@ async fn main(_spawner: Spawner) -> ! {
68 ); 68 );
69 69
70 // Decrypt in software using AES-GCM 128-bit 70 // Decrypt in software using AES-GCM 128-bit
71 let _ = cipher.decrypt_in_place(&iv.into(), aad.into(), &mut payload_vec); 71 cipher
72 .decrypt_in_place(&iv.into(), aad.into(), &mut payload_vec)
73 .unwrap();
72 74
73 let sw_end_time = Instant::now(); 75 let sw_end_time = Instant::now();
74 let sw_execution_time = sw_end_time - sw_start_time; 76 let sw_execution_time = sw_end_time - sw_start_time;