Botan
1.10.9
|
#include <ecdh.h>
Public Member Functions | |
SecureVector< byte > | agree (const byte w[], size_t w_len) |
ECDH_KA_Operation (const ECDH_PrivateKey &key) | |
Botan::ECDH_KA_Operation::ECDH_KA_Operation | ( | const ECDH_PrivateKey & | key | ) |
Definition at line 15 of file ecdh.cpp.
References Botan::EC_PublicKey::domain(), Botan::EC_Group::get_order(), Botan::inverse_mod(), and Botan::EC_PrivateKey::private_value().
|
virtual |
Implements Botan::PK_Ops::Key_Agreement.
Definition at line 23 of file ecdh.cpp.
References BOTAN_ASSERT, Botan::BigInt::bytes(), Botan::BigInt::encode_1363(), Botan::PointGFp::get_affine_x(), Botan::CurveGFp::get_p(), Botan::PointGFp::on_the_curve(), and Botan::OS2ECP().