Wireshark
5.1.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
epan
crypt
dot1905decrypt.h
1
/* dot1905decrypt.c
2
*
3
* AES SIV (RFC 5297)
4
* Copyright (c) 2013 Cozybit, Inc.
5
*
6
* SPDX-License-Identifier: BSD-3-Clause
7
*
8
* Code originates from hostap project and is modified to use gcrypt
9
*/
10
11
#pragma once
12
#include <stddef.h>
13
#include <stdint.h>
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
/* __cplusplus */
18
19
#define DOT1905DECRYPT_KEY_LEN 32
20
21
int
Dot1905DecryptGetDecryptLength(
size_t
data_len,
size_t
*out_len);
22
23
int
Dot1905DecryptDecrypt(
const
uint8_t *key,
size_t
key_len,
const
uint8_t *data,
size_t
data_len,
24
size_t
num_params,
const
uint8_t *params[],
const
size_t
*params_lens, uint8_t *out);
25
26
#ifdef __cplusplus
27
}
28
#endif
Generated by
1.15.0