Lines Matching defs:magic
307 * function; then the static buffer would not be acceptable). For magic
309 * algorithm. For 'magic' string "apr1", this is compatible to the MD5-based
311 * identical except that the 'magic' string was changed -- the laziest
314 static char *md5crypt(const char *passwd, const char *magic, const char *salt)
331 magic_len = strlen(magic);
332 OPENSSL_strlcpy(ascii_magic, magic, sizeof(ascii_magic));
334 if ((magic[0] & 0x80) != 0) /* High bit is 1 in EBCDIC alnums */
496 static char *shacrypt(const char *passwd, const char *magic, const char *salt)
528 magic_len = strlen(magic);
534 switch (magic[0]) {
565 OPENSSL_strlcpy(ascii_magic, magic, sizeof(ascii_magic));
567 if ((magic[0] & 0x80) != 0) /* High bit is 1 in EBCDIC alnums */
720 switch (magic[0]) {