Searched refs:HOTP (Results 1 – 7 of 7) sorted by relevance
/external/python/cryptography/vectors/cryptography_vectors/twofactor/ |
D | rfc-4226.txt | 1 # HOTP Test Vectors 8 HOTP = 755224 15 HOTP = 287082 23 HOTP = 359152 31 HOTP = 969429 39 HOTP = 338314 47 HOTP = 254676 55 HOTP = 287922 63 HOTP = 162583 71 HOTP = 399871 [all …]
|
/external/python/cryptography/tests/hazmat/primitives/twofactor/ |
D | test_hotp.py | 16 from cryptography.hazmat.primitives.twofactor.hotp import HOTP 37 HOTP(secret, 6, SHA1(), backend) 41 HOTP(secret, 6, SHA1(), backend, enforce_key_length=False) 47 HOTP(secret, 4, SHA1(), backend) 53 HOTP(secret, 6, MD5(), backend) 61 hotp = HOTP(secret, 6, SHA1(), backend) 71 hotp = HOTP(secret, 6, SHA1(), backend) 81 hotp = HOTP(secret, 6, SHA1(), backend) 89 hotp = HOTP(secret, 6, SHA1(), backend) 98 HOTP(secret, b"foo", SHA1(), backend) [all …]
|
/external/python/cryptography/docs/hazmat/primitives/ |
D | twofactor.rst | 21 .. class:: HOTP(key, length, algorithm, backend=None, enforce_key_length=True) 25 HOTP objects take a ``key``, ``length`` and ``algorithm`` parameter. The 36 >>> from cryptography.hazmat.primitives.twofactor.hotp import HOTP 39 >>> hotp = HOTP(key, 6, SHA1()) 60 :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP`. 86 is raised when the supplied HOTP does not match the expected HOTP. 105 Due to the fact that the HOTP algorithm generates rather short tokens that are 115 The server's counter value should only be incremented on a successful HOTP 117 new HOTP value is requested. This can lead to the counter value being out of 121 that allows the server to calculate the next ``x`` HOTP values and check them [all …]
|
/external/python/cryptography/src/cryptography/hazmat/primitives/twofactor/ |
D | totp.py | 12 from cryptography.hazmat.primitives.twofactor.hotp import HOTP 34 self._hotp = HOTP(key, length, algorithm, backend, enforce_key_length)
|
D | hotp.py | 20 class HOTP(object): class
|
/external/python/cryptography/ |
D | CHANGELOG.rst | 1104 :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP` and 1577 * Added :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP`.
|
/external/python/cryptography/docs/development/ |
D | test-vectors.rst | 690 * HOTP from :rfc:`4226`
|