Lines Matching refs:rounds
71 for rounds in 1000, 10_000, 100_000:
72 salt = crypt.mksalt(method, rounds=rounds)
73 self.assertIn('$rounds=%d$' % rounds, salt)
75 11 + len(str(rounds)))
86 salt = crypt.mksalt(crypt.METHOD_BLOWFISH, rounds=1 << log_rounds)
98 crypt.mksalt(method, rounds='4096')
100 crypt.mksalt(method, rounds=4096.0)
101 for rounds in (0, 1, -1, 1<<999):
103 crypt.mksalt(method, rounds=rounds)
105 crypt.mksalt(crypt.METHOD_BLOWFISH, rounds=1000)
108 crypt.mksalt(method, rounds=4096)