|
Botan 3.14.1
Crypto and TLS for C&
|
#include <hpke.h>
Public Member Functions | |
| constexpr KDF_Code | code () const |
| bool | is_available () const |
| constexpr bool | is_known () const |
| constexpr | KDF_Id (KDF_Code code) |
| constexpr | KDF_Id (uint16_t code) |
| constexpr bool | operator== (const KDF_Id &other) const |
| constexpr bool | operator== (KDF_Code code) const |
| size_t | output_length () const |
| std::optional< std::string > | to_string () const |
| constexpr uint16_t | wire_code () const |
|
inlineconstexpr |
Definition at line 144 of file hpke.h.
References code().
Referenced by operator==().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 150 of file hpke.h.
Referenced by KDF_Id(), KDF_Id(), and operator==().
| bool Botan::HPKE::KDF_Id::is_available | ( | ) | const |
Definition at line 151 of file hpke.cpp.
References Botan::MessageAuthenticationCode::create(), and Botan::fmt().
|
inlineconstexpr |
Definition at line 158 of file hpke.h.
References Botan::HPKE::HKDF_SHA256, Botan::HPKE::HKDF_SHA384, and Botan::HPKE::HKDF_SHA512.
|
inlineconstexpr |
|
inlineconstexpr |
| size_t Botan::HPKE::KDF_Id::output_length | ( | ) | const |
The KDF output length Nh; throws Invalid_State for unknown codepoints See RFC 9180 Section 7.2
Definition at line 158 of file hpke.cpp.
References Botan::fmt(), and wire_code().
| std::optional< std::string > Botan::HPKE::KDF_Id::to_string | ( | ) | const |
|
inlineconstexpr |
Definition at line 152 of file hpke.h.
Referenced by output_length().