Lines Matching refs:hidl_vec
87 explicit KmParamSet(const hidl_vec<KeyParameter>& keyParams) { in KmParamSet()
135 inline hidl_vec<uint8_t> kmBlob2hidlVec(const keymaster_key_blob_t& blob) { in kmBlob2hidlVec()
136 hidl_vec<uint8_t> result; in kmBlob2hidlVec()
141 inline hidl_vec<uint8_t> kmBlob2hidlVec(const keymaster_blob_t& blob) { in kmBlob2hidlVec()
142 hidl_vec<uint8_t> result; in kmBlob2hidlVec()
147 inline hidl_vec<uint8_t> kmBuffer2hidlVec(const ::keymaster::Buffer& buf) { in kmBuffer2hidlVec()
148 hidl_vec<uint8_t> result; in kmBuffer2hidlVec()
153 inline static hidl_vec<hidl_vec<uint8_t>>
155 hidl_vec<hidl_vec<uint8_t>> result; in kmCertChain2Hidl()
166 static inline hidl_vec<KeyParameter> kmParamSet2Hidl(const keymaster_key_param_set_t& set) { in kmParamSet2Hidl()
167 hidl_vec<KeyParameter> result; in kmParamSet2Hidl()
209 void addClientAndAppData(const hidl_vec<uint8_t>& clientId, const hidl_vec<uint8_t>& appData, in addClientAndAppData()
266 Return<ErrorCode> AndroidKeymaster3Device::addRngEntropy(const hidl_vec<uint8_t>& data) { in addRngEntropy()
277 Return<void> AndroidKeymaster3Device::generateKey(const hidl_vec<KeyParameter>& keyParams, in generateKey()
286 hidl_vec<uint8_t> resultKeyBlob; in generateKey()
296 Return<void> AndroidKeymaster3Device::getKeyCharacteristics(const hidl_vec<uint8_t>& keyBlob, in getKeyCharacteristics()
297 const hidl_vec<uint8_t>& clientId, in getKeyCharacteristics()
298 const hidl_vec<uint8_t>& appData, in getKeyCharacteristics()
316 Return<void> AndroidKeymaster3Device::importKey(const hidl_vec<KeyParameter>& params, in importKey()
318 const hidl_vec<uint8_t>& keyData, in importKey()
329 hidl_vec<uint8_t> resultKeyBlob; in importKey()
340 const hidl_vec<uint8_t>& keyBlob, in exportKey()
341 const hidl_vec<uint8_t>& clientId, in exportKey()
342 const hidl_vec<uint8_t>& appData, in exportKey()
352 hidl_vec<uint8_t> resultKeyBlob; in exportKey()
360 Return<void> AndroidKeymaster3Device::attestKey(const hidl_vec<uint8_t>& keyToAttest, in attestKey()
361 const hidl_vec<KeyParameter>& attestParams, in attestKey()
370 hidl_vec<hidl_vec<uint8_t>> resultCertChain; in attestKey()
378 Return<void> AndroidKeymaster3Device::upgradeKey(const hidl_vec<uint8_t>& keyBlobToUpgrade, in upgradeKey()
379 const hidl_vec<KeyParameter>& upgradeParams, in upgradeKey()
393 _hidl_cb(legacy_enum_conversion(response.error), hidl_vec<uint8_t>()); in upgradeKey()
398 Return<ErrorCode> AndroidKeymaster3Device::deleteKey(const hidl_vec<uint8_t>& keyBlob) { in deleteKey()
422 Return<void> AndroidKeymaster3Device::begin(KeyPurpose purpose, const hidl_vec<uint8_t>& key, in begin()
423 const hidl_vec<KeyParameter>& inParams, in begin()
434 hidl_vec<KeyParameter> resultParams; in begin()
444 const hidl_vec<KeyParameter>& inParams, in update()
445 const hidl_vec<uint8_t>& input, update_cb _hidl_cb) { in update()
455 hidl_vec<KeyParameter> resultParams; in update()
456 hidl_vec<uint8_t> resultBlob; in update()
467 const hidl_vec<KeyParameter>& inParams, in finish()
468 const hidl_vec<uint8_t>& input, in finish()
469 const hidl_vec<uint8_t>& signature, in finish()
480 hidl_vec<KeyParameter> resultParams; in finish()
481 hidl_vec<uint8_t> resultBlob; in finish()