Searched defs:crypted (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/stage2/
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.c3585 char crypted[36];
3596 grub_memset (crypted, 0, sizeof (crypted));
3597 grub_memmove (crypted, "$1$", 3);
3606 crypted[3 + i] = seedchars[seed & 0x3f];
3611 crypted[3 + i] = '$';
3614 grub_printf ("salt = %s\n", crypted);
3622 make_md5_password (key, crypted);
3624 grub_printf ("Encrypted: %s\n", crypted);
3551 char crypted[36]; local

Completed in 25 milliseconds