Home
last modified time | relevance | path

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

/system/vold/
DKeyStorage.cpp109 auto paramBuilder = AuthorizationSetBuilder() in generateKeymasterKey() local
117 paramBuilder.Authorization(TAG_NO_AUTH_REQUIRED); in generateKeymasterKey()
126 paramBuilder.Authorization(TAG_USER_SECURE_ID, at->user_id); in generateKeymasterKey()
127 paramBuilder.Authorization(TAG_USER_AUTH_TYPE, HardwareAuthenticatorType::PASSWORD); in generateKeymasterKey()
128 paramBuilder.Authorization(TAG_AUTH_TIMEOUT, AUTH_TIMEOUT); in generateKeymasterKey()
130 return keymaster.generateKey(paramBuilder, key); in generateKeymasterKey()
135 auto paramBuilder = AuthorizationSetBuilder() in beginParams() local
142 paramBuilder.Authorization(TAG_AUTH_TOKEN, blob2hidlVec(auth.token)); in beginParams()
144 return paramBuilder; in beginParams()
DKeymaster.cpp230 auto paramBuilder = AuthorizationSetBuilder() in keymaster_create_key_for_cryptfs_scrypt() local
242 if (!dev.generateKey(paramBuilder, &key)) { in keymaster_create_key_for_cryptfs_scrypt()
282 auto paramBuilder = AuthorizationSetBuilder() in keymaster_sign_object_for_cryptfs_scrypt() local
287 op = dev.begin(KeyPurpose::SIGN, key, paramBuilder, &outParams); in keymaster_sign_object_for_cryptfs_scrypt()