Home
last modified time | relevance | path

Searched refs:rndval (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c192 uint64_t rndval; in crypt_gensalt_impl() local
200 got = read(fd, &rndval, sizeof (rndval)); in crypt_gensalt_impl()
201 if (got < sizeof (rndval)) { in crypt_gensalt_impl()
207 to64(&gsbuffer[strlen(crypt_alg_magic)], rndval, sizeof (rndval)); in crypt_gensalt_impl()
/illumos-gate/usr/src/lib/crypt_modules/sunmd5/
H A Dsunmd5.c175 uint64_t rndval; in crypt_gensalt_impl() local
176 char rndstr[sizeof (rndval) + 1]; /* rndval as a base64 string */ in crypt_gensalt_impl()
203 got = read(fd, &rndval, sizeof (rndval)); in crypt_gensalt_impl()
204 if (got < sizeof (rndval)) { in crypt_gensalt_impl()
213 to64((char *)&rndstr, rndval, sizeof (rndval)); in crypt_gensalt_impl()
/illumos-gate/usr/src/lib/crypt_modules/sha256/
H A Dcrypt_sha.c366 uint64_t rndval; in crypt_gensalt_impl() local
369 char rndstr[sizeof (rndval) + 1]; in crypt_gensalt_impl()
395 got = read(fd, &rndval, sizeof (rndval)); in crypt_gensalt_impl()
396 if (got < sizeof (rndval)) { in crypt_gensalt_impl()
404 to64((char *)&rndstr, rndval, sizeof (rndval)); in crypt_gensalt_impl()