Botan 3.14.1
Crypto and TLS for C&
hpke_kem.cpp File Reference
#include <botan/internal/hpke_kem.h>
#include <botan/ec_apoint.h>
#include <botan/ec_group.h>
#include <botan/ec_scalar.h>
#include <botan/ecdh.h>
#include <botan/exceptn.h>
#include <botan/mac.h>
#include <botan/pubkey.h>
#include <botan/rng.h>
#include <botan/internal/concat_util.h>
#include <botan/internal/fmt.h>
#include <botan/internal/hkdf.h>
#include <botan/internal/loadstor.h>
#include <botan/internal/mem_utils.h>
#include <algorithm>
#include <optional>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  Botan
namespace  Botan::HPKE

Functions

secure_vector< uint8_t > Botan::HPKE::labeled_expand (std::string_view hash, std::span< const uint8_t > suite_id, std::span< const uint8_t > prk, std::string_view label, std::span< const uint8_t > info, size_t length)
secure_vector< uint8_t > Botan::HPKE::labeled_extract (std::string_view hash, std::span< const uint8_t > suite_id, std::span< const uint8_t > salt, std::string_view label, std::span< const uint8_t > ikm)