Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dasymmetric_key_factory.cpp48 UniquePtr<AsymmetricKey> asym_key; in LoadKey() local
50 &asym_key); in LoadKey()
54 asym_key->key_material() = std::move(key_material); in LoadKey()
56 EVP_PKEY* pkey = d2i_PrivateKey(asym_key->evp_key_type(), nullptr /* pkey */, &tmp, in LoadKey()
57 asym_key->key_material().key_material_size); in LoadKey()
61 if (!asym_key->EvpToInternal(pkey)) { in LoadKey()
64 *key = std::move(asym_key); in LoadKey()