diff options
Diffstat (limited to 'examples/stm32f7/src/bin/cryp.rs')
| -rw-r--r-- | examples/stm32f7/src/bin/cryp.rs | 4 |
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; |
