Commit Graph

31 Commits

Author SHA1 Message Date
Baojun Wang
55bf620365 add aes ccm support 2018-02-03 09:31:36 +01:00
Chris Martin
f77994a729 Various documentation copy editing 2017-11-18 14:27:44 -05:00
Olivier Chéron
edd5d94bd4 Make ivAdd more constant-time
All IV bytes are processed even if accumulator is zero.
2017-05-31 23:31:29 +02:00
Olivier Chéron
07592ab237 Fix ivAdd overflow behaviour 2017-05-26 09:59:54 +02:00
Luke Taylor
4e1437d4fd Minor haddock fixes
Fix some incorrect parameter descriptions and spelling/typos.
2015-06-07 13:26:26 +02:00
Vincent Hanquez
ff736b47ca [cipher] use mconcat that force input to be the same as output 2015-05-21 11:06:41 +01:00
Vincent Hanquez
92343f856a add comments and description 2015-05-20 06:07:31 +01:00
Vincent Hanquez
987f9e7bb6 [internal] update to latest memory, and remove builtin support as memory is now available 2015-05-18 18:33:14 +01:00
Vincent Hanquez
e89031c6d6 make AuthTag be a Bytes instead of ByteString 2015-05-06 11:39:07 +01:00
Vincent Hanquez
b4d1a278b3 [QA] remove unnecessary module, and allow on more module to use CPP 2015-05-03 08:43:32 +01:00
Vincent Hanquez
771007ad93 [cipher] Get rid of bytestring in Stream class. 2015-05-02 14:49:49 +01:00
Vincent Hanquez
9dd17fc0c4 use byte array in more places 2015-04-24 17:22:13 +01:00
Vincent Hanquez
ec4e0c4ed9 remove all the byteArray prefix from byteArray function.
instead expect module import to be qualified for functions.
2015-04-24 06:54:33 +01:00
Vincent Hanquez
26006dfe25 [cleanup] remove useless import now that bytearray is exporting necessary bits 2015-04-22 06:25:01 +01:00
Vincent Hanquez
0e9d52de95 [Cipher] remove the need for bytestring in Block 2015-04-18 06:58:57 +01:00
Vincent Hanquez
08732c0939 [AEAD] change interface to be less classy (!) 2015-04-18 06:57:18 +01:00
Vincent Hanquez
f686733fc6 [Blowfish] Stop using ecb{Encrypt,Decrypt}Legacy stop gap call. 2015-04-18 06:55:17 +01:00
Vincent Hanquez
d7186b9a59 wip AES merging 2015-04-13 10:15:55 +01:00
Vincent Hanquez
224b34eb2c [cipher] re-enable XTS code 2015-04-12 08:05:52 +01:00
Vincent Hanquez
d6f2f7c1c0 [Cipher] make xtsGFMul work on arbitrary ByteArray 2015-04-12 06:50:54 +01:00
Vincent Hanquez
842d3fd44a fix some warnings 2015-04-08 22:30:01 +01:00
Vincent Hanquez
9d0cf74713 remove Byteable and unnecessary SecureMem 2015-04-08 20:42:43 +01:00
Vincent Hanquez
21c4c1befb add an instance of Eq for IV 2015-04-08 20:41:34 +01:00
Vincent Hanquez
28e64ec8d3 remove Byteable in one module 2015-04-08 20:41:19 +01:00
Vincent Hanquez
279eebf2c6 fix stuff 2015-04-08 15:52:11 +01:00
Vincent Hanquez
39ee0a4aa2 refactor some stuff 2015-04-08 14:58:49 +01:00
Vincent Hanquez
ca125f3e66 wip 2015-04-08 14:12:58 +01:00
Vincent Hanquez
3a940a6e2c remove commented code 2015-04-08 08:17:45 +01:00
Vincent Hanquez
78d75b2ca2 re-add ivAdd 2015-04-08 08:08:56 +01:00
Vincent Hanquez
6216137f43 wip in cipher refactoring 2015-04-07 10:56:59 +01:00
Vincent Hanquez
6c4557621c merge crypto-cipher-types 2015-04-06 14:54:46 +01:00