mirror of
https://gitlab.com/fabinfra/fabaccess/nfc_rs.git
synced 2025-03-12 14:51:50 +01:00
ran rustfmt
This commit is contained in:
parent
a4a15b17f7
commit
6fc20bdc0c
@ -42,7 +42,8 @@ mod tests {
|
|||||||
|
|
||||||
let data_enc = crate::crypto::cipher::aes::AES::encrypt(&data, &key, &iv).unwrap();
|
let data_enc = crate::crypto::cipher::aes::AES::encrypt(&data, &key, &iv).unwrap();
|
||||||
|
|
||||||
let data_enc_expected = hex!("3c79d74a4969ba7123e5d8f6df24493112d221fd131a4617d0eda5d92ccc1b46");
|
let data_enc_expected =
|
||||||
|
hex!("3c79d74a4969ba7123e5d8f6df24493112d221fd131a4617d0eda5d92ccc1b46");
|
||||||
|
|
||||||
assert_eq!(data_enc, data_enc_expected);
|
assert_eq!(data_enc, data_enc_expected);
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -33,4 +33,3 @@ pub trait Card {
|
|||||||
/// <returns>Application Protocol Data Unit Response - ISO 7816</returns>
|
/// <returns>Application Protocol Data Unit Response - ISO 7816</returns>
|
||||||
fn transmit(&self, apdu_cmd: APDUCommand) -> Result<APDUResponse>;
|
fn transmit(&self, apdu_cmd: APDUCommand) -> Result<APDUResponse>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user