Type Alias esp_idf_sys::esp_ccmp_encrypt_t
source · pub type esp_ccmp_encrypt_t = Option<unsafe extern "C" fn(tk: *const u8, frame: *mut u8, len: usize, hdrlen: usize, pn: *mut u8, keyid: c_int, encrypted_len: *mut usize) -> *mut u8>;
Expand description
@brief Encrypt data using CCMP (Counter Mode CBC-MAC Protocol OR Counter Mode Cipher Block Chaining Message Authentication Code Protocol) which is used in IEEE 802.11i RSN standard. @tk: 128-bit Temporal Key for obtained during 4-way handshake @frame: Pointer to IEEE802.11 frame including header @len: Length of the frame including header @hdrlen: Length of the header @pn: Packet Number counter @keyid: Key ID to be mentioned in CCMP Vector @encrypted_len: Length of the encrypted frame including header
Aliased Type§
enum esp_ccmp_encrypt_t {
None,
Some(unsafe extern "C" fn(_: *const u8, _: *mut u8, _: usize, _: usize, _: *mut u8, _: i32, _: *mut usize) -> *mut u8),
}