Sarah Vaupel
|
f78fca2504
|
Merge branch 'master' into uni2work
|
2024-01-09 02:48:31 +01:00 |
|
Vincent Hanquez
|
d163f69512
|
Merge pull request #371 from Vlix/patch-1
Small refactor
|
2022-10-03 08:11:46 +08:00 |
|
Felix Paulusma
|
9401b4e3fd
|
Small refactor
The same parameter was matched on twice, so why not just do it once?
|
2022-10-03 01:01:30 +02:00 |
|
Vincent Hanquez
|
b96ec42d3e
|
Merge pull request #348 from robx/fix-segfault
Fix alignment in gfmul_generic (closes #334)
|
2022-05-02 12:31:16 +08:00 |
|
Vincent Hanquez
|
7dfaf914e6
|
release 0.30
|
2022-03-13 20:54:14 +08:00 |
|
Vincent Hanquez
|
aca61fa1b6
|
update stackage
|
2022-03-13 20:49:31 +08:00 |
|
Vincent Hanquez
|
20b194fc97
|
fix byteswap32 to work on Word32# instead of Word# (with compat for ghc < 9.2)
|
2022-03-13 20:49:11 +08:00 |
|
Vincent Hanquez
|
cca5d72bf1
|
Merge pull request #359 from iquerejeta/build-issue
Include prefix to missing functions
|
2022-02-23 10:10:20 +08:00 |
|
iquerejeta
|
495eca0bb5
|
include prefix to missing functions
|
2022-02-17 11:43:52 +00:00 |
|
Vincent Hanquez
|
309abe378d
|
missing symbols renaming
|
2021-10-28 20:27:17 +08:00 |
|
iquerejeta
|
f4f92b702c
|
recapitalised constant
|
2021-10-28 10:57:03 +02:00 |
|
iquerejeta
|
93f50b49b7
|
ref folder changes, and minor sse
|
2021-09-15 12:28:06 +01:00 |
|
iquerejeta
|
a8d1d401bc
|
linker complaints
|
2021-09-13 15:11:27 +01:00 |
|
Robert Vollmert
|
b3db979ca0
|
Fix alignment in gfmul_generic (closes #334)
This fixes a test-suite segfault on Darwin with -O0. Before this change:
$ cabal run -O0 test-cryptonite -- -p AE1
Segmentation fault: 11
with
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 test-cryptonite 0x0000000108f7f61f gfmul_generic + 47
1 test-cryptonite 0x0000000108f76f17 ghash_add + 71
2 test-cryptonite 0x0000000108f743b4 cryptonite_aesni_gcm_encrypt128 + 2244
3 test-cryptonite 0x0000000108f97f20 cryptonite_aes_gcm_encrypt + 96
4 test-cryptonite 0x0000000108eeadf5 Lc8Pq_info + 197
|
2021-09-10 17:50:05 +02:00 |
|
Gregor Kleen
|
71a630edaf
|
resumable hashing
|
2021-06-23 12:29:34 +02:00 |
|
Gregor Kleen
|
365c8978a2
|
build support
|
2021-06-23 12:29:12 +02:00 |
|
Vincent Hanquez
|
8698c9fd94
|
Merge pull request #221 from Porges/hmac-lazy
Add `hmacLazy` for lazy `ByteString`s
|
2021-06-03 08:01:10 +08:00 |
|
George Pollard
|
e9c9c770d3
|
Update HMAC.hs
|
2021-06-03 08:34:34 +12:00 |
|
George Pollard
|
9961606e5b
|
Merge branch 'master' into hmac-lazy
|
2021-06-03 08:33:55 +12:00 |
|
Vincent Hanquez
|
4b4a641970
|
cryptonite-0.29
|
2021-05-08 23:00:34 +08:00 |
|
Vincent Hanquez
|
a6fbe0ed4c
|
fix miscompilation with ghc9
|
2021-05-08 22:57:36 +08:00 |
|
Vincent Hanquez
|
b6981a4ea5
|
latest integer-gmp breaks advance GMP functions again (...)
|
2021-05-08 22:57:26 +08:00 |
|
Vincent Hanquez
|
cf89276b5c
|
Merge pull request #312 from ocheron/eddsa-gen
Generic EdDSA implementation
|
2021-04-14 23:17:34 +08:00 |
|
Vincent Hanquez
|
f449a54eb2
|
Merge pull request #345 from hamishmack/hkm/32bit-fix
Fix for 32 bit platforms
|
2021-04-14 23:08:10 +08:00 |
|
Hamish Mackenzie
|
95b247e5eb
|
Fix for 32 bit platforms
The use of `(fromIntegral (maxBound :: Word32))` causes problems. It is used to make an `Int` and 32 bit systems it winds up being -1.
|
2021-04-14 17:16:15 +12:00 |
|
Vincent Hanquez
|
955f94b784
|
release 0.28
|
2021-01-27 10:48:00 +08:00 |
|
Vincent Hanquez
|
d0ead79fed
|
Merge pull request #331 from chpatrick/hash-4gb
Hash data in 4GB chunks to avoid uint32_t overflow.
|
2020-08-08 09:24:47 +08:00 |
|
Patrick Chilton
|
b29dc159fb
|
Hash data in 4GB chunks to avoid uint32_t overflow.
|
2020-08-07 21:36:19 +02:00 |
|
Olivier Chéron
|
10dc63c51f
|
Merge pull request #328 from ocheron/aead-thunks
Avoid thunk leak with AEAD state
|
2020-07-20 19:06:59 +02:00 |
|
Olivier Chéron
|
18ae7a7b40
|
Remove redundant brackets
|
2020-07-19 15:45:49 +02:00 |
|
Olivier Chéron
|
fa19117dfe
|
Avoid thunk leak with AEAD state
|
2020-07-19 15:44:10 +02:00 |
|
Olivier Chéron
|
d49408156e
|
Warn about instances exposing internals
|
2020-07-05 09:20:29 +02:00 |
|
Olivier Chéron
|
81cc351800
|
Note about drgNewTest and endianness
|
2020-07-05 09:20:29 +02:00 |
|
Olivier Chéron
|
9eadf707c4
|
Merge pull request #325 from ocheron/hash-ct
Hashing independent from input length
|
2020-07-05 08:46:38 +02:00 |
|
Olivier Chéron
|
72544ea9aa
|
Removed extra semicolon
|
2020-07-02 19:35:06 +02:00 |
|
Olivier Chéron
|
63d427ee77
|
Add note about other package flags
|
2020-06-28 08:49:28 +02:00 |
|
Olivier Chéron
|
c8199872e7
|
Test HashAlgorithmPrefix API
|
2020-06-26 07:16:49 +02:00 |
|
Olivier Chéron
|
e67d8fb223
|
Generate HashAlgorithmPrefix instances
|
2020-06-26 07:16:41 +02:00 |
|
Olivier Chéron
|
caec601cd1
|
Add finalize_prefix functions
|
2020-06-26 07:16:30 +02:00 |
|
Olivier Chéron
|
ba3ab1f0cd
|
Add HashAlgorithmPrefix API
|
2020-06-26 07:16:18 +02:00 |
|
Vincent Hanquez
|
0254f16e83
|
release 0.27
|
2020-06-21 12:07:25 +08:00 |
|
Olivier Chéron
|
cf9631dd7f
|
Merge pull request #322 from incertia/square-root-f2m
implement square roots in f2m
|
2020-06-14 09:16:16 +02:00 |
|
Olivier Chéron
|
c123752de4
|
Use isNothing
|
2020-06-13 09:24:47 +02:00 |
|
Olivier Chéron
|
edbd9e09fb
|
Test properties of powF2m
|
2020-06-12 19:06:58 +02:00 |
|
Olivier Chéron
|
dfc9fb9fb2
|
Fix powF2m when exponent is not a power of 2
Integer multiplication cannot be used because it includes carry
propagation. This needs to use carry-less mulF2m instead.
|
2020-06-12 19:01:52 +02:00 |
|
Olivier Chéron
|
5f657fda2e
|
Remove powF2m'
We keep only the function providing the base service, negative
exponents can be still computed with invF2m.
|
2020-06-12 18:54:37 +02:00 |
|
Will Song
|
f64efafbad
|
update sqrtF2m
|
2020-06-08 10:16:42 -05:00 |
|
Will Song
|
17336857c5
|
implement square roots in f2m
|
2020-06-01 20:56:42 -05:00 |
|
Olivier Chéron
|
775855994c
|
Use notElem
|
2020-03-15 15:44:35 +01:00 |
|
Olivier Chéron
|
5d63ef7c4f
|
Merge pull request #316 from ocheron/target-attrs
AESNI and PCLMUL as per-function attributes
|
2020-03-15 15:43:27 +01:00 |
|