Searched defs:pubkey (Results 1 - 3 of 3) sorted by relevance

/system/security/keystore-engine/
H A Deng_keystore.cpp119 uint8_t *pubkey = NULL; local
121 int32_t ret = service->get_pubkey(String16(key_id), &pubkey, &pubkeyLen);
124 free(pubkey);
128 free(pubkey);
132 const unsigned char* tmp = reinterpret_cast<const unsigned char*>(pubkey);
134 free(pubkey);
136 ALOGW("Cannot convert pubkey");
/system/security/keystore/
H A DIKeystoreService.cpp410 virtual int32_t get_pubkey(const String16& name, uint8_t** pubkey, size_t* pubkeyLength) argument
425 *pubkey = (uint8_t*) malloc(ulen);
426 if (*pubkey != NULL) {
427 memcpy(*pubkey, buf, ulen);
H A Dkeystore.cpp2001 int32_t get_pubkey(const String16& name, uint8_t** pubkey, size_t* pubkeyLength) { argument
2031 rc = openssl_get_keypair_public(device, keyBlob.getValue(), keyBlob.getLength(), pubkey,
2034 rc = device->get_keypair_public(device, keyBlob.getValue(), keyBlob.getLength(), pubkey,

Completed in 44 milliseconds