Skip to content

Commit bc72ac3

Browse files
committed
Rust wrapper: fix minor typo in srtcp_kdf_label example
1 parent 2e281ae commit bc72ac3

File tree

1 file changed

+1
-1
lines changed
  • wrapper/rust/wolfssl/src/wolfcrypt

1 file changed

+1
-1
lines changed

wrapper/rust/wolfssl/src/wolfcrypt/kdf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ pub fn srtcp_kdf(key: &[u8], salt: &[u8], kdr_index: i32, idx: &[u8],
366366
/// 0x62, 0x40, 0x0e, 0x9d, 0x1b, 0xd6];
367367
/// let index = [0x48u8, 0x71, 0x65, 0x64, 0x9c, 0xca];
368368
/// let mut key_a = [0u8; 20];
369-
/// srtcp_kdf_label(&key, &salt, -1, &index, SRTP_LABEL_MSG_AUTH, &mut key_a).expect("Error with srtcp_kdf_label()");
369+
/// srtcp_kdf_label(&key, &salt, -1, &index, SRTCP_LABEL_MSG_AUTH, &mut key_a).expect("Error with srtcp_kdf_label()");
370370
/// ```
371371
pub fn srtcp_kdf_label(key: &[u8], salt: &[u8], kdr_index: i32, idx: &[u8],
372372
label: u8, keyout: &mut [u8]) -> Result<(), i32> {

0 commit comments

Comments
 (0)