Commit graph

157 commits

Author SHA1 Message Date
sowle
ab226469a9
more compilation fixes 2024-02-09 15:22:43 +01:00
sowle
27bb395542
Merge branch 'add_block_performance_mes' into decoy_selection 2024-01-28 16:01:02 +01:00
sowle
92f09f424f
crypto: CLSAG: auxiliary key images added to the input hash + code cleanup + minor improvements + tests 2024-01-28 15:44:56 +01:00
sowle
723a89c840
functional tests: gcc compilation fixed 2023-12-27 13:50:12 +01:00
sowle
344cb15fb5
attempt to fix gcc compilation 2023-12-27 02:16:54 +01:00
sowle
e239389768
crypto: fixed generators with precomputed data improved (data made static) + more tests 2023-12-27 02:04:59 +01:00
sowle
4200669f5b
crypto: experimental optimizations: ge_scalarmult_base_vartime, ge_scalarmult_vartime_p3, ge_scalarmult_precomp_vartime (point_pc_t) + performance tests for msm pippenger v3-v4 2023-12-25 23:48:14 +01:00
sowle
f95791a723
crypto: much faster pippenger/bucket-style multi-scalar multiplication for range proofs + tests 2023-12-25 19:14:31 +01:00
sowle
77d6f94280
crypto: scalar_t::get_bits + test + performance test + cn_hash performance test 2023-12-25 18:10:14 +01:00
sowle
30299724fd
crypto::point_t::is_zero() now treats non-points (0, 0, 0, ?) or incorrectly encoded points (0, x, x, !0) as not an identity and thus returns false + test 2023-12-04 22:33:38 +01:00
cryptozoidberg
ebb8f7b6ff
wallet sync state moved to separate base structure 2023-10-31 18:29:57 +01:00
sowle
8fdd15f584
crypto: implemented point_t::operator-() + test 2023-08-23 19:32:28 +02:00
cryptozoidberg
d7dea2ad14
added cross-coversion for JSON parser string->uint64_t 2023-07-13 15:49:30 +02:00
sowle
abe696b2f4
functional tests: compilation fixed 2023-07-13 01:00:17 +02:00
sowle
196c08a15f
crypto tests: minor fixes 2023-04-10 22:15:45 +02:00
sowle
52f941c748
hopefully final fixes for gcc errors 2023-04-10 21:01:35 +02:00
sowle
b94e2f536d
ml2s tests excluded from *; some warnings fixed 2023-04-09 18:22:20 +02:00
sowle
c5ff48b9a5
crypto constants refactored: moved to headers as constexpr's, new constexpr ctors added, some were improved + tests greatly improved (crypto_constants and crypto_scalar_basics) 2023-04-06 02:50:12 +02:00
sowle
8f86674fc1
crypto: constants for generators U, X, 1/8*H updated + crypto_basics test was adatped 2023-04-04 23:18:04 +02:00
sowle
c9f9c65732
BGE proof has been debugged + more basic tests 2023-03-28 12:47:14 +02:00
sowle
154e649f56
verify_BGE_proof() first PoC implementation 2023-03-27 22:31:55 +02:00
sowle
fdc1ceea62
crypto: constexpr helpers moved to crypto-sugar, constexpr_pow added 2023-03-26 22:33:47 +02:00
sowle
beccc55788
crypto: constexpr_floor_log_n, constexpr_ceil_log_n + tests 2023-03-23 23:30:56 +01:00
sowle
1a53806642
CLSAG 5-layers GGXXG has been debugged + test added 2023-03-22 03:14:45 +01:00
sowle
72dab7bb1e
Zarcanum & assets balance proof refactoring: WIP 2023-03-17 23:29:26 +01:00
sowle
95ebf24944
crypto tests: range proof tests were adapted and improved 2023-03-13 20:07:34 +01:00
sowle
5644c18917
crypto tests: clsag_ggx_basics improved and also coverage of binary and boost serialization added 2023-03-08 21:19:36 +01:00
sowle
1d3153cfbd
generic_schnorr_sig_s (serialized) + test 2023-03-01 21:28:20 +01:00
sowle
dd1631461d
crypto::generic_schnorr_sig + test 2023-02-28 02:04:50 +01:00
sowle
5127c77ebf
scalar_t::assign_mulsub + test 2023-02-28 02:03:57 +01:00
sowle
b1ccf8644b
3-CLSAG GGX implementation + tests 2023-02-27 18:00:53 +01:00
sowle
a532a3e042
native_coin_asset_id_pt introduced 2023-02-27 15:35:22 +01:00
sowle
91afdac46d
crypto:: scalar_t::operator- (unary) + test 2023-02-26 21:44:54 +01:00
sowle
ec32ff4b5f
minor improvements 2023-02-26 21:43:29 +01:00
sowle
7652a117cd
confidential assets: core & wallet refactoring, various fixes, WIP 2023-02-09 23:35:33 +01:00
sowle
5568e0eeaf
crypto: generator U + assertion tests for generators 2023-02-08 18:16:04 +01:00
sowle
dac549f0b6
minor improvements and compilation fixes 2022-12-02 18:14:19 +01:00
sowle
24ce9d4b40
blinding_masks_sum now passed via: construct_miner_tx -> create_block_template -> bild_minted_block -> prepare_and_sign_pos_block 2022-10-20 12:46:41 +02:00
sowle
1677bf5311
crypto tests: bppe_power_128 test added 2022-10-19 04:43:14 +02:00
sowle
b94c9f75d3
1) logging: channel(s) enabling made optionally less verbose; 2) various fixes after the merge 2022-10-14 19:08:27 +02:00
sowle
5e0ce8cfb4
crypto: c_point_H_plus_G and c_point_H_minus_G constants added + unittest 2022-10-10 23:47:49 +02:00
sowle
af9c53794e
1) zarcanum math moved to separate file; 2) fixed an error in rhs calculation; 3) 2^64 constant + test 2022-09-13 22:08:46 +02:00
sowle
ae64a8cbd3
crypto: 4-CLSAG 2-gen implemented, 2-CLSAG slightly improved; + basic test for 4-CLSAG GGXG 2022-08-31 02:09:08 +02:00
sowle
6b85159119
crypto: c_point_X; hs(char[32], hash); minor improvements for clsag implementation 2022-08-29 22:56:37 +02:00
sowle
e8ea28d085
crypto: BP+ generators mapping corrected, test improved 2022-08-25 04:14:36 +02:00
sowle
b62d01a629
MSVC 2019 compatibility fixes 2022-08-23 21:27:38 +03:00
sowle
0d72ac7187
bulletproofs+ tests fixed 2022-07-26 06:44:19 +02:00
sowle
6256d07bb7
clsag: more tests 2022-07-26 06:40:05 +02:00
sowle
e52e2b21a3
ZC_sig 2022-07-22 05:39:54 +02:00
sowle
53caed6d38
clsag first implementation + tests 2022-07-22 05:36:38 +02:00