Searched refs:crypt_alg_magic (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/crypt_modules/bsdmd5/ |
H A D | bsdmd5.c | 51 static const char crypt_alg_magic[] = "$1$"; variable 81 const int crypt_alg_magic_len = strlen(crypt_alg_magic); 87 if (strncmp((char *)sp, crypt_alg_magic, crypt_alg_magic_len) == 0) { 103 MD5Update(&ctx, (uchar_t *)crypt_alg_magic, strlen(crypt_alg_magic)); 130 (void) strlcpy(ctbuffer, crypt_alg_magic, ctbufflen); 198 (void) strlcpy(gsbuffer, crypt_alg_magic, gsbufflen); 207 to64(&gsbuffer[strlen(crypt_alg_magic)], rndval, sizeof (rndval));
|
/illumos-gate/usr/src/lib/crypt_modules/sha256/ |
H A D | crypt_sha.c | 78 static const char crypt_alg_magic[] = "$5"; variable 88 static const char crypt_alg_magic[] = "$6"; variable 94 static const int crypt_alg_magic_len = sizeof (crypt_alg_magic) - 1; 187 if (strncmp((char *)salt, crypt_alg_magic, crypt_alg_magic_len) == 0) { 297 "%s$rounds=%zu$", crypt_alg_magic, rounds); 300 "%s$", crypt_alg_magic); 410 crypt_alg_magic, saltrounds) >= gsbufflen) 414 "%s$", crypt_alg_magic) >= gsbufflen)
|
Completed in 44 milliseconds