Home
last modified time | relevance | path

Searched refs:passwdlen (Results 1 – 7 of 7) sorted by relevance

/external/scrypt/patches/
Duse_openssl_pbkdf2.patch17 @@ -256,7 +260,11 @@ crypto_scrypt(const uint8_t * passwd, size_t passwdlen,
22 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B…
24 PBKDF2_SHA256(passwd, passwdlen, salt, saltlen, 1, B, p * 128 * r);
29 @@ -265,7 +273,11 @@ crypto_scrypt(const uint8_t * passwd, size_t passwdlen,
34 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf);
36 PBKDF2_SHA256(passwd, passwdlen, B, p * 128 * r, 1, buf, buflen);
57 @@ -332,7 +336,11 @@ crypto_scrypt(const uint8_t * passwd, size_t passwdlen,
62 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B…
64 PBKDF2_SHA256(passwd, passwdlen, salt, saltlen, 1, B, p * 128 * r);
69 @@ -341,7 +349,11 @@ crypto_scrypt(const uint8_t * passwd, size_t passwdlen,
[all …]
Darm_neon.patch315 + * crypto_scrypt(passwd, passwdlen, salt, saltlen, N, r, p, buf, buflen):
316 + * Compute scrypt(passwd[0 .. passwdlen - 1], salt[0 .. saltlen - 1], N, r,
324 +crypto_scrypt(const uint8_t * passwd, size_t passwdlen,
398 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B…
400 + PBKDF2_SHA256(passwd, passwdlen, salt, saltlen, 1, B, p * 128 * r);
411 + PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf);
413 + PBKDF2_SHA256(passwd, passwdlen, B, p * 128 * r, 1, buf, buflen);
/external/scrypt/lib/crypto/
Dcrypto_scrypt-neon.c192 crypto_scrypt(const uint8_t * passwd, size_t passwdlen, in crypto_scrypt() argument
266 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B); in crypto_scrypt()
268 PBKDF2_SHA256(passwd, passwdlen, salt, saltlen, 1, B, p * 128 * r); in crypto_scrypt()
279 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf); in crypto_scrypt()
281 PBKDF2_SHA256(passwd, passwdlen, B, p * 128 * r, 1, buf, buflen); in crypto_scrypt()
Dcrypto_scrypt-ref.c220 crypto_scrypt(const uint8_t * passwd, size_t passwdlen, in crypto_scrypt() argument
263 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B); in crypto_scrypt()
265 PBKDF2_SHA256(passwd, passwdlen, salt, saltlen, 1, B, p * 128 * r); in crypto_scrypt()
276 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf); in crypto_scrypt()
278 PBKDF2_SHA256(passwd, passwdlen, B, p * 128 * r, 1, buf, buflen); in crypto_scrypt()
Dcrypto_scrypt-sse.c268 crypto_scrypt(const uint8_t * passwd, size_t passwdlen, in crypto_scrypt() argument
342 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, salt, saltlen, 1, EVP_sha256(), p * 128 * r, B); in crypto_scrypt()
344 PBKDF2_SHA256(passwd, passwdlen, salt, saltlen, 1, B, p * 128 * r); in crypto_scrypt()
355 PKCS5_PBKDF2_HMAC((const char *)passwd, passwdlen, B, p * 128 * r, 1, EVP_sha256(), buflen, buf); in crypto_scrypt()
357 PBKDF2_SHA256(passwd, passwdlen, B, p * 128 * r, 1, buf, buflen); in crypto_scrypt()
/external/libpcap/rpcapd/
Ddaemon.c1264 uint32 usernamelen, passwdlen; in daemon_msg_auth_req() local
1287 passwdlen = ntohs(auth.slen2); in daemon_msg_auth_req()
1288 passwd = (char *) malloc (passwdlen + 1); in daemon_msg_auth_req()
1296 status = rpcapd_recv(pars->sockctrl, pars->ssl, passwd, passwdlen, &plen, errmsgbuf); in daemon_msg_auth_req()
1309 passwd[passwdlen] = '\0'; in daemon_msg_auth_req()
/external/ppp/pppd/
Dauth.c1365 check_passwd(unit, auser, userlen, apasswd, passwdlen, msg) in check_passwd() argument
1370 int passwdlen;
1389 slprintf(passwd, sizeof(passwd), "%.*v", passwdlen, apasswd);