[][src]Type Definition esp_idf_bindgen::esp_ccmp_encrypt_t

type esp_ccmp_encrypt_t = Option<unsafe extern "C" fn(tk: *const u8, frame: *mut u8, len: size_t, hdrlen: size_t, pn: *mut u8, keyid: c_int, encrypted_len: *mut size_t) -> *mut u8>;

@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