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

/system/security/keystore/
H A Dkeyblob_utils.cpp43 uint8_t* add_softkey_header(uint8_t* key_blob, size_t key_blob_length) { argument
44 if (key_blob_length < sizeof(SOFT_KEY_MAGIC)) {
53 bool is_softkey(const uint8_t* key_blob, const size_t key_blob_length) { argument
54 if (key_blob_length < 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 45 milliseconds