16#ifndef LIBWIFI_PARSE_SECURITY_H
17#define LIBWIFI_PARSE_SECURITY_H
19#include "../../core/frame/management/common.h"
20#include "../../core/misc/security.h"
24#define LIBWIFI_SECURITY_BUF_LEN 256
38 const unsigned char *tag_end);
63 const unsigned char *tag_end);
void _libwifi_add_sec_item(char *buf, int *offset, int *append, char *item)
Internal function for adding a formatted string to a buffer for use with libwifi_get_* security funct...
void libwifi_get_group_ciphers(struct libwifi_bss *bss, char *buf)
Enumerate the group ciphers (CCMP, GCMP128, etc) in a given libwifi_bss, formatted into the given buf...
void libwifi_enumerate_rsn_suites(struct libwifi_rsn_info *rsn_info, struct libwifi_bss *bss)
Enumerate the RSN cipher suites in a libwifi_rsn_info.
void libwifi_get_security_type(struct libwifi_bss *bss, char *buf)
Enumerate the security types (WEP, WPA, WPA2, WPA3, etc) in a given libwifi_bss, formatted into the g...
int libwifi_get_wpa_info(struct libwifi_wpa_info *info, const unsigned char *tag_data, const unsigned char *tag_end)
Get the WPA related information and store it in a libwifi_wpa_info.
int libwifi_get_rsn_info(struct libwifi_rsn_info *info, const unsigned char *tag_data, const unsigned char *tag_end)
Get the RSN related information and store it in a libwifi_rsn_info.
void libwifi_get_pairwise_ciphers(struct libwifi_bss *bss, char *buf)
Enumerate the pairwise ciphers (GROUP, CCMP, BIP_CMAC128, etc) in a given libwifi_bss,...
void libwifi_get_auth_key_suites(struct libwifi_bss *bss, char *buf)
Enumerate the auth key management suites in a given libwifi_bss, formatted into the given buffer.
void libwifi_enumerate_wpa_suites(struct libwifi_wpa_info *wpa_info, struct libwifi_bss *bss)
Enumerate the WPA cipher suites in a libwifi_wpa_info.
libwifi Representation of a 802.11 RSN Information Element ┌───────────────────────────────────┐ │ Ve...
libwifi Representation of a Microsoft WPA Information Element ┌───────────────────────────────────┐ │...