Searched refs:key_id (Results 1 - 1 of 1) sorted by relevance

/system/security/keystore-engine/
H A Deng_keystore.cpp157 uint8_t* key_id = reinterpret_cast<uint8_t*>(RSA_get_ex_data(rsa, rsa_key_handle)); local
158 if (key_id == NULL) {
159 ALOGE("key had no key_id!");
164 if (keystore_cmd(CommandCodes[SIGN], &reply, 2, strlen(reinterpret_cast<const char*>(key_id)),
165 key_id, static_cast<size_t>(num), reinterpret_cast<const uint8_t*>(padded.get()))
213 static EVP_PKEY* keystore_loadkey(ENGINE* e, const char* key_id, UI_METHOD* ui_method, argument
219 ALOGV("keystore_loadkey(%p, \"%s\", %p, %p)", e, key_id, ui_method, callback_data);
223 if (keystore_cmd(CommandCodes[GET_PUBKEY], &reply, 1, strlen(key_id), key_id) != NO_ERROR) {
224 ALOGV("Cannot get public key for %s", key_id);
[all...]

Completed in 2 milliseconds