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()
119 static inline hidl_vec<KeyParameter> kmParamSet2Hidl(const keymaster_key_param_set_t& set) { in kmParamSet2Hidl()
120 hidl_vec<KeyParameter> result; in kmParamSet2Hidl()
162 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData()
175 keymaster_key_param_set_t hidlKeyParams2Km(const hidl_vec<KeyParameter>& keyParams) { in hidlKeyParams2Km()
253 const hidl_vec<::android::hardware::keymaster::V4_0::HmacSharingParameters>& params, in computeSharedHmac()
268 hidl_vec<uint8_t> sharing_check; in computeSharedHmac()
276 uint64_t challenge, const hidl_vec<KeyParameter>& parametersToVerify, in verifyAuthorization()
305 Return<ErrorCode> AndroidKeymaster4Device::addRngEntropy(const hidl_vec<uint8_t>& data) { in addRngEntropy()
316 Return<void> AndroidKeymaster4Device::generateKey(const hidl_vec<KeyParameter>& keyParams, in generateKey()
325 hidl_vec<uint8_t> resultKeyBlob; in generateKey()
335 Return<void> AndroidKeymaster4Device::getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob, in getKeyCharacteristics()
336 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics()
337 const hidl_vec<uint8_t>& appData, in getKeyCharacteristics()
355 Return<void> AndroidKeymaster4Device::importKey(const hidl_vec<KeyParameter>& params, in importKey()
357 const hidl_vec<uint8_t>& keyData, in importKey()
368 hidl_vec<uint8_t> resultKeyBlob; in importKey()
379 const hidl_vec<uint8_t>& wrappedKeyData, const hidl_vec<uint8_t>& wrappingKeyBlob, in importWrappedKey()
380 const hidl_vec<uint8_t>& maskingKey, const hidl_vec<KeyParameter>& unwrappingParams, in importWrappedKey()
395 hidl_vec<uint8_t> resultKeyBlob; in importWrappedKey()
406 const hidl_vec<uint8_t>& keyBlob, in exportKey()
407 const hidl_vec<uint8_t>& clientId, in exportKey()
408 const hidl_vec<uint8_t>& appData, in exportKey()
418 hidl_vec<uint8_t> resultKeyBlob; in exportKey()
426 Return<void> AndroidKeymaster4Device::attestKey(const hidl_vec<uint8_t>& keyToAttest, in attestKey()
427 const hidl_vec<KeyParameter>& attestParams, in attestKey()
436 hidl_vec<hidl_vec<uint8_t>> resultCertChain; in attestKey()
444 Return<void> AndroidKeymaster4Device::upgradeKey(const hidl_vec<uint8_t>& keyBlobToUpgrade, in upgradeKey()
445 const hidl_vec<KeyParameter>& upgradeParams, in upgradeKey()
459 _hidl_cb(legacy_enum_conversion(response.error), hidl_vec<uint8_t>()); in upgradeKey()
464 Return<ErrorCode> AndroidKeymaster4Device::deleteKey(const hidl_vec<uint8_t>& keyBlob) { in deleteKey()
488 Return<void> AndroidKeymaster4Device::begin(KeyPurpose purpose, const hidl_vec<uint8_t>& key, in begin()
489 const hidl_vec<KeyParameter>& inParams, in begin()
497 hidl_vec<uint8_t> hidl_vec_token = authToken2HidlVec(authToken); in begin()
504 hidl_vec<KeyParameter> resultParams; in begin()
512 const hidl_vec<KeyParameter>& inParams, in update()
513 const hidl_vec<uint8_t>& input, in update()
522 hidl_vec<uint8_t> hidl_vec_token = authToken2HidlVec(authToken); 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()
554 hidl_vec<uint8_t> hidl_vec_token = authToken2HidlVec(authToken); in finish()
562 hidl_vec<KeyParameter> resultParams; in finish()
563 hidl_vec<uint8_t> resultBlob; in finish()