Olivier Chéron
|
bd84c75f3e
|
Use unsafe FFI calls
Changed Edwards primitives to unsafe when overhead of FFI call is
approximately 5% or more of total execution time.
|
2020-02-24 06:54:23 +01:00 |
|
Olivier Chéron
|
eccbc11824
|
Remove Crypto.Internal.Proxy
Data.Proxy can be used instead now that GHC >= 8.0. In Data.Proxy the
Proxy type is poly-kinded.
|
2019-02-28 07:07:48 +01:00 |
|
Crockett
|
0fb8a73d3b
|
Fixed compiler warnings
|
2019-02-03 16:06:05 -08:00 |
|
Vincent Hanquez
|
6346b8289c
|
Merge pull request #202 from ocheron/ed25519-arith-negate
Ed25519 arithmetic primitives
|
2017-12-17 18:12:50 +00:00 |
|
Olivier Chéron
|
3217038a1a
|
Add pointMulByCofactor and pointHasPrimeOrder
|
2017-12-17 11:56:33 +01:00 |
|
Olivier Chéron
|
b962952c30
|
Add introduction and warnings about possible pitfalls
|
2017-12-17 09:46:42 +01:00 |
|
Olivier Chéron
|
0820cd5c38
|
Simpler Edwards25519.scalarGenerate
|
2017-12-16 11:33:38 +01:00 |
|
Olivier Chéron
|
fbe1c213e2
|
Use throwCryptoError
|
2017-12-11 06:40:41 +01:00 |
|
Olivier Chéron
|
45723e3542
|
Rename to Edwards25519
|
2017-12-10 21:14:47 +01:00 |
|
Olivier Chéron
|
3aaa89d52e
|
Add missing NFData instances
|
2017-11-27 20:43:08 +01:00 |
|
Olivier Chéron
|
8567bacc2e
|
Add pointNegate to class EllipticCurveArith
|
2017-11-20 19:28:17 +01:00 |
|
Olivier Chéron
|
b8b59be5a5
|
Normalize result of ECC.pointNegate
|
2017-11-20 19:28:17 +01:00 |
|
Olivier Chéron
|
6b3bf37eea
|
Use only fixed-window implementation
|
2017-11-20 19:28:16 +01:00 |
|
Olivier Chéron
|
123e22ec08
|
Ed25519 scalar multiplication with 4-bit fixed window
|
2017-11-20 19:28:16 +01:00 |
|
Olivier Chéron
|
5778909761
|
Add Ed25519.pointsMulVarTime
|
2017-11-20 19:28:16 +01:00 |
|
Olivier Chéron
|
35f1d20b79
|
Ed25519 scalar add & multiply
|
2017-11-20 19:28:15 +01:00 |
|
Olivier Chéron
|
7d61abff03
|
Ed25519 point negation
|
2017-11-20 19:28:15 +01:00 |
|
Olivier Chéron
|
9ea718f55e
|
Arithmetic primitives over curve Ed25519
|
2017-11-20 19:28:15 +01:00 |
|
Chris Martin
|
f77994a729
|
Various documentation copy editing
|
2017-11-18 14:27:44 -05:00 |
|
Vincent Hanquez
|
07bfa10ad7
|
fix proxy
|
2016-12-02 21:07:13 +00:00 |
|
Vincent Hanquez
|
6e1d18f6c2
|
use the correct compat imports
|
2016-12-02 16:29:49 +00:00 |
|
Vincent Hanquez
|
a9b722b492
|
Add missing compatibility modules
|
2016-12-02 15:48:05 +00:00 |
|
Vincent Hanquez
|
052417e5b1
|
properly check for point validity before making a point
|
2016-12-02 15:28:03 +00:00 |
|
Vincent Hanquez
|
11e42a256d
|
add the binding to get the size by bytes
|
2016-12-02 14:59:46 +00:00 |
|
Vincent Hanquez
|
422c5fdb09
|
remove reference to the old api in the documentation
|
2016-12-02 11:36:48 +00:00 |
|
Vincent Hanquez
|
07b6e80b6d
|
Rewrite EC primitive and types to have the curve as type
|
2016-12-01 16:56:28 +00:00 |
|