Wireshark
5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
crypt
dot1905mic.h
1
/* dot1905mic.c
2
*
3
* Ieee1905 MIC derivation
4
*
5
* Wireshark - Network traffic analyzer
6
* By Gerald Combs <gerald@wireshark.org>
7
* Copyright 1998 Gerald Combs
8
*
9
* SPDX-License-Identifier: GPL-2.0-or-later
10
*/
11
12
#pragma once
13
#include <stddef.h>
14
#include <stdint.h>
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
/* __cplusplus */
19
20
#define DOT1905MIC_KEY_LEN 32
21
#define DOT1905MIC_HASH_LEN 32
22
23
int
Dot1905MICDerive(
const
uint8_t *key,
size_t
keylen,
const
uint8_t *data,
size_t
data_len, uint8_t *hash);
24
25
#ifdef __cplusplus
26
}
27
#endif
Generated by
1.15.0