Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/4.1/support/include/keymasterV4_1/
DKeymaster4.h77 Return<void> getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob, in getKeyCharacteristics() argument
81 return km4_0_dev_->getKeyCharacteristics(keyBlob, clientId, appData, _hidl_cb); in getKeyCharacteristics()
99 Return<void> exportKey(KeyFormat exportFormat, const hidl_vec<uint8_t>& keyBlob, in exportKey() argument
102 return km4_0_dev_->exportKey(exportFormat, keyBlob, clientId, appData, _hidl_cb); in exportKey()
117 Return<V4_0::ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override { in deleteKey() argument
118 return km4_0_dev_->deleteKey(keyBlob); in deleteKey()
DKeymaster3.h72 Return<void> getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob,
89 Return<void> exportKey(KeyFormat exportFormat, const hidl_vec<uint8_t>& keyBlob,
98 Return<V4_0::ErrorCode> deleteKey(const hidl_vec<uint8_t>& keyBlob) override;
/hardware/interfaces/keymaster/4.1/support/
DKeymaster3.cpp151 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in generateKey()
153 _hidl_cb(convert(error), keyBlob, convert(characteristics)); in generateKey()
160 Return<void> Keymaster3::getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob, in getKeyCharacteristics() argument
168 auto rc = km3_dev_->getKeyCharacteristics(keyBlob, clientId, appData, cb); in getKeyCharacteristics()
175 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in importKey()
177 _hidl_cb(convert(error), keyBlob, convert(chars)); in importKey()
184 Return<void> Keymaster3::exportKey(KeyFormat exportFormat, const hidl_vec<uint8_t>& keyBlob, in exportKey() argument
190 auto rc = km3_dev_->exportKey(convert(exportFormat), keyBlob, clientId, appData, cb); in exportKey()
217 Return<V4_0::ErrorCode> Keymaster3::deleteKey(const hidl_vec<uint8_t>& keyBlob) { in deleteKey() argument
218 auto rc = km3_dev_->deleteKey(keyBlob); in deleteKey()
/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/
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 …]
/hardware/interfaces/keymaster/4.0/
DIKeymasterDevice.hal465 * @return keyBlob Opaque descriptor of the generated key. The recommended implementation
473 generates (ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
500 * @return keyBlob Opaque descriptor of the imported key. The recommended implementation
508 generates (ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
585 * @return keyBlob Opaque descriptor of the imported key. It is recommended that the keyBlob
592 generates(ErrorCode error, vec<uint8_t> keyBlob, KeyCharacteristics keyCharacteristics);
606 * @param keyBlob The opaque descriptor returned by generateKey, importKey or importWrappedKey.
621 getKeyCharacteristics(vec<uint8_t> keyBlob, vec<uint8_t> clientId, vec<uint8_t> appData)
629 * @param keyBlob The opaque descriptor returned by generateKey() or importKey(). The
644 exportKey(KeyFormat keyFormat, vec<uint8_t> keyBlob, vec<uint8_t> clientId,
[all …]