Mamy André-Ratsimbazafy
|
bd2b10817e
|
Add curve configuration + BN254 config (zkSnarks, ZCash, Ethereum 1 precompile)
|
2020-02-08 14:55:49 +01:00 |
|
Mamy André-Ratsimbazafy
|
f18a958d5e
|
Support 1.0+ int128 (can't use magic for bitnot)
|
2020-02-08 13:28:43 +01:00 |
|
Mamy André-Ratsimbazafy
|
8229bf384b
|
Remove specialization for static big int. They will be stored in the binary bss section and passed as ptr + length to save on codesize anyway.
|
2020-02-08 11:51:17 +01:00 |
|
Mamy André-Ratsimbazafy
|
5dc97927c5
|
Switch to personal project -> update copyright
|
2020-02-08 11:42:35 +01:00 |
|
Mamy André-Ratsimbazafy
|
c4b3d49e69
|
Allow constant time booleans init from constant time uints
|
2019-04-29 23:17:56 +02:00 |
|
Mamy André-Ratsimbazafy
|
cadd81b978
|
Add hex conversion
|
2019-04-28 17:42:30 +02:00 |
|
Mamy André-Ratsimbazafy
|
007c5e3071
|
Fix booleans initialization
|
2019-04-28 14:12:46 +02:00 |
|
Mamy André-Ratsimbazafy
|
08e12df4ed
|
internal proc renaming
|
2019-04-28 14:05:13 +02:00 |
|
mratsim
|
411e40b843
|
use CtTrueCtFalse instead of True/False for alias of the constant time bool
|
2018-12-03 21:10:36 +01:00 |
|
mratsim
|
059439b2c3
|
fix little-endian parsing
|
2018-12-03 21:01:29 +01:00 |
|
mratsim
|
2856378427
|
[IO] dumping 2^63 works
|
2018-12-03 19:56:14 +01:00 |
|
mratsim
|
df72a0896b
|
initial implementation of bigInt dump
|
2018-12-02 22:18:17 +01:00 |
|
mratsim
|
43ac4972a0
|
Add constant-time raw bytes/integers parsing
|
2018-12-02 20:57:32 +01:00 |
|
mratsim
|
b496f57c68
|
Replace HighLimb by MaxWord as well
|
2018-12-02 19:32:52 +01:00 |
|
mratsim
|
9b1dc4ca30
|
Replace Limb terminology by Word
|
2018-12-02 19:30:17 +01:00 |
|
mratsim
|
27e2d2d2bc
|
Implement to Montgomery domain conversion
|
2018-12-02 19:28:42 +01:00 |
|
mratsim
|
22d8bc218d
|
Implement scale accumulate
|
2018-12-02 19:08:21 +01:00 |
|
mratsim
|
c226987ab0
|
Add extended precision multiplication
|
2018-12-02 18:14:32 +01:00 |
|
mratsim
|
057ce0cbf9
|
Implement fused multiply add modular multiplication for single limb "bigint". TODO fallback from assembly.
|
2018-12-02 16:32:38 +01:00 |
|
mratsim
|
408bc9b6f3
|
Introduce convention, all for loop should have an explicit static range
|
2018-12-02 13:01:54 +01:00 |
|
mratsim
|
71e5b576c4
|
Fix mod inverse 2^k nb of iterations
|
2018-12-02 12:59:46 +01:00 |
|
mratsim
|
67d038c650
|
Implement modular inverse mod 2^k for Montgomery multiplication
|
2018-12-02 03:45:13 +01:00 |
|
mratsim
|
befbf30319
|
Add modular addition over Fp
|
2018-12-02 00:35:55 +01:00 |
|
mratsim
|
463b8a4fcb
|
use add instead of madd even though it mutates
|
2018-12-01 23:28:35 +01:00 |
|
mratsim
|
d09116d0a9
|
Add big int in-place addition and substraction
|
2018-12-01 23:26:03 +01:00 |
|
mratsim
|
eb15fb33b5
|
Rebrand to Constantine. Bigints representation should stay opaque. Exporting just the word_types would make a super small library.
|
2018-12-01 20:12:05 +01:00 |
|