Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/crypt_modules/bsdbf/
H A Dbcrypt.c146 encode_salt(char *salt, uint8_t *csalt, uint16_t clen, uint8_t logr) in encode_salt() argument
153 (void) snprintf(salt + 4, 4, "%2.2u$", logr); in encode_salt()
199 uint8_t salt_len, logr, minor; local
237 if ((logr = atoi(arounds)) < BCRYPT_MINLOGROUNDS ||
238 logr > BCRYPT_MAXLOGROUNDS)
241 rounds = 1U << logr;
304 (void) snprintf(encrypted + i, 4, "%2.2u$", logr);
H A Dbsdbf.c43 int logr = 4; /* Default from pwd_gensalt.c on OpenBSD */ in crypt_gensalt_impl() local
46 logr = atoi(params[0]); in crypt_gensalt_impl()
48 (void) strlcpy(gsbuffer, bcrypt_gensalt(logr), gsbufflen); in crypt_gensalt_impl()