Searched refs:crypted (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dmd5.h26 extern int md5_password (const char *key, char *crypted, int check);
29 #define check_md5_password(key,crypted) md5_password((key), (crypted), 1)
30 #define make_md5_password(key,crypted) md5_password((key), (crypted), 0)
H A Dmd5.c207 md5_password (const char *key, char *crypted, int check) argument
210 char *salt = crypted + 3; /* skip $1$ header */
219 /* If our crypted password isn't 3 chars, then it can't be md5
220 crypted. So, they don't match. */
221 if (strlen(crypted) <= 3)
247 md5_update (crypted, 3 + saltlen); /* include the $1$ header */
H A Dbuiltins.c3101 char crypted[36];
3112 grub_memset (crypted, 0, sizeof (crypted));
3113 grub_memmove (crypted, "$1$", 3);
3122 crypted[3 + i] = seedchars[seed & 0x3f];
3127 crypted[3 + i] = '$';
3130 grub_printf ("salt = %s\n", crypted);
3138 make_md5_password (key, crypted);
3140 grub_printf ("Encrypted: %s\n", crypted);
3067 char crypted[36]; local

Completed in 59 milliseconds