Commit Graph

75 Commits

Author SHA1 Message Date
Vincent Hanquez
d035e3a3bc [number] properly handle gmp 2015-05-11 11:39:09 +01:00
Vincent Hanquez
761574a65f [internal] remove old cryptohash modules 2015-05-11 09:34:01 +01:00
Vincent Hanquez
ed8fbe8f69 [Number] add module to cleanup CPP around 2015-05-10 15:27:52 +01:00
Vincent Hanquez
357a296e38 [internal] compile tests with memory is its not built-in.
also move the flag to the end of the library
2015-05-10 07:01:12 +01:00
Vincent Hanquez
9ae9e38ce2 move to memory stuff 2015-05-09 14:23:32 +01:00
Vincent Hanquez
68e3a58be7 import memory as builtin 2015-05-09 14:23:10 +01:00
Vincent Hanquez
6ba517e945 [DES] remove DES.Serialization module 2015-05-06 07:52:49 +01:00
Vincent Hanquez
35ae906755 update version 2015-05-02 07:08:45 +01:00
Vincent Hanquez
e665c619a7 add pclmuldq flag 2015-05-02 06:46:08 +01:00
Vincent Hanquez
d99c430080 allow -rts flags in test suite 2015-05-01 07:36:05 +01:00
Vincent Hanquez
db7c3bbb4f [hash] massive overhaul of the hash interface
use the typeclass for the lowest IO impure C bindings definitions,
and define the pure interface as generic on top of this.

At the same time define an Hash.IO interface to allow mutable manipulations
of hash contextes when necessary.

Use HashAlgorithm instead of HashFunction in the [PubKey] sections

Tweak the HMAC, PBKDF2 functions to be more efficient and use the new interface
2015-04-30 06:18:07 +01:00
Vincent Hanquez
1c8d966d71 [Hash] remove unnecessary modules and not used template 2015-04-28 11:37:42 +01:00
Vincent Hanquez
e52a75af75 add P256 work in progress binding 2015-04-22 10:15:23 +01:00
Vincent Hanquez
e1e449d121 add google's mincrypt p256 2015-04-22 07:07:04 +01:00
Vincent Hanquez
3d46eaea9b add missing headers 2015-04-19 10:22:15 +01:00
Vincent Hanquez
0aaa6a9e9a [Ed25519] Add haskell bindings and tests 2015-04-19 09:24:37 +01:00
Vincent Hanquez
655d8b9c33 [Error] Add new public key error values 2015-04-19 09:24:21 +01:00
Vincent Hanquez
fd13a4f0e2 [Internal] add new hexadecimal dumper in the list of internal module 2015-04-19 09:23:09 +01:00
Vincent Hanquez
5c851e3d01 [ED25519] add ed25519-donna C files 2015-04-18 21:38:04 +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
7f64eae1f3 [Cryptonite] remove temporarily added vector package 2015-04-11 08:27:32 +01:00
Vincent Hanquez
6dcba8d8cd [Internal] properly handle big endian architecture
add a CompatPrim module to handle all the primitive compatibility needed,
instead of putting all in Compat.
2015-04-11 08:23:52 +01:00
Vincent Hanquez
3b966c0995 move boxes to their own private module 2015-04-10 10:42:10 +01:00
Vincent Hanquez
cf9090219e initial array abstraction 2015-04-10 08:29:49 +01:00
Vincent Hanquez
d96d89e4ba start cleaning up Camellia 2015-04-09 07:41:15 +01:00
Vincent Hanquez
ba80bccaf7 add missing tests and module 2015-04-08 22:41:06 +01:00
Vincent Hanquez
b74f7619e4 temporarily export byteArray stuff 2015-04-08 20:40:43 +01:00
Vincent Hanquez
279eebf2c6 fix stuff 2015-04-08 15:52:11 +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
3b19f768ce add crypto errors standard enumeration and some helper. 2015-04-07 10:56:38 +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
599024e581 add public key tests 2015-04-03 07:33:16 +01:00
Vincent Hanquez
b556bdb649 add missing modules 2015-04-03 07:33:16 +01:00
Vincent Hanquez
b1e222cf3d merge crypto-pubkey-types and crypto-pubkey
adapt CPRG to MonadRandom
2015-04-03 07:33:16 +01:00
Vincent Hanquez
abb470f8b7 add Crypto.Random abstraction interface 2015-04-03 07:28:07 +01:00
Vincent Hanquez
ac77a20c06 add simple ChaChaRNG 2015-04-03 07:27:44 +01:00
Vincent Hanquez
e409172a1c remove commas in list of exported modules 2015-04-03 07:25:48 +01:00
Vincent Hanquez
5f2aa94355 add AFIS 2015-03-30 15:08:11 +01:00
Vincent Hanquez
3b6c72e242 add bytearray into internal module 2015-03-29 09:09:10 +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
41361968f6 add bytes manipulation function 2015-02-15 00:13:51 +00:00
Vincent Hanquez
90d02607ba merge crypto-numbers minus all the random parts 2015-02-09 05:47:11 +00:00
Vincent Hanquez
6259788612 add missing file 2015-02-08 14:51:33 +00:00
Vincent Hanquez
289c488c58 fix READMe not being a source file 2015-02-08 14:43:15 +00:00
Vincent Hanquez
410373ec26 add missing modules 2015-02-08 14:17:59 +00:00
Vincent Hanquez
850d9605e9 update dependencies requirements 2015-02-08 13:17:32 +00:00
Vincent Hanquez
70e2321d95 update architectures of modules to separate IO and mutable parts from the immutable part 2015-02-08 12:03:00 +00:00
Vincent Hanquez
033b9ced81 add support for curve 25519 2015-01-27 06:25:41 +00:00