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()
381 if (magic_len > 0) in md5crypt()
383 || !EVP_DigestUpdate(md, ascii_magic, magic_len) in md5crypt()
520 size_t passwd_len, salt_len, magic_len; in shacrypt() local
528 magic_len = strlen(magic); in shacrypt()
531 if (magic_len != 1) in shacrypt()
568 ebcdic2ascii(ascii_magic, ascii_magic, magic_len); in shacrypt()