Home
last modified time | relevance | path

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

/third_party/openssl/apps/
Dpasswd.c323 size_t passwd_len, salt_len, magic_len; in md5crypt() local
325 passwd_len = strlen(passwd); in md5crypt()
346 ebcdic2ascii(ascii_passwd, ascii_passwd, passwd_len); in md5crypt()
375 || !EVP_DigestUpdate(md, passwd, passwd_len)) in md5crypt()
390 || !EVP_DigestUpdate(md2, passwd, passwd_len) in md5crypt()
392 || !EVP_DigestUpdate(md2, passwd, passwd_len) in md5crypt()
396 for (i = passwd_len; i > sizeof(buf); i -= sizeof(buf)) { in md5crypt()
403 n = passwd_len; in md5crypt()
417 (i & 1) ? passwd_len : sizeof(buf))) in md5crypt()
424 if (!EVP_DigestUpdate(md2, passwd, passwd_len)) in md5crypt()
[all …]
/third_party/libwebsockets/lib/core-net/
Dsocks5-client.c108 ssize_t n, passwd_len; in lws_socks5c_generate_msg() local
128 passwd_len = (ssize_t)strlen(wsi->a.vhost->socks_password); in lws_socks5c_generate_msg()
130 if (n > 254 || passwd_len > 254) in lws_socks5c_generate_msg()
133 if (lws_ptr_diff(end, p) < 3 + n + passwd_len) in lws_socks5c_generate_msg()
146 *p++ = (uint8_t)passwd_len; in lws_socks5c_generate_msg()
149 memcpy(p, wsi->a.vhost->socks_password, (size_t)passwd_len); in lws_socks5c_generate_msg()
150 p += passwd_len; in lws_socks5c_generate_msg()