Type Alias esp_idf_svc::hal::sys::esp_ccmp_decrypt_t
source · pub type esp_ccmp_decrypt_t = Option<unsafe extern "C" fn(_: *const u8, _: *const u8, _: *const u8, _: usize, _: *mut usize, _: bool) -> *mut u8>;
Expand description
@brief Decrypt data callback function 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. @param tk 128-bit Temporal Key for obtained during 4-way handshake @param ieee80211_hdr Pointer to IEEE802.11 frame headeri needed for AAD @param data Pointer to encrypted data buffer @param data_len Encrypted data length in bytes @param decrypted_len Length of decrypted data @param espnow_pkt Indicates if it’s an ESPNOW packet Returns: Pointer to decrypted data on success, NULL on failure
Aliased Type§
enum esp_ccmp_decrypt_t {
None,
Some(unsafe extern "C" fn(_: *const u8, _: *const u8, _: *const u8, _: usize, _: *mut usize, _: bool) -> *mut u8),
}