Home
last modified time | relevance | path

Searched refs:gsbufflen (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/crypt_modules/sunmd5/
H A Dsunmd5.c165 size_t gsbufflen, in crypt_gensalt_impl() argument
217 if (snprintf(gsbuffer, gsbufflen, in crypt_gensalt_impl()
219 saltrounds) >= gsbufflen) in crypt_gensalt_impl()
222 if (snprintf(gsbuffer, gsbufflen, in crypt_gensalt_impl()
223 "$" CRYPT_ALGNAME "$") >= gsbufflen) in crypt_gensalt_impl()
227 if (strlcat(gsbuffer, rndstr, gsbufflen) >= gsbufflen) in crypt_gensalt_impl()
229 if (strlcat(gsbuffer, "$", gsbufflen) >= gsbufflen) in crypt_gensalt_impl()
235 bzero(gsbuffer, gsbufflen); in crypt_gensalt_impl()
/illumos-gate/usr/src/lib/crypt_modules/sha256/
H A Dcrypt_sha.c358 size_t gsbufflen, in crypt_gensalt_impl() argument
408 if (snprintf(gsbuffer, gsbufflen, in crypt_gensalt_impl()
410 crypt_alg_magic, saltrounds) >= gsbufflen) in crypt_gensalt_impl()
413 if (snprintf(gsbuffer, gsbufflen, in crypt_gensalt_impl()
414 "%s$", crypt_alg_magic) >= gsbufflen) in crypt_gensalt_impl()
417 if (strlcat(gsbuffer, rndstr, gsbufflen) >= gsbufflen) in crypt_gensalt_impl()
419 if (strlcat(gsbuffer, "$", gsbufflen) >= gsbufflen) in crypt_gensalt_impl()
425 (void) memset(gsbuffer, 0, gsbufflen); in crypt_gensalt_impl()
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/
H A Dbsdbf.c38 size_t gsbufflen, in crypt_gensalt_impl() argument
48 (void) strlcpy(gsbuffer, bcrypt_gensalt(logr), gsbufflen); in crypt_gensalt_impl()
/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c184 size_t gsbufflen, in crypt_gensalt_impl() argument
198 (void) strlcpy(gsbuffer, crypt_alg_magic, gsbufflen); in crypt_gensalt_impl()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcrypt.c120 static char *_unix_crypt_gensalt(char *gsbuffer, size_t gsbufflen,
780 size_t gsbufflen __unused, in _unix_crypt_gensalt()