Searched defs:key_blob (Results 1 - 2 of 2) sorted by relevance

/system/security/keystore/
H A Dkeyblob_utils.cpp22 * to a hardware keymaster implementation, the first 4 bytes of the key_blob
43 uint8_t* add_softkey_header(uint8_t* key_blob, size_t key_blob_length) { argument
48 memcpy(key_blob, SOFT_KEY_MAGIC, sizeof(SOFT_KEY_MAGIC));
50 return key_blob + sizeof(SOFT_KEY_MAGIC);
53 bool is_softkey(const uint8_t* key_blob, const size_t key_blob_length) { argument
58 return !memcmp(key_blob, SOFT_KEY_MAGIC, sizeof(SOFT_KEY_MAGIC));
/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp270 uint8_t** key_blob, size_t* key_blob_length) {
276 } else if (key_blob == NULL || key_blob_length == NULL) {
295 if (wrap_key(pkey.get(), EVP_PKEY_type(pkey->type), key_blob, key_blob_length)) {
303 const uint8_t* key_blob, const size_t key_blob_length,
311 Unique_EVP_PKEY pkey(unwrap_key(key_blob, key_blob_length));
268 openssl_import_keypair(const keymaster_device_t* dev, const uint8_t* key, const size_t key_length, uint8_t** key_blob, size_t* key_blob_length) argument
302 openssl_get_keypair_public(const struct keymaster_device* dev, const uint8_t* key_blob, const size_t key_blob_length, uint8_t** x509_data, size_t* x509_data_length) argument

Completed in 18 milliseconds