Home
last modified time | relevance | path

Searched refs:dkLen (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/crypto/
Dsymmetric_key_win.cc414 size_t dkLen = key_size_in_bits / 8; in DeriveKeyFromPassword() local
415 DCHECK_GT(dkLen, 0); in DeriveKeyFromPassword()
417 if ((dkLen / hLen) > 0xFFFFFFFF) { in DeriveKeyFromPassword()
425 size_t L = (dkLen + hLen - 1) / hLen; in DeriveKeyFromPassword()
452 if (!ImportRawKey(provider, alg, &generated_key[0], dkLen, &key)) in DeriveKeyFromPassword()
456 &generated_key[0], dkLen); in DeriveKeyFromPassword()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DPKCS5S2ParametersGenerator.java79 int dkLen) in generateDerivedKey() argument
82 int l = (dkLen + hLen - 1) / hLen; in generateDerivedKey()
/external/scrypt/patches/
Duse_openssl_pbkdf2.patch32 /* 5: DK <-- PBKDF2(P, B, 1, dkLen) */
72 /* 5: DK <-- PBKDF2(P, B, 1, dkLen) */
Darm-neon.patch410 + /* 5: DK <-- PBKDF2(P, B, 1, dkLen) */
/external/chromium_org/net/third_party/nss/ssl/
Dsslcon.c1556 unsigned int dkLen; /* decrypted key length in bytes */ in ssl2_ServerSetupSessionCypher() local
1635 dkLen = keySize - ckLen; in ssl2_ServerSetupSessionCypher()
1636 dk = kbuf + modulusLen - dkLen; in ssl2_ServerSetupSessionCypher()
1675 PK11_GenerateRandom(dk, dkLen); in ssl2_ServerSetupSessionCypher()
1684 PORT_Memcpy(mkbuf + ckLen, dk, dkLen); in ssl2_ServerSetupSessionCypher()