Home
last modified time | relevance | path

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

/external/python/cryptography/vectors/cryptography_vectors/twofactor/
Drfc-4226.txt1 # 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/
Dtest_hotp.py16 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/
Dtwofactor.rst21 .. 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/
Dtotp.py12 from cryptography.hazmat.primitives.twofactor.hotp import HOTP
34 self._hotp = HOTP(key, length, algorithm, backend, enforce_key_length)
Dhotp.py20 class HOTP(object): class
/external/python/cryptography/
DCHANGELOG.rst1104 :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP` and
1577 * Added :class:`~cryptography.hazmat.primitives.twofactor.hotp.HOTP`.
/external/python/cryptography/docs/development/
Dtest-vectors.rst690 * HOTP from :rfc:`4226`