Wireshark 4.5.0
The Wireshark network protocol analyzer
|
#include <glib.h>
#include "ws_symbol_export.h"
Go to the source code of this file.
Typedefs | |
typedef struct _DOT11DECRYPT_KEY_ITEM | DOT11DECRYPT_KEY_ITEM |
typedef struct _DOT11DECRYPT_KEY_ITEM * | PDOT11DECRYPT_KEY_ITEM |
typedef struct _DOT11DECRYPT_KEYS_COLLECTION | DOT11DECRYPT_KEYS_COLLECTION |
typedef struct _DOT11DECRYPT_KEYS_COLLECTION * | PDOT11DECRYPT_KEYS_COLLECTION |
Functions | |
WS_DLL_PUBLIC decryption_key_t * | parse_key_string (char *key_string, uint8_t key_type, char **error) |
WS_DLL_PUBLIC void | free_key_string (decryption_key_t *dk) |
Copyright (c) 2006 CACE Technologies, Davis (California) All rights reserved.
SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
typedef struct _DOT11DECRYPT_KEY_ITEM DOT11DECRYPT_KEY_ITEM |
Key item used during the decryption process.
typedef struct _DOT11DECRYPT_KEYS_COLLECTION DOT11DECRYPT_KEYS_COLLECTION |
Collection of keys to use to decrypt packets
WS_DLL_PUBLIC void free_key_string | ( | decryption_key_t * | dk | ) |
Releases memory associated with a given decryption_key_t struct.
dk | [IN] Pointer to the key to be freed |
WS_DLL_PUBLIC decryption_key_t * parse_key_string | ( | char * | key_string, |
uint8_t | key_type, | ||
char ** | error | ||
) |
Returns the decryption_key_t struct given a string describing the key.
key_string | [IN] Key string in one of the following formats:
|
key_type | [IN] Type of key used for string. Possibilities include:
|
error | [OUT] If not NULL, on failure will be set to point to an error message explaining why parsing failed. Must be freed. |