Home
last modified time | relevance | path

Searched refs:pwlen (Results 1 – 4 of 4) sorted by relevance

/external/syslinux/com32/libutil/
Dcrypt-md5.c59 int pwlen = strlen(pw); in crypt_md5() local
75 MD5Update(&ctx, pw, pwlen); in crypt_md5()
85 MD5Update(&ctx1, pw, pwlen); in crypt_md5()
87 MD5Update(&ctx1, pw, pwlen); in crypt_md5()
89 for (pl = pwlen; pl > 0; pl -= MD5_SIZE) in crypt_md5()
96 for (i = pwlen; i; i >>= 1) in crypt_md5()
123 MD5Update(&ctx1, pw, pwlen); in crypt_md5()
131 MD5Update(&ctx1, pw, pwlen); in crypt_md5()
136 MD5Update(&ctx1, pw, pwlen); in crypt_md5()
/external/wpa_supplicant_8/src/crypto/
Daes-siv.c121 const u8 *pw, size_t pwlen, in aes_siv_encrypt() argument
145 _len[num_elem] = pwlen; in aes_siv_encrypt()
154 os_memcpy(crypt_pw, pw, pwlen); in aes_siv_encrypt()
159 return aes_ctr_encrypt(k2, key_len, v, crypt_pw, pwlen); in aes_siv_encrypt()
Daes_siv.h13 const u8 *pw, size_t pwlen,
/external/openssh/
Dssh-agent.c670 size_t pwlen; in process_lock_agent() local
672 if ((r = sshbuf_get_cstring(e->request, &passwd, &pwlen)) != 0) in process_lock_agent()
674 if (pwlen == 0) { in process_lock_agent()
677 if (bcrypt_pbkdf(passwd, pwlen, lock_salt, sizeof(lock_salt), in process_lock_agent()
700 if (bcrypt_pbkdf(passwd, pwlen, lock_salt, sizeof(lock_salt), in process_lock_agent()
705 explicit_bzero(passwd, pwlen); in process_lock_agent()