Home
last modified time | relevance | path

Searched refs:key_blob_length (Results 1 – 3 of 3) sorted by relevance

/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp403 size_t key_blob_length; 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()
450 size_t key_blob_length; 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()
494 size_t key_blob_length; 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/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()
219 *key_blob_length = RSA_KEY_BUFFER_SIZE; in exynos_km_import_keypair()
221 ret = TEE_KeyImport(kbuf, key_len, outPtr.get(), key_blob_length); 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()