#include "quiche/quic/core/crypto/curve25519_key_exchange.h"
#include <cstdint>
#include <cstring>
#include <memory>
#include <string>
#include "absl/memory/memory.h"
#include "absl/strings/string_view.h"
#include "openssl/curve25519.h"
#include "quiche/quic/core/crypto/quic_random.h"
#include "quiche/quic/platform/api/quic_bug_tracker.h"
namespace quic {
Curve25519KeyExchange::Curve25519KeyExchange() { … }
Curve25519KeyExchange::~Curve25519KeyExchange() { … }
std::unique_ptr<Curve25519KeyExchange> Curve25519KeyExchange::New(
QuicRandom* rand) { … }
std::unique_ptr<Curve25519KeyExchange> Curve25519KeyExchange::New(
absl::string_view private_key) { … }
std::string Curve25519KeyExchange::NewPrivateKey(QuicRandom* rand) { … }
bool Curve25519KeyExchange::CalculateSharedKeySync(
absl::string_view peer_public_value, std::string* shared_key) const { … }
absl::string_view Curve25519KeyExchange::public_value() const { … }
}