Lines Matching refs:keyParams

787 void KeymasterWorker::generateKey(LockedKeyBlobEntry lockedEntry, hidl_vec<KeyParameter> keyParams,  in generateKey()  argument
789 Worker::addRequest([this, CAPTURE_MOVE(lockedEntry), CAPTURE_MOVE(keyParams), in generateKey()
804 [&] { uploadKeyCharacteristicsAsProto(keyParams, false /* wasCreationSuccessful */); }); in generateKey()
822 if (isAuthenticationBound(keyParams) && !keyBlob.isCriticalToDeviceEncryption()) { in generateKey()
827 AuthorizationSet sw_enforced = keyParams; in generateKey()
843 keymasterDevice_->generateKey(keyParams, hidl_cb)); in generateKey()
854 for (auto& param : keyParams) { in generateKey()
862 fallback->generateKey(std::move(lockedEntry), std::move(keyParams), std::move(entropy), in generateKey()
873 uploadKeyCharacteristicsAsProto(keyParams, true /* wasCreationSuccessful */); in generateKey()
879 void KeymasterWorker::generateKey(hidl_vec<KeyParameter> keyParams, generateKey2_cb worker_cb) { in generateKey() argument
880 addRequest(&Keymaster::generateKey, std::move(worker_cb), std::move(keyParams)); in generateKey()
896 void KeymasterWorker::importKey(LockedKeyBlobEntry lockedEntry, hidl_vec<KeyParameter> keyParams, in importKey() argument
899 Worker::addRequest([this, CAPTURE_MOVE(lockedEntry), CAPTURE_MOVE(keyParams), keyFormat, in importKey()
908 [&] { uploadKeyCharacteristicsAsProto(keyParams, false /* wasCreationSuccessful */); }); in importKey()
927 if (isAuthenticationBound(keyParams) && !keyBlob.isCriticalToDeviceEncryption()) { in importKey()
932 AuthorizationSet sw_enforced = keyParams; in importKey()
948 keymasterDevice_, keymasterDevice_->importKey(keyParams, keyFormat, keyData, hidl_cb)); in importKey()
959 for (auto& param : keyParams) { in importKey()
967 fallback->importKey(std::move(lockedEntry), std::move(keyParams), keyFormat, in importKey()
978 uploadKeyCharacteristicsAsProto(keyParams, true /* wasCreationSuccessful */); in importKey()