Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_hashlib.py897 def _test_pbkdf2_hmac(self, pbkdf2): argument
904 out = pbkdf2(digest_name, password, salt, rounds, dklen)
907 out = pbkdf2(digest_name, memoryview(password),
909 out = pbkdf2(digest_name, bytearray(password),
913 out = pbkdf2(digest_name, password, salt, rounds)
917 self.assertRaises(TypeError, pbkdf2, b'sha1', b'pass', b'salt', 1)
918 self.assertRaises(TypeError, pbkdf2, 'sha1', 'pass', 'salt', 1)
919 self.assertRaises(ValueError, pbkdf2, 'sha1', b'pass', b'salt', 0)
920 self.assertRaises(ValueError, pbkdf2, 'sha1', b'pass', b'salt', -1)
921 self.assertRaises(ValueError, pbkdf2, 'sha1', b'pass', b'salt', 1, 0)
[all …]
/external/wpa_supplicant_8/src/crypto/
DMakefile46 sha1-pbkdf2.o \
/external/wpa_supplicant_8/wpa_supplicant/
Dnmake.mak67 $(OBJDIR)\sha1-pbkdf2.obj \
165 $(OBJDIR)\sha1-pbkdf2.obj \
/external/scapy/scapy/modules/krack/
Dautomaton.py8 from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC