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 |
|
Vincent Hanquez
|
65780e38cb
|
remove unnecessary cast in DES
|
2015-04-08 20:41:06 +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
|
72354397e8
|
merge all crypto ciphers available. add temporarily a vector dependency
|
2015-04-08 11:53:41 +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 |
|
Vincent Hanquez
|
e74448aeb4
|
cryptonitize AES, and add foreign function interfaces to it (not exported).
|
2015-04-05 10:44:23 +01:00 |
|
Vincent Hanquez
|
c5c04176de
|
remove unnecessary separator
|
2015-04-05 07:47:27 +01:00 |
|
Vincent Hanquez
|
57aa7ce098
|
use more Internal.Compat to get UnsafeDoIO
|
2015-04-05 07:46:18 +01:00 |
|
Vincent Hanquez
|
b570388917
|
add simple chacha interface
|
2015-04-03 07:27:19 +01:00 |
|
Vincent Hanquez
|
95160dee56
|
update modules to use more efficient byte array memory allocation and representation for contextes
|
2015-03-08 15:18:28 +08:00 |
|
Vincent Hanquez
|
effca93970
|
align dollar sign
|
2015-02-15 00:14:07 +00:00 |
|
Vincent Hanquez
|
9c9007c3b0
|
use securemem abstraction and byteable helpers in RC4
|
2014-07-21 11:17:42 +01:00 |
|
Vincent Hanquez
|
f2bfecfa3e
|
add RC4
|
2014-07-21 10:58:42 +01:00 |
|
Vincent Hanquez
|
16eb6fa387
|
Add Salsa20 cipher. most is copied from the ChaCha implementation
|
2014-07-07 08:04:57 +01:00 |
|
Vincent Hanquez
|
fb85f8639f
|
initial commit.
|
2014-07-04 14:58:01 +01:00 |
|