Lines Matching refs:magic_len
326 size_t passwd_len, salt_len, magic_len; in md5crypt() local
331 magic_len = strlen(magic); in md5crypt()
335 ebcdic2ascii(ascii_magic, ascii_magic, magic_len); in md5crypt()
353 if (magic_len > 0) { in md5crypt()
356 if (magic_len > 4) /* assert it's "1" or "apr1" */ in md5crypt()
369 if (magic_len > 0) in md5crypt()
370 salt_out += 2 + magic_len; in md5crypt()
380 if (magic_len > 0) in md5crypt()
382 || !EVP_DigestUpdate(md, ascii_magic, magic_len) in md5crypt()
519 size_t passwd_len, salt_len, magic_len; in shacrypt() local
527 magic_len = strlen(magic); in shacrypt()
530 if (magic_len != 1) in shacrypt()
567 ebcdic2ascii(ascii_magic, ascii_magic, magic_len); in shacrypt()