Home
last modified time | relevance | path

Searched refs:private_key_ (Results 1 – 2 of 2) sorted by relevance

/system/keymaster/km_openssl/
Dnist_curve_key_exchange.cpp29 : private_key_(private_key) { in NistCurveKeyExchange()
30 if (!private_key_.get() || !EC_KEY_check_key(private_key_.get())) { in NistCurveKeyExchange()
73 const EC_GROUP* group = EC_KEY_get0_group(private_key_.get()); in ExtractPublicKey()
82 if (EC_POINT_point2oct(group, EC_KEY_get0_public_key(private_key_.get()), in ExtractPublicKey()
100 const EC_GROUP* group = EC_KEY_get0_group(private_key_.get()); in CalculateSharedKey()
113 if (ECDH_compute_key(result.get(), shared_secret_len_, point.get(), private_key_.get(), in CalculateSharedKey()
/system/keymaster/include/keymaster/km_openssl/
Dnist_curve_key_exchange.h59 EC_KEY* private_key() { return private_key_.release(); } in private_key()
64 UniquePtr<EC_KEY, EC_KEY_Delete> private_key_; variable