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/
Dkeymaster.h204 uint8_t** key_blob, size_t* key_blob_length);
216 uint8_t** key_blob, size_t* key_blob_length);
226 const uint8_t* key_blob, const size_t key_blob_length,
238 const uint8_t* key_blob, const size_t key_blob_length);
259 const uint8_t* key_blob, const size_t key_blob_length,
271 const uint8_t* key_blob, const size_t key_blob_length,
/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()
/hardware/samsung_slsi/exynos5/libkeymaster/
Dkeymaster_mobicore.cpp138 uint8_t** key_blob, size_t* key_blob_length) { in exynos_km_import_keypair() argument
147 } else if (key_blob == NULL || key_blob_length == NULL) { in exynos_km_import_keypair()
227 *key_blob = outPtr.release(); in exynos_km_import_keypair()
233 const uint8_t* key_blob, const size_t key_blob_length, in exynos_km_get_keypair_public() argument
259 ret = TEE_GetPubKey(key_blob, key_blob_length, binModPtr.get(), &bin_mod_len, binExpPtr.get(), in exynos_km_get_keypair_public()