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 27dd5db commit b2cb79bCopy full SHA for b2cb79b
hal/src/aes.rs
@@ -785,7 +785,7 @@ impl Aes {
785
/// * Key is not 128-bits long `[u32; 4]` or 256-bits long `[u32; 8]`.
786
///
787
/// # Example
788
- /// TODO CHANGE
+ ///
789
/// ```no_run
790
/// use stm32wlxx_hal::{aes::Aes, pac};
791
@@ -797,7 +797,7 @@ impl Aes {
797
798
/// let plaintext: [u32; 4] = [0xf34481ec, 0x3cc627ba, 0xcd5dc3fb, 0x08f273e6];
799
/// let mut ciphertext: [u32; 4] = [0; 4];
800
- /// aes.(encrypt_cbc(&KEY, &IV, &plaintext, &mut ciphertext)?;
+ /// aes.encrypt_cbc(&KEY, &IV, &plaintext, &mut ciphertext)?;
801
/// # Ok::<(), stm32wlxx_hal::aes::Error>(())
802
/// ```
803
pub fn encrypt_cbc(
0 commit comments