Lines Matching refs:characteristics
264 KeymasterWorker::getAuthToken(const KeyCharacteristics& characteristics, uint64_t handle, in getAuthToken() argument
267 AuthorizationSet allCharacteristics(characteristics.softwareEnforced); in getAuthToken()
268 allCharacteristics.append(characteristics.hardwareEnforced.begin(), in getAuthToken()
269 characteristics.hardwareEnforced.end()); in getAuthToken()
350 KeyCharacteristics characteristics; in begin() local
363 std::tie(error, characteristics, keyBlob, charBlob) = createKeyCharacteristicsCache( in begin()
373 std::tie(authRc, authToken) = getAuthToken(characteristics, 0 /* no challenge */, purpose, in begin()
399 AuthorizationSet key_auths = characteristics.hardwareEnforced; in begin()
400 key_auths.append(characteristics.softwareEnforced.begin(), in begin()
401 characteristics.softwareEnforced.end()); in begin()
469 std::move(characteristics), opParams.hidl_data(), pruneable); in begin()
470 assert(characteristics.hardwareEnforced.size() == 0); in begin()
471 assert(characteristics.softwareEnforced.size() == 0); in begin()
530 std::tie(rc, found) = getAuthToken(op->characteristics, op->handle, op->purpose); in getOperationAuthTokenIfNeeded()
574 AuthorizationSet key_auths(op->characteristics.hardwareEnforced); in update()
575 key_auths.append(op->characteristics.softwareEnforced.begin(), in update()
576 op->characteristics.softwareEnforced.end()); in update()
658 AuthorizationSet key_auths(op->characteristics.hardwareEnforced); in finish()
659 key_auths.append(op->characteristics.softwareEnforced.begin(), in finish()
660 op->characteristics.softwareEnforced.end()); in finish()