Lines Matching defs:rounds
50 /* Prefix for optional rounds specification. */
51 static const char sha512_rounds_prefix[] = "rounds=";
55 /* Default number of rounds if not explicitly specified. */
57 /* Minimum number of rounds. */
59 /* Maximum number of rounds. */
69 size_t salt_len, key_len, cnt, rounds;
77 /* Default number of rounds. */
78 rounds = ROUNDS_DEFAULT;
94 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX));
183 for (cnt = 0; cnt < rounds; ++cnt) {
218 sha512_rounds_prefix, rounds);
402 "$6$rounds=10000$saltstringsaltstring", "Hello world!",
403 "$6$rounds=10000$saltstringsaltst$OW1/O6BYHV6BcXZu8QVeXbDWra3Oeqh0sb"
407 "$6$rounds=5000$toolongsaltstring", "This is just a test",
408 "$6$rounds=5000$toolongsaltstrin$lQ8jolhgVRVhY4b5pZKaysCLi0QBxGoNeKQ"
412 "$6$rounds=1400$anotherlongsaltstring",
415 "$6$rounds=1400$anotherlongsalts$POfYwTEok97VWcjxIiSOjiykti.o/pQs.wP"
419 "$6$rounds=77777$short",
421 "$6$rounds=77777$short$WuQyW2YR.hBNpjjRhpYD/ifIw05xdfeEyQoMxIXbkvr0g"
425 "$6$rounds=123456$asaltof16chars..", "a short string",
426 "$6$rounds=123456$asaltof16chars..$BtCwjqMJGx5hrJhZywWvt0RLE8uZ4oPwc"
430 "$6$rounds=10$roundstoolow", "the minimum number is still observed",
431 "$6$rounds=1000$roundstoolow$kUMsbe306n21p9R.FRkW3IGn.S9NPN0x50YhH1x"