UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
ecdh.hpp File Reference
#include <array>
#include <cstdint>
#include "secp256k1/point.hpp"
#include "secp256k1/scalar.hpp"

Go to the source code of this file.

Namespaces

namespace  secp256k1
 

Functions

std::array< std::uint8_t, 32 > secp256k1::ecdh_compute (const Scalar &private_key, const Point &public_key)
 
std::array< std::uint8_t, 32 > secp256k1::ecdh_compute_xonly (const Scalar &private_key, const Point &public_key)
 
std::array< std::uint8_t, 32 > secp256k1::ecdh_compute_raw (const Scalar &private_key, const Point &public_key)