Vincent Hanquez
|
9ae9e38ce2
|
move to memory stuff
|
2015-05-09 14:23:32 +01:00 |
|
Vincent Hanquez
|
e89031c6d6
|
make AuthTag be a Bytes instead of ByteString
|
2015-05-06 11:39:07 +01:00 |
|
Vincent Hanquez
|
6ba517e945
|
[DES] remove DES.Serialization module
|
2015-05-06 07:52:49 +01:00 |
|
Vincent Hanquez
|
f09bbf55e3
|
[Chacha/Salsa] cleanup nonce handling and use bufXor
|
2015-05-03 14:58:59 +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
|
b497737ef1
|
[Salsa] use more ByteArray operations instead of bytestring.
|
2015-04-30 06:07:25 +01:00 |
|
Vincent Hanquez
|
4e12aceee9
|
remove extra bytestring.
|
2015-04-24 17:22:25 +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
|
61ee498643
|
remove further deprecated modules and such
|
2015-04-20 10:56:39 +01:00 |
|
Vincent Hanquez
|
b487aef898
|
cleanup module imports
|
2015-04-20 07:36:51 +01:00 |
|
Vincent Hanquez
|
f86b493e32
|
remove warnings
|
2015-04-20 06:02:12 +01:00 |
|
Vincent Hanquez
|
b28b25abe7
|
[AES] add gcm / ocb support to base AES type
|
2015-04-18 07:58:52 +01:00 |
|
Vincent Hanquez
|
0e9d52de95
|
[Cipher] remove the need for bytestring in Block
|
2015-04-18 06:58:57 +01:00 |
|
Vincent Hanquez
|
d230fc662a
|
[AES] properly define AES128/192/256 variants.
|
2015-04-18 06:58:41 +01:00 |
|
Vincent Hanquez
|
7c138b9d9f
|
[AES] export AEAD modes (GCM/OCB)
|
2015-04-18 06:58:10 +01:00 |
|
Vincent Hanquez
|
8cc58e626b
|
[AEAD] remove AEADState wrapper
|
2015-04-18 06:57:40 +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
|
dc1215dbd7
|
[AES] repair genCounter
|
2015-04-15 11:25:44 +01:00 |
|
Vincent Hanquez
|
3adfa4ab2a
|
rename module properly
|
2015-04-15 11:24:02 +01:00 |
|
Vincent Hanquez
|
c9a70b649f
|
[AES] properly split lowlevel from highlevel
|
2015-04-13 10:31:46 +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
|
796bbef3c2
|
[DES] remove unnecessary imports
|
2015-04-11 16:03:42 +01:00 |
|
Vincent Hanquez
|
26fdfcf563
|
[Blowfish] use the key directly without stretching it all over the memory
|
2015-04-11 16:02:45 +01:00 |
|
Vincent Hanquez
|
b76a2c135a
|
[DES] fix compat that don't have an instance of Bits for Bool
|
2015-04-11 08:45:04 +01:00 |
|
Vincent Hanquez
|
d1554b36a6
|
[Blowfish] remove use of vectors operation in favor of mutableArray and array
|
2015-04-11 08:03:33 +01:00 |
|
Vincent Hanquez
|
c075ae354d
|
[Blowfish] Remove unnecessary imports
|
2015-04-11 07:20:17 +01:00 |
|
Vincent Hanquez
|
a2fb62ffd8
|
[Blowfish] put all the boxes together so we don't need to concat them
also create the vector in one place when mixing with the key
|
2015-04-11 07:18:40 +01:00 |
|
Vincent Hanquez
|
b191ef461c
|
rewrite blowfish core to mostly generate its key schedule in one allocation.
|
2015-04-11 07:00:21 +01:00 |
|
Vincent Hanquez
|
b6f70d5314
|
massively rewrite the core to be more optimised
|
2015-04-10 14:03:28 +01:00 |
|
Vincent Hanquez
|
a1c21f130c
|
move core to map over Word64 view of a byte array directly.
this bring a massive speedup and adapt the core blowfish encryption and
decryption to work on any bytearray without creating a bytestring.
|
2015-04-10 10:43:14 +01:00 |
|
Vincent Hanquez
|
3b966c0995
|
move boxes to their own private module
|
2015-04-10 10:42:10 +01:00 |
|
Vincent Hanquez
|
bb331f94f8
|
remove vector from camellia
|
2015-04-10 09:26:37 +01:00 |
|
Vincent Hanquez
|
f470196f41
|
replace Vector creation by an already packed Addr#
|
2015-04-10 08:43:42 +01:00 |
|
Vincent Hanquez
|
fe2f6c33d6
|
add packed representation of some of the list.
|
2015-04-10 07:39:56 +01:00 |
|
Vincent Hanquez
|
02533b43a7
|
simplify boolean operation
|
2015-04-10 07:23:31 +01:00 |
|
Vincent Hanquez
|
bc306afc1b
|
[DES] fix serialization
|
2015-04-09 17:22:57 +01:00 |
|
Vincent Hanquez
|
7a85896359
|
[Camellia] More refactoring
|
2015-04-09 16:52:21 +01:00 |
|
Vincent Hanquez
|
c00d7b9eca
|
[Camellia] cleanup words handling
|
2015-04-09 07:59:08 +01:00 |
|
Vincent Hanquez
|
67c76c126b
|
[Camellia] remove the need to go through a ByteString to make the key schedule
|
2015-04-09 07:45:13 +01:00 |
|
Vincent Hanquez
|
d96d89e4ba
|
start cleaning up Camellia
|
2015-04-09 07:41:15 +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 |
|