Home
last modified time | relevance | path

Searched refs:paramBuilder (Results 1 – 2 of 2) sorted by relevance

/system/vold/
DKeyStorage.cpp110 auto paramBuilder = km::AuthorizationSetBuilder() in generateKeymasterKey() local
116 paramBuilder.Authorization(km::TAG_NO_AUTH_REQUIRED); in generateKeymasterKey()
125 paramBuilder.Authorization(km::TAG_USER_SECURE_ID, at->user_id); in generateKeymasterKey()
126 paramBuilder.Authorization(km::TAG_USER_AUTH_TYPE, km::HardwareAuthenticatorType::PASSWORD); in generateKeymasterKey()
127 paramBuilder.Authorization(km::TAG_AUTH_TIMEOUT, AUTH_TIMEOUT); in generateKeymasterKey()
129 return keymaster.generateKey(paramBuilder, key); in generateKeymasterKey()
134 auto paramBuilder = km::AuthorizationSetBuilder() in beginParams() local
142 return {paramBuilder, authToken}; in beginParams()
DKeymaster.cpp306 auto paramBuilder = km::AuthorizationSetBuilder().NoDigestOrPadding(); in keymaster_sign_object_for_cryptfs_scrypt() local
308 … op = dev.begin(km::KeyPurpose::SIGN, key, paramBuilder, km::HardwareAuthToken(), &outParams); in keymaster_sign_object_for_cryptfs_scrypt()