Home
last modified time | relevance | path

Searched refs:key_blob (Results 1 – 5 of 5) sorted by relevance

/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp402 uint8_t* key_blob; in TEST_P() local
406 sDevice->generate_keypair(sDevice, key_type, &params, &key_blob, &key_blob_length)) in TEST_P()
408 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_P()
413 sDevice->get_keypair_public(sDevice, key_blob, key_blob_length, in TEST_P()
449 uint8_t* key_blob; in TEST_P() local
453 sDevice->generate_keypair(sDevice, key_type, &params, &key_blob, &key_blob_length)) in TEST_P()
455 UniqueKey key(&sDevice, key_blob, key_blob_length); in TEST_P()
460 sDevice->get_keypair_public(sDevice, key_blob, key_blob_length, in TEST_P()
493 uint8_t* key_blob; in TEST_P() local
497 sDevice->generate_keypair(sDevice, key_type, NULL, &key_blob, &key_blob_length)) in TEST_P()
[all …]
/hardware/libhardware/include/hardware/
Dkeymaster0.h57 uint8_t** key_blob, size_t* key_blob_length);
69 uint8_t** key_blob, size_t* key_blob_length);
79 const uint8_t* key_blob, const size_t key_blob_length,
91 const uint8_t* key_blob, const size_t key_blob_length);
112 const uint8_t* key_blob, const size_t key_blob_length,
124 const uint8_t* key_blob, const size_t key_blob_length,
Dkeymaster1.h57 const void* key_params, uint8_t** key_blob, size_t* key_blob_length);
67 const size_t key_length, uint8_t** key_blob, size_t* key_blob_length);
76 int (*get_keypair_public)(const struct keymaster1_device* dev, const uint8_t* key_blob,
88 int (*delete_keypair)(const struct keymaster1_device* dev, const uint8_t* key_blob,
109 const uint8_t* key_blob, const size_t key_blob_length, const uint8_t* data,
119 const uint8_t* key_blob, const size_t key_blob_length,
284 keymaster_key_blob_t* key_blob,
310 const keymaster_key_blob_t* key_blob,
361 keymaster_key_blob_t* key_blob,
/hardware/qcom/keymaster/
Dkeymaster_qcom.h107 qcom_km_key_blob_t key_blob; member
142 qcom_km_key_blob_t key_blob; member
162 qcom_km_key_blob_t key_blob; member
201 qcom_km_key_blob_t key_blob; member
Dkeymaster_qcom.cpp377 memcpy(p, (unsigned char *)(&resp->key_blob), resp->key_blob_len); in qcom_km_generate_keypair()
460 memcpy(p, (unsigned char *)(&resp->key_blob), resp->key_blob_len); in qcom_km_import_keypair()
527 memcpy((unsigned char *)(&send_cmd->key_blob), keyBlob, keyBlobLength); in qcom_km_sign_data()
627 memcpy((unsigned char *)(&send_cmd->key_blob), keyBlob, keyBlobLength); in qcom_km_verify_data()