mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
rustfmt
This commit is contained in:
parent
d9c0da8102
commit
766372e06a
@ -59,9 +59,7 @@ async fn main(_spawner: Spawner) {
|
||||
let _ = cipher.encrypt_in_place(&iv.into(), &aad, &mut payload_vec);
|
||||
|
||||
defmt::assert!(ciphertext == payload_vec[0..ciphertext.len()]);
|
||||
defmt::assert!(
|
||||
encrypt_tag == payload_vec[ciphertext.len()..ciphertext.len() + encrypt_tag.len()]
|
||||
);
|
||||
defmt::assert!(encrypt_tag == payload_vec[ciphertext.len()..ciphertext.len() + encrypt_tag.len()]);
|
||||
|
||||
// Decrypt in software using AES-GCM 128-bit
|
||||
let _ = cipher.decrypt_in_place(&iv.into(), &aad, &mut payload_vec);
|
||||
|
Loading…
Reference in New Issue
Block a user