Searched refs:pubkey (Results 1 – 12 of 12) sorted by relevance
/system/security/keystore-engine/ |
D | keystore_backend_hidl.cpp | 65 const char *key_id, uint8_t** pubkey, size_t* pubkey_len) { in get_pubkey() argument 66 if (key_id == NULL || pubkey == NULL || pubkey_len == NULL) { in get_pubkey() 82 *pubkey = publicKey.releaseData(); in get_pubkey()
|
D | keystore_backend_binder.cpp | 63 const char *key_id, uint8_t** pubkey, size_t* pubkey_len) { in get_pubkey() argument 79 *pubkey = pubkey_vec.releaseData(); in get_pubkey()
|
D | android_engine.cpp | 396 uint8_t *pubkey = NULL; in EVP_PKEY_from_keystore() local 398 int32_t ret = g_keystore_backend->get_pubkey(key_id, &pubkey, &pubkey_len); in EVP_PKEY_from_keystore() 402 } else if (ret != 0 || pubkey == NULL) { in EVP_PKEY_from_keystore() 407 const uint8_t *inp = pubkey; in EVP_PKEY_from_keystore()
|
D | keystore_backend.h | 33 virtual int32_t get_pubkey(const char *key_id, uint8_t** pubkey,
|
D | keystore_backend_hidl.h | 34 int32_t get_pubkey(const char *key_id, uint8_t** pubkey,
|
D | keystore_backend_binder.h | 34 int32_t get_pubkey(const char *key_id, uint8_t** pubkey,
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 43 hidl_vec<uint8_t> pubkey; in getPublicKey() local 44 auto ret = service->get_pubkey(String16(keyId.c_str()), &pubkey); in getPublicKey() 49 _hidl_cb(KeystoreStatusCode::SUCCESS, pubkey); in getPublicKey()
|
/system/core/adb/ |
D | adb_auth_host.cpp | 159 unsigned char* pubkey = nullptr; in hash_key() local 160 int len = i2d_RSA_PUBKEY(key, &pubkey); in hash_key() 168 SHA256(pubkey, len, reinterpret_cast<unsigned char*>(&result[0])); in hash_key() 169 OPENSSL_free(pubkey); in hash_key()
|
/system/keymaster/ |
D | soft_keymaster_context.cpp | 911 keymaster_error_t SoftKeymasterContext::FakeKeyAuthorizations(EVP_PKEY* pubkey, in FakeKeyAuthorizations() argument 917 switch (EVP_PKEY_type(pubkey->type)) { in FakeKeyAuthorizations() 938 unique_ptr<RSA, RSA_Delete> rsa(EVP_PKEY_get1_RSA(pubkey)); in FakeKeyAuthorizations() 962 UniquePtr<EC_KEY, EC_KEY_Delete> ec_key(EVP_PKEY_get1_EC_KEY(pubkey)); in FakeKeyAuthorizations()
|
D | android_keymaster_test.cpp | 1151 string pubkey; in TEST_P() local 1152 EXPECT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &pubkey)); in TEST_P() 1154 const uint8_t* p = reinterpret_cast<const uint8_t*>(pubkey.data()); in TEST_P() 1156 d2i_PUBKEY(nullptr /* alloc new */, &p, pubkey.size())); in TEST_P() 1246 string pubkey; in TEST_P() local 1247 EXPECT_EQ(KM_ERROR_OK, ExportKey(KM_KEY_FORMAT_X509, &pubkey)); in TEST_P() 1249 const uint8_t* p = reinterpret_cast<const uint8_t*>(pubkey.data()); in TEST_P() 1251 d2i_PUBKEY(nullptr /* alloc new */, &p, pubkey.size())); in TEST_P()
|
/system/keymaster/include/keymaster/ |
D | soft_keymaster_context.h | 112 keymaster_error_t FakeKeyAuthorizations(EVP_PKEY* pubkey, AuthorizationSet* hw_enforced,
|
/system/security/keystore/ |
D | IKeystoreService.cpp | 426 KeyStoreServiceReturnCode get_pubkey(const String16& name, hidl_vec<uint8_t>* pubkey) override { in get_pubkey() argument 441 if (pubkey) *pubkey = resultKey.value(); in get_pubkey()
|