Home
last modified time | relevance | path

Searched refs:key_length (Results 1 – 13 of 13) sorted by relevance

/system/keymaster/
Dopenssl_utils.cpp82 keymaster_error_t convert_pkcs8_blob_to_evp(const uint8_t* key_data, size_t key_length, in convert_pkcs8_blob_to_evp() argument
85 if (key_data == NULL || key_length <= 0) in convert_pkcs8_blob_to_evp()
89 d2i_PKCS8_PRIV_KEY_INFO(NULL, &key_data, key_length)); in convert_pkcs8_blob_to_evp()
Dhmac.h34 bool Init(const uint8_t* key, size_t key_length);
Dopenssl_utils.h85 keymaster_error_t convert_pkcs8_blob_to_evp(const uint8_t* key_data, size_t key_length,
Dsoft_keymaster_context.cpp755 size_t key_length; in AttestationKey() local
761 key_length = array_length(kRsaAttestKey); in AttestationKey()
767 key_length = array_length(kEcAttestKey); in AttestationKey()
776 EVP_PKEY* pkey = d2i_PrivateKey(evp_key_type, nullptr /* pkey */, &key, key_length); in AttestationKey()
Dandroid_keymaster_test_utils.h305 void set_key_blob(const uint8_t* key, size_t key_length) { in set_key_blob() argument
308 blob_.key_material_size = key_length; in set_key_blob()
397 const size_t key_length, uint8_t** key_blob, in counting_import_keypair()
401 device(dev)->import_keypair(device(dev), key, key_length, key_blob, key_blob_length); in counting_import_keypair()
/system/bt/btif/include/
Dbtif_storage.h281 uint8_t key_length);
285 int key_length);
289 uint8_t key_length);
/system/gatekeeper/include/gatekeeper/
Dgatekeeper.h90 const uint8_t *key, uint32_t key_length, const uint8_t *password,
107 const uint8_t *key, uint32_t key_length, const uint8_t *message,
/system/security/softkeymaster/include/keymaster/
Dsoftkeymaster.h26 const size_t key_length, uint8_t** key_blob, size_t* key_blob_length);
/system/bt/btif/src/
Dbtif_storage.c979 UINT8 key_length) in btif_storage_add_ble_bonding_key() argument
1007 int ret = btif_config_set_bin(bdstr, name, (const uint8_t *)key, key_length); in btif_storage_add_ble_bonding_key()
1025 int key_length) in btif_storage_get_ble_bonding_key() argument
1052 size_t length = key_length; in btif_storage_get_ble_bonding_key()
1100 uint8_t key_length) in btif_storage_add_ble_local_key() argument
1120 int ret = btif_config_set_bin("Adapter", name, (const uint8_t *)key, key_length); in btif_storage_add_ble_local_key()
1137 int key_length) in btif_storage_get_ble_local_key() argument
1157 size_t length = key_length; in btif_storage_get_ble_local_key()
/system/vold/
Dcryptfs.h250 int cryptfs_create_default_ftr(struct crypt_mnt_ftr* ftr, int key_length);
Dcryptfs.c3793 … cryptfs_create_default_ftr(struct crypt_mnt_ftr* crypt_ftr, __attribute__((unused))int key_length) argument
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h98 static keymaster_error_t GetPkcs8KeyAlgorithm(const uint8_t* key, size_t key_length,
/system/security/softkeymaster/
Dkeymaster_openssl.cpp403 const size_t key_length, in openssl_import_keypair() argument
414 Unique_PKCS8_PRIV_KEY_INFO pkcs8(d2i_PKCS8_PRIV_KEY_INFO(NULL, &key, key_length)); in openssl_import_keypair()