Lines Matching full:salt
49 * -salt string - salt
66 char *salt = NULL, *passwd = NULL, **passwds = NULL;
105 else if (strcmp(argv[i], "-salt") == 0)
107 if ((argv[i+1] != NULL) && (salt == NULL))
110 salt = argv[++i];
180 BIO_printf(bio_err, "-salt string use provided salt\n");
245 if (!do_passwd(passed_salt, &salt, &salt_malloc, passwd, out,
274 if (!do_passwd(passed_salt, &salt, &salt_malloc, passwd, out,
310 static char *md5crypt(const char *passwd, const char *magic, const char *salt)
312 static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */
326 strncat(out_buf, salt, 8);
327 assert(strlen(out_buf) <= 6 + 8); /* "$apr1$..salt.." */
426 /* first make sure we have a salt */