cryptonite/tests
Luke Taylor 0be97fc5ca Add hash parameter to hotp function
While HOTP only mentions SHA1, TOTP allows the use of different hash
functions, which implicitly requires that the HOTP implementation support
them too.

This will also allow users to use HOTP with another hash if they so choose,
though it would not be compatible with most client applications, such as
Google authenticator.
2016-01-04 19:04:38 +00:00
..
KAT_AES [tests] expands tabs, and remove redundant binding 2015-08-30 07:49:30 +01:00
KAT_PubKey [tests] expands tabs, and remove redundant binding 2015-08-30 07:49:30 +01:00
BCrypt.hs [tests] remove duplicated symbol in BCrypt 2015-11-19 14:23:45 +00:00
BlockCipher.hs Minor haddock fixes 2015-06-07 13:26:26 +02:00
ChaCha.hs [ChaCha] opaquify the state to be handled directly in the C level just like the hash function 2015-05-22 14:04:27 +01:00
ChaChaPoly1305.hs Fix endianness of incrementNonce function for ChaChaPoly1305 2015-11-16 12:59:01 -05:00
Hash.hs [blake2] uncapitalize the modules and types as it's not abbreviation. 2015-11-19 14:24:54 +00:00
Imports.hs fix warnings 2015-04-05 12:19:26 +01:00
KAT_AES.hs [AES] add KAT and properties tests for AES128,192,256 2015-04-18 07:33:34 +01:00
KAT_AFIS.hs [tests] more refactoring 2015-05-12 14:36:20 +01:00
KAT_Blowfish.hs fix some warnings 2015-04-08 22:30:01 +01:00
KAT_Camellia.hs remove tabs 2015-04-08 22:44:28 +01:00
KAT_Curve25519.hs [Curve25519] use the Crypto.Error api instead of an Either type for parsing types 2015-11-02 11:17:19 +00:00
KAT_DES.hs fix DES tests 2015-04-08 20:43:31 +01:00
KAT_Ed25519.hs [Ed25519] Add haskell bindings and tests 2015-04-19 09:24:37 +01:00
KAT_HMAC.hs Fix typo: Kekkak -> Keccak 2015-10-27 14:56:42 +00:00
KAT_OTP.hs Add hash parameter to hotp function 2016-01-04 19:04:38 +00:00
KAT_PBKDF2.hs [KDF] move PBKDF2 and Scrypt to not be pinned to ByteString 2015-05-22 15:19:42 +01:00
KAT_PubKey.hs [tests] add first P256 test 2015-05-30 10:38:39 +01:00
KAT_RC4.hs add RC4 2014-07-21 10:58:42 +01:00
KAT_Scrypt.hs [KDF] move PBKDF2 and Scrypt to not be pinned to ByteString 2015-05-22 15:19:42 +01:00
KAT_TripleDES.hs add missing KAT file 2015-04-09 19:59:53 +01:00
Number.hs [tests] fix last number test problem 2015-08-27 15:42:08 +01:00
Padding.hs [Padding] add PKCS5/PKCS7 padding/unpadding methods 2015-08-18 12:03:05 +01:00
Poly1305.hs [Poly1305] make initialize explicitely failable 2015-07-29 09:49:49 +01:00
Salsa.hs [Salsa] opaquify the state just like for hash functions 2015-05-22 14:04:54 +01:00
Tests.hs One-time password (OTP) implementation 2015-12-20 23:04:14 +00:00
Utils.hs [tests] make sure we don't use 0 for number parameters 2015-08-27 15:03:07 +01:00