Skip to content

Commit ce63f1c

Browse files
Corrected formatting with rustfmt
1 parent 8fec3c4 commit ce63f1c

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

crypto/ascon/tests/aead128_tests.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ fn enc_oneshot(key: &[u8; 16], nonce: &[u8; 16], ad: &[u8], pt: &[u8]) -> Vec<u8
7070
out
7171
}
7272

73-
fn dec_oneshot(key: &[u8; 16], nonce: &[u8; 16], ad: &[u8], ct: &[u8]) -> Result<Vec<u8>, AeadError> {
73+
fn dec_oneshot(
74+
key: &[u8; 16],
75+
nonce: &[u8; 16],
76+
ad: &[u8],
77+
ct: &[u8],
78+
) -> Result<Vec<u8>, AeadError> {
7479
let mut out = vec![0u8; ct.len()];
7580
let n = AsconAead128::decrypt(key, nonce, ad_opt(ad), ct, &mut out)?;
7681
out.truncate(n);

0 commit comments

Comments
 (0)