Searched defs:logr (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/crypt_modules/bsdbf/
H A Dbsdbf.c45 int logr = 4; /* Default from pwd_gensalt.c on OpenBSD */ local
48 logr = atoi(params[0]);
50 (void) strlcpy(gsbuffer, bcrypt_gensalt(logr), gsbufflen);
H A Dbcrypt.c146 encode_salt(char *salt, uint8_t *csalt, uint16_t clen, uint8_t logr) argument
153 (void) snprintf(salt + 4, 4, "%2.2u$", logr);
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);

Completed in 105 milliseconds