Searched refs:paramBuilder (Results 1 – 2 of 2) sorted by relevance
109 auto paramBuilder = AuthorizationSetBuilder() in generateKeymasterKey() local117 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() local142 paramBuilder.Authorization(TAG_AUTH_TOKEN, blob2hidlVec(auth.token)); in beginParams()144 return paramBuilder; in beginParams()
230 auto paramBuilder = AuthorizationSetBuilder() in keymaster_create_key_for_cryptfs_scrypt() local242 if (!dev.generateKey(paramBuilder, &key)) { in keymaster_create_key_for_cryptfs_scrypt()282 auto paramBuilder = AuthorizationSetBuilder() in keymaster_sign_object_for_cryptfs_scrypt() local287 op = dev.begin(KeyPurpose::SIGN, key, paramBuilder, &outParams); in keymaster_sign_object_for_cryptfs_scrypt()