Commit Graph

476 Commits

Author SHA1 Message Date
Vincent Hanquez
8f01f2ea64 Merge pull request #20 from rblaze/devrandom
Use non-blocking IO with /dev/random.
2015-07-03 13:07:13 +02:00
Vincent Hanquez
688fd5118c add some known issue on OSX 10.7 as part of the README 2015-07-03 11:39:43 +02:00
Andrey Sverdlichenko
4581a737d7 Use non-blocking IO with /dev/random.
Do not wait for data to appear from /dev/random, otherwise server is blocked
for a few seconds if there is no entropy left.
2015-06-29 07:32:42 +00:00
Vincent Hanquez
75b362a2a0 add Random benchmarks 2015-06-22 14:11:48 +01:00
Vincent Hanquez
db3e180a41 [Random] add a flag to be able to disable rdrand 2015-06-22 14:05:29 +01:00
Vincent Hanquez
56839fcd82 bump version to 0.5 2015-06-21 15:19:42 +01:00
Vincent Hanquez
5cf989e7b6 [tidy-exports] update CHANGELOG 2015-06-21 15:18:40 +01:00
Vincent Hanquez
69d8dd1a08 [tidy-exports] properly prefix aesni stuff 2015-06-21 15:16:05 +01:00
Vincent Hanquez
e6d3518c2e [tidy-exports] properly prefix gf_mul(x) 2015-06-21 15:11:02 +01:00
Vincent Hanquez
03074526d6 [tidy-exports] properly prefix initialize_hw with cryptonite_aesni_ 2015-06-21 15:06:27 +01:00
Vincent Hanquez
5812bce10f [tidy-exports] mark gmtab as static 2015-06-21 15:05:46 +01:00
Vincent Hanquez
9877f77bdf bump version to 0.4 2015-06-20 16:22:44 +01:00
Vincent Hanquez
532c31a459 update CHANGELOG 2015-06-20 15:52:43 +01:00
Vincent Hanquez
b37ee01636 [random] add a System "DRG" 2015-06-20 15:51:42 +01:00
Vincent Hanquez
0ff53203d0 bump version to 0.3 2015-06-19 11:15:11 +01:00
Vincent Hanquez
b859083d19 [ed25519] add missing 32 bits files 2015-06-19 11:14:06 +01:00
Vincent Hanquez
e79814cd1d revert merging of version upgrade 2015-06-19 11:07:27 +01:00
Vincent Hanquez
b111932559 update CHANGELOG 2015-06-19 11:06:48 +01:00
Vincent Hanquez
25526e24a1 Merge branch 'hashdescr' 2015-06-19 11:06:11 +01:00
Vincent Hanquez
0b6b2d661c [Random] allow drgNew to be run in any MonadRandom directly.
this allow cascading, create a DRG from another DRG
2015-06-19 11:05:54 +01:00
Vincent Hanquez
0d2290a4a1 [RSA] allow data to be passed as is, instead of hashed 2015-06-19 11:04:37 +01:00
Vincent Hanquez
39cf449ba7 add some missing instance of HashAlgorithmASN1 2015-06-19 11:04:17 +01:00
Vincent Hanquez
8bc92dcd8c [README] remove space 2015-06-15 21:51:07 +01:00
Vincent Hanquez
0dedd22a4c Merge pull request #14 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2015-06-15 20:29:31 +01:00
The Gitter Badger
698e56ee5d Added Gitter badge 2015-06-15 08:12:39 +00:00
Vincent Hanquez
268f059470 Merge pull request #12 from ibotty/master
copy withRandomBytes from crypto-random
2015-06-14 19:39:52 +01:00
Tobias Florek
ff36164305 copy withRandomBytes from crypto-random 2015-06-12 20:52:15 +02:00
Vincent Hanquez
9a0ab88b3d update CHANGELOG 2015-06-10 12:29:18 +01:00
Vincent Hanquez
a9df2a2180 [RSA] remove hashdescr in favor of just specifying the algorithm directly
The extra information is embedded in the HashAlgorithmASN1 class
that allow a digest to ASN1 structured.
2015-06-10 12:27:37 +01:00
Vincent Hanquez
9cc4ffdd04 update CHANGELOG 2015-06-09 15:44:12 +01:00
Vincent Hanquez
0900f3b1b0 Merge pull request #9 from tekul/aescleanup
Remove unused AES primitives functions and exports
2015-06-09 15:17:51 +01:00
Vincent Hanquez
79f6cb77d8 update CHANGELOG 2015-06-09 14:40:46 +01:00
Vincent Hanquez
fb4006b41a Merge branch 'master' of https://github.com/vincenthz/cryptonite 2015-06-09 14:39:33 +01:00
Vincent Hanquez
040efcb42b update CHANGELOG 2015-06-09 14:39:20 +01:00
Vincent Hanquez
35bad8c241 [hash] properly display Digest just like cryptohash.
fix #8
2015-06-09 14:35:23 +01:00
Luke Taylor
875b80107c Remove unused AES primitives functions and exports
The code for initializing different AEAD modes is now encapsulated in
the BlockCipher type and the individual mode encryption and decryption
functions have been replaced by generalized versions, so are no longer
used.
2015-06-09 11:45:39 +02:00
Vincent Hanquez
c3834e79cd Merge pull request #7 from tekul/commentfixes
Minor haddock fixes
2015-06-09 06:39:09 +01: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
8cc91a7bfe Merge pull request #5 from vincenthz/travis-update
Travis update to use container based infrastructure
2015-06-04 06:34:17 +01:00
Vincent Hanquez
d8b72f5f86 remove multilines 2015-06-03 11:24:00 +01:00
Vincent Hanquez
c02012552c [travis] fixing some missing compilers/cabal versions 2015-06-02 17:11:17 +01:00
Vincent Hanquez
549fb0fb92 [travis] try to use containers base infrastructure 2015-06-02 14:56:42 +01:00
Vincent Hanquez
bdb9606bfb update CHANGELOG 2015-06-02 14:29:33 +01:00
Vincent Hanquez
7301c719bf [P256] use ScrubbedBytes for Scalar 2015-06-02 14:22:48 +01:00
Vincent Hanquez
be75de64e1 [aes] fast track length == 0 with ECB encryption/decryption 2015-06-02 14:22:26 +01:00
Vincent Hanquez
c7068873c5 bump version to 0.2 2015-06-01 14:35:55 +01:00
Vincent Hanquez
6cf72ac2de [random] add missing header 2015-06-01 14:02:47 +01:00
Vincent Hanquez
f37618d00f [random] add sysrand base. WIP 2015-06-01 13:37:32 +01:00
Vincent Hanquez
8e5a23e86f update README 2015-06-01 13:25:35 +01:00
Vincent Hanquez
59bc2a9528 [tests] remove unnecessary binding in P256 2015-06-01 13:03:38 +01:00