Lines Matching defs:salt
54 * Support a reasonably? long salt.
90 * $<tag>$<iterations>$<salt>$<digest>
99 * <salt> up to 64 bytes of random data, 8 bytes is
110 __crypt_sha1 (const char *pw, const char *salt)
129 * $<tag>$<iterations>$salt[$]
134 if (!strncmp(salt, magic, strlen(magic))) {
135 salt += strlen(magic);
137 iterations = strtoul(salt, &ep, 10);
140 salt = ep + 1; /* skip over the '$' */
146 for (sp = salt; *sp && *sp != '$' && sp < (salt + CRYPT_SHA1_ITERATIONS); sp++)
149 /* Get the length of the actual salt */
150 sl = sp - salt;
155 * Prime the pump with <salt><magic><iterations>
158 sl, salt, magic, iterations);
168 magic, iterations, sl, salt);