Searched refs:blob_copy (Results 1 – 1 of 1) sorted by relevance
168 unique_ptr<keymaster_key_blob_t> blob_copy(new (std::nothrow) keymaster_key_blob_t); in duplicate_blob() local169 if (!blob_copy.get()) in duplicate_blob()171 blob_copy->key_material_size = key_data_size; in duplicate_blob()172 blob_copy->key_material = key_material_copy.release(); in duplicate_blob()173 return blob_copy.release(); in duplicate_blob()186 keymaster_key_blob_t* blob_copy = duplicate_blob(blob); in BlobToRsaKey() local187 if (!blob_copy->key_material || !RSA_set_ex_data(rsa.get(), rsa_index_, blob_copy)) in BlobToRsaKey()211 keymaster_key_blob_t* blob_copy = duplicate_blob(blob); in BlobToEcKey() local212 if (!blob_copy->key_material || !EC_KEY_set_ex_data(ec_key.get(), ec_key_index_, blob_copy)) in BlobToEcKey()