Home
last modified time | relevance | path

Searched refs:salt (Results 1 – 2 of 2) sorted by relevance

/lighttpd1.4/src/
H A Dmod_authn_file.c471 static size_t apr_md5_encode(const char *pw, const char *salt, char *result, size_t nbytes) { in apr_md5_encode() argument
487 if (!strncmp(salt, APR1_ID, sizeof(APR1_ID)-1)) { in apr_md5_encode()
488 salt += sizeof(APR1_ID)-1; in apr_md5_encode()
498 for (sl = 0; sl < 8 && salt[sl] != '$' && salt[sl] != '\0'; ++sl) ; in apr_md5_encode()
502 memcpy(result+sizeof(APR1_ID)-1, salt, sl); in apr_md5_encode()
510 MD5_Update(&ctx, salt, sl); in apr_md5_encode()
533 MD5_Update(&ctx, salt, sl); in apr_md5_encode()
574 MD5_Update(&ctx, salt, sl); in apr_md5_encode()
/lighttpd1.4/
H A DNEWS2669 * [mod_auth] terminate salt for CRYPT-MD5-NTLM
3013 * [mod_auth] use crypt() on encrypted password instead of extracting salt first (fixes #2483)
3014 … if openssl is used (needs openssl for SHA1). This doesn't use any salt, md5 with salt is probably…
3671 * fixed possible overflow in password-salt handling