This repository has been archived by the owner on Jun 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
readme.txt
61 lines (45 loc) · 2.26 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
The Apache Milagro Cryptographic Library
Note that the AMCL currently comes in two versions, version 2.2
and version 3.2
---------------------------------------
AMCL v2.2 is presented in what might be called a pre-library state.
In the various supported languages the source code is made available,
but it is not organised into rigid packages/crates/jars/whatever
It is expected that the consumer will themselves take this final step,
depending on the exact requirements of their project.
Note that version 2.2 is no longer supported.
-----------------------------------
AMCL v3.2 incorporates many minor improvements
Python version
Web Assembly support
Improved side channel resistance
Faster Swift code
Better Rust build system
Improved modular inversion algorithm
General speed optimizations
Improved Javascript testbed
More curves supported
New BLS signature API
Post quantum New Hope Implementation
-----------------------------------
AMCL v3.1 uses a standard Python 3 script to build libraries in all
supported languages. New users should use this version.
The main improvement is that AMCL v3 can optionally simultaneously support
multiple elliptic curves and RSA key sizes within a single appliction.
Note that AMCL is largely configured at compile time. In version 3 this
configuration is handled by the Python script.
AMCL is available in 32-bit and 64-bit versions in most languages. Limited
support for 16-bit processors is provided by the C version.
Now languages like to remain "standard" irrespective of the underlying
hardware. However when it comes to optimal performance, it is impossible
to remain architecture-agnostic. If a processor supports 64-bit
instructions that operate on 64-bit registers, it will be a waste not to
use them. Therefore the 64-bit language versions should always be used
on 64-bit processors.
Version 3.1 is a major "under the hood" upgrade. Field arithmetic is
performed using ideas from http://eprint.iacr.org/2017/437 to ensure
that critical calculations are performed in constant time. This strongly
mitigates against side-channel attacks. Exception-free formulae are
now used for Weierstrass elliptic curves. A new standardised script
builds for the same set of curves across all languages.
---------------------------------------------