SSP21-CPP
ssp21
crypto
gen
HandshakeKDF.h
1
//
2
// _ _ ______ _ _ _ _ _ _ _
3
// | \ | | | ____| | (_) | (_) | | | |
4
// | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | |
5
// | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | |
6
// | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_|
7
// |_| \_|\___/ |______\__,_|_|\__|_|_| |_|\__, (_|_|_)
8
// __/ |
9
// |___/
10
//
11
// This file is auto-generated. Do not edit manually
12
//
13
// Licensed under the terms of the BSDv3 license
14
//
15
16
#ifndef SSP21_HANDSHAKEKDF_H
17
#define SSP21_HANDSHAKEKDF_H
18
19
#include <cstdint>
20
#include "ser4cpp/util/Uncopyable.h"
21
22
namespace
ssp21
{
23
24
/**
25
Specifies the Key Derivation Function (KDF) used during the handshake
26
*/
27
enum class
HandshakeKDF
: uint8_t
28
{
29
/// Use HKDF with HMAC-SHA256
30
hkdf_sha256
= 0x0,
31
/// value not defined
32
undefined
= 0xFF
33
};
34
35
struct
HandshakeKDFSpec
:
private
ser4cpp::StaticOnly
36
{
37
typedef
HandshakeKDF
enum_type_t
;
38
39
static
uint8_t to_type(
HandshakeKDF
arg);
40
static
HandshakeKDF
from_type(uint8_t arg);
41
static
const
char
* to_string(
HandshakeKDF
arg);
42
};
43
44
}
45
46
#endif
ssp21
SSP21-cpp main namespace.
Definition:
BufferTypes.h:12
ssp21::HandshakeKDF
HandshakeKDF
Definition:
HandshakeKDF.h:27
ssp21::ContainerEntryType::undefined
value not defined
ssp21::HandshakeKDF::hkdf_sha256
Use HKDF with HMAC-SHA256.
ser4cpp::StaticOnly
Definition:
Uncopyable.h:46
ssp21::HandshakeKDFSpec
Definition:
HandshakeKDF.h:35
Generated on Tue Apr 9 2019 11:41:41 for SSP21-CPP by
1.8.15