Lines Matching refs:salt_len
326 size_t passwd_len, salt_len, magic_len; in md5crypt() local
340 salt_len = strlen(ascii_salt); in md5crypt()
342 ebcdic2ascii(ascii_salt, ascii_salt, salt_len); in md5crypt()
372 if (salt_len > 8) in md5crypt()
387 if (!EVP_DigestUpdate(md, ascii_salt, salt_len)) in md5crypt()
394 || !EVP_DigestUpdate(md2, ascii_salt, salt_len) in md5crypt()
423 if (!EVP_DigestUpdate(md2, ascii_salt, salt_len)) in md5crypt()
459 output = salt_out + salt_len; in md5crypt()
520 size_t passwd_len, salt_len, magic_len; in shacrypt() local
573 salt_len = strlen(ascii_salt); in shacrypt()
575 ebcdic2ascii(ascii_salt, ascii_salt, salt_len); in shacrypt()
605 if (strlen(out_buf) > 3 + 17 * rounds_custom + salt_len) in shacrypt()
612 || !EVP_DigestUpdate(md, ascii_salt, salt_len)) in shacrypt()
619 || !EVP_DigestUpdate(md2, ascii_salt, salt_len) in shacrypt()
664 if (!EVP_DigestUpdate(md2, ascii_salt, salt_len)) in shacrypt()
670 if ((s_bytes = OPENSSL_zalloc(salt_len)) == NULL) in shacrypt()
672 for (cp = s_bytes, n = salt_len; n > buf_size; n -= buf_size, cp += buf_size) in shacrypt()
684 if (!EVP_DigestUpdate(md2, s_bytes, salt_len)) in shacrypt()