Home
last modified time | relevance | path

Searched refs:keyBlob (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/keymaster/
Dkeymaster_qcom.cpp103 const uint8_t* keyBlob, const size_t keyBlobLength, in qcom_km_get_keypair_public() argument
106 struct qcom_km_key_blob * keyblob_ptr = (struct qcom_km_key_blob *)keyBlob; in qcom_km_get_keypair_public()
113 if (keyBlob == NULL) { in qcom_km_get_keypair_public()
317 uint8_t** keyBlob, size_t* keyBlobLength) { in qcom_km_generate_keypair() argument
331 if (keyBlob == NULL || keyBlobLength == NULL) { in qcom_km_generate_keypair()
378 *keyBlob = keydata.release(); in qcom_km_generate_keypair()
386 uint8_t** keyBlob, size_t* keyBlobLength) in qcom_km_import_keypair() argument
396 } else if (keyBlob == NULL || keyBlobLength == NULL) { in qcom_km_import_keypair()
461 *keyBlob = keydata.release(); in qcom_km_import_keypair()
471 const uint8_t* keyBlob, const size_t keyBlobLength, in qcom_km_sign_data() argument
[all …]
/hardware/interfaces/keymaster/3.0/default/
DKeymasterDevice.h59 Return<void> getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob,
65 Return<void> exportKey(KeyFormat exportFormat, const hidl_vec<uint8_t>& keyBlob,
74 Return<ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override;
DKeymasterDevice.cpp418 Return<void> KeymasterDevice::getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob, in getKeyCharacteristics() argument
428 auto kmKeyBlob = hidlVec2KmKeyBlob(keyBlob); in getKeyCharacteristics()
433 keymaster_device_, keyBlob.size() ? &kmKeyBlob : nullptr, in getKeyCharacteristics()
483 Return<void> KeymasterDevice::exportKey(KeyFormat exportFormat, const hidl_vec<uint8_t>& keyBlob, in exportKey() argument
493 auto kmKeyBlob = hidlVec2KmKeyBlob(keyBlob); in exportKey()
498 keyBlob.size() ? &kmKeyBlob : nullptr, in exportKey()
602 Return<ErrorCode> KeymasterDevice::deleteKey(const hidl_vec<uint8_t>& keyBlob) { in deleteKey() argument
606 auto kmKeyBlob = hidlVec2KmKeyBlob(keyBlob); in deleteKey()
/hardware/interfaces/keymaster/3.0/
DIKeymasterDevice.hal82 * @return keyBlob Opaque, encrypted descriptor of the generated key, which generally contains a
89 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
103 * @return keyBlob Opaque, encrypted descriptor of the generated key, which will generally
112 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
115 * Returns the characteristics of the specified key, if the keyBlob is valid (implementations
118 * @param keyBlob The opaque descriptor returned by generateKey() or importKey();
135 getKeyCharacteristics(vec<uint8_t> keyBlob, vec<uint8_t> clientId, vec<uint8_t> appData)
143 * @param keyBlob The opaque descriptor returned by generateKey() or importKey(). The
160 exportKey(KeyFormat keyFormat, vec<uint8_t> keyBlob, vec<uint8_t> clientId,
208 deleteKey(vec<uint8_t> keyBlob) generates(ErrorCode error);
[all …]