We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad06083 commit be0ac18Copy full SHA for be0ac18
hal/src/aes.rs
@@ -792,7 +792,7 @@ impl Aes {
792
/// let mut aes: Aes = Aes::new(dp.AES, &mut dp.RCC);
793
///
794
/// const KEY: [u32; 4] = [0; 4];
795
- /// const IV: [u32; 4] = [0; 4];
+ /// const IV: [u32; 4] = [0; 4]; //currently not used
796
797
/// let plaintext: [u32; 4] = [0xf34481ec, 0x3cc627ba, 0xcd5dc3fb, 0x08f273e6];
798
/// let mut ciphertext: [u32; 4] = [0; 4];
@@ -802,7 +802,7 @@ impl Aes {
802
pub fn encrypt_cbc(
803
&mut self,
804
key: &[u32],
805
- iv: &[u32; 4],
+ _iv: &[u32; 4],
806
plaintext: &[u32; 4],
807
ciphertext: &mut [u32; 4],
808
) -> Result<(), Error> {
0 commit comments