Home
last modified time | relevance | path

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

/system/keymaster/
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()
71 const EC_GROUP* group = EC_KEY_get0_group(private_key_.get()); in ExtractPublicKey()
80 if (EC_POINT_point2oct(group, EC_KEY_get0_public_key(private_key_.get()), in ExtractPublicKey()
98 const EC_GROUP* group = EC_KEY_get0_group(private_key_.get()); in CalculateSharedKey()
110 if (ECDH_compute_key(result.get(), shared_secret_len_, point.get(), private_key_.get(), in CalculateSharedKey()
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