Home
last modified time | relevance | path

Searched refs:pub_key (Results 1 – 7 of 7) sorted by relevance

/system/hardware/interfaces/wifi/keystore/1.0/default/
Dwifikeystorehal_utils.h31 bssl::UniquePtr<EVP_PKEY> pub_key(X509_get_pubkey(decoded_cert.get())); in extractPubKey()
32 if (!pub_key) { in extractPubKey()
37 if (!pub_key_bio || i2d_PUBKEY_bio(pub_key_bio.get(), pub_key.get()) <= 0) { in extractPubKey()
Dkeystore.cpp197 std::optional<std::vector<uint8_t>> pub_key(extractPubKey(*response.metadata.certificate)); in keyStore2GetPubKey() local
198 return pub_key; in keyStore2GetPubKey()
/system/update_engine/payload_consumer/
Dpayload_verifier.cc64 auto pub_key = std::unique_ptr<EVP_PKEY, decltype(&EVP_PKEY_free)>( in CreateInstance() local
66 if (!pub_key) { in CreateInstance()
72 keys.emplace_back(std::move(pub_key)); in CreateInstance()
/system/security/keystore2/src/crypto/
Dcrypto.hpp54 int ECDHComputeKey(void *out, const EC_POINT *pub_key, const EC_KEY *priv_key);
Dcrypto.cpp222 int ECDHComputeKey(void* out, const EC_POINT* pub_key, const EC_KEY* priv_key) { in ECDHComputeKey() argument
223 return ECDH_compute_key(out, EC_MAX_BYTES, pub_key, priv_key, nullptr); in ECDHComputeKey()
Dlib.rs316 pub fn ecdh_compute_key(pub_key: &EC_POINT, priv_key: &ECKey) -> Result<ZVec, Error> { in ecdh_compute_key()
322 unsafe { ECDHComputeKey(buf.as_mut_ptr() as *mut std::ffi::c_void, pub_key, priv_key.0) }; in ecdh_compute_key()
/system/keymaster/legacy_support/
Dkeymaster1_engine.cpp352 unique_ptr<uint8_t, Malloc_Delete> pub_key(const_cast<uint8_t*>(export_data.data)); in GetKeymaster1PublicKey() local