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 4425650 commit 6559d1aCopy full SHA for 6559d1a
hal/src/aes.rs
@@ -777,15 +777,14 @@ impl Aes {
777
Ok(())
778
}
779
780
-
781
/// Encrypt using the Cipher block chaining (CBC) algorithm.
782
///
783
/// # Panics
784
785
/// * Key is not 128-bits long `[u32; 4]` or 256-bits long `[u32; 8]`.
786
787
/// # Example
788
- ///
+ ///
789
/// ```no_run
790
/// use stm32wlxx_hal::{aes::Aes, pac};
791
@@ -838,7 +837,7 @@ impl Aes {
838
837
839
self.set_din(plaintext);
840
self.poll_completion()?;
841
- self.dout(ciphertext);
+ self.dout(ciphertext);
842
843
844
0 commit comments