Home
last modified time | relevance | path

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

/hardware/interfaces/identity/aidl/vts/
DUtil.cpp82 bssl::UniquePtr<EC_KEY> ecRootKey(EC_KEY_new()); in createFakeRemotelyProvisionedCertificateChain() local
84 if (ecRootKey.get() == nullptr || rootKey.get() == nullptr) { in createFakeRemotelyProvisionedCertificateChain()
95 if (EC_KEY_set_group(ecRootKey.get(), group.get()) != 1 || in createFakeRemotelyProvisionedCertificateChain()
96 EC_KEY_generate_key(ecRootKey.get()) != 1 || EC_KEY_check_key(ecRootKey.get()) < 0) { in createFakeRemotelyProvisionedCertificateChain()
101 if (EVP_PKEY_set1_EC_KEY(rootKey.get(), ecRootKey.get()) != 1) { in createFakeRemotelyProvisionedCertificateChain()