Home
last modified time | relevance | path

Searched refs:crypted (Results 1 – 4 of 4) 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) argument
30 #define make_md5_password(key,crypted) md5_password((key), (crypted), 0) argument
H A Dmd5.c207 md5_password (const char *key, char *crypted, int check) in md5_password() argument
210 char *salt = crypted + 3; /* skip $1$ header */ in md5_password()
221 if (strlen(crypted) <= 3) in md5_password()
247 md5_update (crypted, 3 + saltlen); /* include the $1$ header */ in md5_password()
H A Dbuiltins.c3070 char crypted[36]; in md5crypt_func() local
3081 grub_memset (crypted, 0, sizeof (crypted)); in md5crypt_func()
3082 grub_memmove (crypted, "$1$", 3); in md5crypt_func()
3091 crypted[3 + i] = seedchars[seed & 0x3f]; in md5crypt_func()
3096 crypted[3 + i] = '$'; in md5crypt_func()
3099 grub_printf ("salt = %s\n", crypted); in md5crypt_func()
3107 make_md5_password (key, crypted); in md5crypt_func()
3109 grub_printf ("Encrypted: %s\n", crypted); in md5crypt_func()
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog2045 trying to check against the md5 crypted version.