27 std::unique_ptr<folly::IOBuf>
getKeyShare()
const override;
32 using PrivKey = std::array<uint8_t, crypto_scalarmult_SCALARBYTES>;
33 using PubKey = std::array<uint8_t, crypto_scalarmult_BYTES>;
folly::Optional< PubKey > pubKey_
void generateKeyPair() override
folly::Optional< PrivKey > privKey_
std::array< uint8_t, crypto_scalarmult_BYTES > PubKey
std::unique_ptr< folly::IOBuf > getKeyShare() const override
std::array< uint8_t, crypto_scalarmult_SCALARBYTES > PrivKey
std::unique_ptr< folly::IOBuf > generateSharedSecret(folly::ByteRange keyShare) const override
~X25519KeyExchange() override=default