Searched defs:gsbuffer (Results 1 - 5 of 5) sorted by relevance

/osnet-11/usr/src/lib/crypt_modules/bsdbf/
H A Dbsdbf.c39 crypt_gensalt_impl(char *gsbuffer, argument
50 (void) strlcpy(gsbuffer, bcrypt_gensalt(logr), gsbufflen);
51 return (gsbuffer);
/osnet-11/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c183 crypt_gensalt_impl(char *gsbuffer, argument
198 (void) strlcpy(gsbuffer, crypt_alg_magic, gsbufflen);
207 to64(&gsbuffer[strlen(crypt_alg_magic)], rndval, sizeof (rndval));
211 return (gsbuffer);
/osnet-11/usr/src/lib/crypt_modules/sha256/
H A Dcrypt_sha.c357 crypt_gensalt_impl(char *gsbuffer, argument
408 if (snprintf(gsbuffer, gsbufflen,
413 if (snprintf(gsbuffer, gsbufflen,
417 if (strlcat(gsbuffer, rndstr, gsbufflen) >= gsbufflen)
419 if (strlcat(gsbuffer, "$", gsbufflen) >= gsbufflen)
422 return (gsbuffer);
425 (void) memset(gsbuffer, 0, gsbufflen);
426 return (gsbuffer);
/osnet-11/usr/src/lib/crypt_modules/sunmd5/
H A Dsunmd5.c164 crypt_gensalt_impl(char *gsbuffer, argument
217 if (snprintf(gsbuffer, gsbufflen,
222 if (snprintf(gsbuffer, gsbufflen,
227 if (strlcat(gsbuffer, rndstr, gsbufflen) >= gsbufflen)
229 if (strlcat(gsbuffer, "$", gsbufflen) >= gsbufflen)
232 return (gsbuffer);
235 bzero(gsbuffer, gsbufflen);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dcrypt.c120 static char *_unix_crypt_gensalt(char *gsbuffer, size_t gsbufflen,
222 char *gsbuffer; local
226 gsbuffer = calloc(CRYPT_MAXCIPHERTEXTLEN, sizeof (char *));
227 if (gsbuffer == NULL) {
245 newsalt = _unix_crypt_gensalt(gsbuffer, CRYPT_MAXCIPHERTEXTLEN,
255 newsalt = alg->a_gensalt(gsbuffer, CRYPT_MAXCIPHERTEXTLEN,
262 if (newsalt == NULL && gsbuffer != NULL)
263 free(gsbuffer);
782 _unix_crypt_gensalt(char *gsbuffer, argument
794 gsbuffer[
[all...]

Completed in 19 milliseconds