Lines Matching refs:hidl_vec
78 explicit KmParamSet(const hidl_vec<KeyParameter>& keyParams) in KmParamSet()
88 inline hidl_vec<uint8_t> kmBlob2hidlVec(const keymaster_key_blob_t& blob) { in kmBlob2hidlVec()
89 hidl_vec<uint8_t> result; in kmBlob2hidlVec()
94 inline hidl_vec<uint8_t> kmBlob2hidlVec(const keymaster_blob_t& blob) { in kmBlob2hidlVec()
95 hidl_vec<uint8_t> result; in kmBlob2hidlVec()
100 inline hidl_vec<uint8_t> kmBuffer2hidlVec(const ::keymaster::Buffer& buf) { in kmBuffer2hidlVec()
101 hidl_vec<uint8_t> result; in kmBuffer2hidlVec()
106 inline static hidl_vec<hidl_vec<uint8_t>>
108 hidl_vec<hidl_vec<uint8_t>> result; in kmCertChain2Hidl()
120 static inline hidl_vec<KeyParameter> kmParamSet2Hidl(const keymaster_key_param_set_t& set) { in kmParamSet2Hidl()
121 hidl_vec<KeyParameter> result; in kmParamSet2Hidl()
164 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData()
177 keymaster_key_param_set_t hidlKeyParams2Km(const hidl_vec<KeyParameter>& keyParams) { in hidlKeyParams2Km()
256 const hidl_vec<::android::hardware::keymaster::V4_0::HmacSharingParameters>& params, in computeSharedHmac()
271 hidl_vec<uint8_t> sharing_check; in computeSharedHmac()
279 uint64_t challenge, const hidl_vec<KeyParameter>& parametersToVerify, in verifyAuthorization()
308 Return<ErrorCode> AndroidKeymaster4Device::addRngEntropy(const hidl_vec<uint8_t>& data) { in addRngEntropy()
320 Return<void> AndroidKeymaster4Device::generateKey(const hidl_vec<KeyParameter>& keyParams, in generateKey()
329 hidl_vec<uint8_t> resultKeyBlob; in generateKey()
339 Return<void> AndroidKeymaster4Device::getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob, in getKeyCharacteristics()
340 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics()
341 const hidl_vec<uint8_t>& appData, in getKeyCharacteristics()
359 Return<void> AndroidKeymaster4Device::importKey(const hidl_vec<KeyParameter>& params, in importKey()
361 const hidl_vec<uint8_t>& keyData, in importKey()
372 hidl_vec<uint8_t> resultKeyBlob; in importKey()
383 const hidl_vec<uint8_t>& wrappedKeyData, const hidl_vec<uint8_t>& wrappingKeyBlob, in importWrappedKey()
384 const hidl_vec<uint8_t>& maskingKey, const hidl_vec<KeyParameter>& unwrappingParams, in importWrappedKey()
399 hidl_vec<uint8_t> resultKeyBlob; in importWrappedKey()
410 const hidl_vec<uint8_t>& keyBlob, in exportKey()
411 const hidl_vec<uint8_t>& clientId, in exportKey()
412 const hidl_vec<uint8_t>& appData, in exportKey()
422 hidl_vec<uint8_t> resultKeyBlob; in exportKey()
430 Return<void> AndroidKeymaster4Device::attestKey(const hidl_vec<uint8_t>& keyToAttest, in attestKey()
431 const hidl_vec<KeyParameter>& attestParams, in attestKey()
440 hidl_vec<hidl_vec<uint8_t>> resultCertChain; in attestKey()
448 Return<void> AndroidKeymaster4Device::upgradeKey(const hidl_vec<uint8_t>& keyBlobToUpgrade, in upgradeKey()
449 const hidl_vec<KeyParameter>& upgradeParams, in upgradeKey()
463 _hidl_cb(legacy_enum_conversion(response.error), hidl_vec<uint8_t>()); in upgradeKey()
468 Return<ErrorCode> AndroidKeymaster4Device::deleteKey(const hidl_vec<uint8_t>& keyBlob) { in deleteKey()
492 Return<void> AndroidKeymaster4Device::begin(KeyPurpose purpose, const hidl_vec<uint8_t>& key, in begin()
493 const hidl_vec<KeyParameter>& inParams, in begin()
501 hidl_vec<uint8_t> hidl_vec_token = authToken2HidlVec(authToken); in begin()
508 hidl_vec<KeyParameter> resultParams; in begin()
516 const hidl_vec<KeyParameter>& inParams, in update()
517 const hidl_vec<uint8_t>& input, in update()
530 hidl_vec<KeyParameter> resultParams; in update()
531 hidl_vec<uint8_t> resultBlob; in update()
542 const hidl_vec<KeyParameter>& inParams, in finish()
543 const hidl_vec<uint8_t>& input, in finish()
544 const hidl_vec<uint8_t>& signature, in finish()
557 hidl_vec<KeyParameter> resultParams; in finish()
558 hidl_vec<uint8_t> resultBlob; in finish()