Set the max password len to INT_MAX -1.
Use in/out parameter to generate the password.