1
0
Fork 0
forked from lthn/blockchain
Commit graph

90 commits

Author SHA1 Message Date
sowle
6ca3acd0d5
zarcanum outputs generation + range proofs (work in progress) 2022-07-06 03:01:53 +02:00
sowle
03f949b669
crypto_assert re-implemented using exceptions 2022-07-06 02:59:07 +02:00
sowle
a23eaac730
crypto_ops: derivation_to_scalar made public 2022-06-28 22:15:18 +02:00
sowle
9d1ab22010
crypto: hs_t and hs(...) made compatible with char[32] 2022-06-28 22:14:39 +02:00
sowle
d904323f88
crypto: made point_t throwing exceptions in bad cases 2022-06-28 22:13:34 +02:00
sowle
389118e785
zarcanum sig WIP 2022-06-27 23:09:25 +02:00
sowle
2ae226e594
crypto: attempt to fix a warning about dereferencing type-punned pointer 2022-05-12 21:41:09 +02:00
sowle
607d634078
crypto: warnings fix 2022-05-11 23:43:34 +02:00
sowle
b7f30382e1
more minor fixes 2022-05-11 21:11:33 +02:00
sowle
7df157520d
minor fixes (epee namespace, warnings) 2022-05-11 21:02:06 +02:00
sowle
aa90e50f42
fix for Argument-Dependent Lookup issue with parse_tpod_from_hex_string() 2022-05-10 20:42:54 +02:00
sowle
78372d1bde
crypto: BPP and BPPE: minor improvements 2022-04-19 23:41:59 +02:00
sowle
0fd6406158
crypto: BPP & BPPE: get_2_to_the_power_of_N_minus_1() 2022-04-18 18:12:15 +02:00
sowle
b0e8e6c2eb
crypto: scalar_t: get_bit, set_bit, clear_bit, power_of_2 implemented; crypto_sc_set_bit_clear_bit test added 2022-04-15 21:29:08 +02:00
sowle
218c6a38cb
crypto: Bulletproofs+ with double-blinded commitments extension implemented (nicknamed as bppe), basic tests added 2022-04-11 20:43:43 +02:00
sowle
10141c3dfc
crypto: range proofs major refactoring, crypto traits refactored, calc_exp_power_of_2_upper_bound changed to constexpr analogs 2022-04-10 19:50:13 +02:00
sowle
319d53f7cf
crypto: H2 introduced, functional tests main's clean-up 2022-04-10 19:45:45 +02:00
sowle
b9ccb10287
crypto: scalar_t::git_bit + test crypto_sc_get_bit; hash_helper_t extended with hp variants 2022-04-09 21:12:44 +02:00
sowle
140f43bc5e
crypto tests: point_is_zero test added 2021-12-31 06:44:26 +03:00
sowle
286385cc83
crypto sugar: point_t::is_zero fixed, operator!= added 2021-12-27 07:10:21 +03:00
sowle
f2e58daa8c
crypto: ge_cached_to_p2 implemented 2021-12-27 07:09:02 +03:00
sowle
d591db9a91
crypto: point_t::is_in_main_subgroup() added 2021-06-22 18:00:30 +03:00
sowle
ca10d2de17
Bulletproofs+: gcc compilation fix + minor improvements 2021-06-08 18:07:53 +03:00
sowle
57bc1278f4
Bulletproofs+: the first working version 2021-06-05 03:47:27 +03:00
sowle
2fdeefb545
crypto: scalar_vec_t, scalar_mat_t 2021-06-05 03:36:58 +03:00
sowle
5b1fa3d5e8
crypto: scalar_t::assign_mul 2021-06-05 02:18:45 +03:00
sowle
e24be09046
crypto: faster sc_invert from libsodium (my old naive one moved to the crypto_tests) 2021-05-11 06:42:06 +03:00
sowle
182a0c59bb
crypto sugar: scalar_t::reduce(), hs_t::assign_calc_hash() 2021-05-11 04:32:03 +03:00
sowle
c8ba0418ef
crypto sugar minor improvements 2021-05-05 06:38:07 +03:00
sowle
09ad4f5900
crypto-sugar made less dependent of epee 2021-04-27 05:52:55 +03:00
sowle
191a89f9c8
crypto: parse_tpod_from_hex_string 2021-04-27 05:18:09 +03:00
sowle
1df36cb841
crypto: fix some warnings 2021-04-27 05:14:11 +03:00
cryptozoidberg
54bf59ceab
Merge branch 'develop' into atomics 2021-04-26 13:12:53 -05:00
sowle
730328e87a
crypto: point_t ctor minor fix 2021-04-24 05:18:14 +03:00
sowle
ebffb92877
crypto: crypto-sugar (scalar_t, point_t and other helpers) moved from functional_tests/crypto_tests to crypto 2021-04-24 04:48:38 +03:00
sowle
4ce59c023b
crypto: fe_cmp implemented 2021-04-24 04:45:30 +03:00
sowle
7fb643d894
crypto: cn_fast_hash is a bit more faster now 2021-04-22 01:34:51 +03:00
sowle
fc82f572c2
crypto: gcc fixup 2021-04-11 00:18:42 +03:00
sowle
457b84fd7b
crypto: ge_bytes_hash_to_ec_32 2021-04-10 23:43:54 +03:00
sowle
670bacbf3f
crypto: ge_mul8_p3 and sc_muladd implemented 2021-04-10 23:41:38 +03:00
cryptozoidberg
c6572a213a
fixed gcc compilation issue with RIPEMD-160 2021-03-13 16:23:34 +03:00
sowle
4bf6a5e2d1
compilation fixes 2021-03-11 06:48:43 +03:00
sowle
e73fdea5e5
crypto: ge_double_scalarmult_base_vartime_p3, ge_scalarmult_vartime_p3, ge_scalarmult_vartime_p3_v2 added 2021-03-02 00:33:28 +03:00
sowle
140a300421
crypto: ge_p2_to_p3 made public 2021-02-12 23:20:10 +03:00
cryptozoidberg
a7363cfcd3
Merge branch 'develop' into atomics 2021-02-03 18:38:45 +01:00
cryptozoidberg
a31670f225
in the middle of prepare_tx_sources_htlc 2021-02-02 19:02:28 +01:00
sowle
8a03f8e4b3
gcc compilation fixed 2021-01-28 14:53:04 +03:00
sowle
5843f6964c
crypto: fe_isnonzero made public, point_t::is_zero() added 2021-01-26 23:14:46 +03:00
cryptozoidberg
16f37ed4c2
merge from develop 2021-01-18 22:00:36 +01:00
sowle
8063604b37
crypto-ops: ge_p2_to_p3 implemented 2021-01-14 23:45:47 +03:00