1
0
Fork 0
forked from lthn/blockchain
Commit graph

175 commits

Author SHA1 Message Date
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
sowle
3402da561c
Merge branch 'asset_update' into cryptoassets
# Conflicts:
#	tests/core_tests/multiassets_test.cpp
2023-08-29 14:13:15 +02:00
sowle
8fdd15f584
crypto: implemented point_t::operator-() + test 2023-08-23 19:32:28 +02:00
sowle
46e4919245
Zarcanum PoS proofs & wallet's mining code made compatible with non-explicit asset id outputs 2023-08-08 16:58:49 +02:00
sowle
d852119e5e
range proofs: max outputs count changed: 16 -> 32 2023-08-02 22:53:00 +02:00
sowle
f164335e4e
coretests: zarcanum_in_alt_chain fixed by temporary disabling altchain checks for ZC inputs (+few improvements) 2023-05-22 04:27:40 +02:00
sowle
52f941c748
hopefully final fixes for gcc errors 2023-04-10 21:01:35 +02:00
sowle
382f6ab574
fixing gcc errors while trying not to screw up msvc compilation at the same time 2 (wip) 2023-04-08 22:38:50 +02:00
sowle
3abf473c8e
fixing gcc errors while trying not to screw up msvc compilation at the same time (wip) 2023-04-08 21:59:18 +02:00
sowle
fd16da8061
crypto: point_t::ctor made more standard-compliant (gcc error fix) 2023-04-08 05:39:10 +02:00
sowle
db873c8dc2
crypto: more of point_t::operator== and != 2023-04-08 03:17:21 +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
5b0431daf9
generate_BGE_proof() first PoC implementation 2023-03-27 02:48:42 +02:00
sowle
cfd01e80fe
BGE proof: WIP 2023-03-26 22:36:15 +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
a13cb94214
assets surjection proof: work in progress, more data prepared 2023-03-23 03:37:05 +01:00
sowle
c1d6d13e7b
assets surjection proof: work in progress 2023-03-22 23:28:01 +01:00
sowle
1a53806642
CLSAG 5-layers GGXXG has been debugged + test added 2023-03-22 03:14:45 +01:00
sowle
06c0394b67
Zarcanum: 5-layers CLSAG draft implementation (tests are yet tbd, WIP) 2023-03-21 22:26:24 +01:00
sowle
b5c1c5477d
Zarcanum adaptation for confidential assets (WIP) 2023-03-20 21:25:08 +01:00
sowle
4f1d01fc73
crypto: 5-layers extended CLSAG is introduced for Zarcanum + confidential assets needs (stubs so far, tbd) 2023-03-20 21:21:47 +01:00
sowle
72dab7bb1e
Zarcanum & assets balance proof refactoring: WIP 2023-03-17 23:29:26 +01:00
sowle
f3f7b1a742
crypto traits for (extended) range proofs were refactored to support different sets of generators + debug helpers after a long debug session 2023-03-13 20:05:06 +01:00
sowle
c45f9ee894
fixed passing of blinded_asset_id for each decoy when requested by RPC from daemon + minor improvements for CLSAG_GGX 2023-03-08 21:26:09 +01:00
sowle
eb29f7f1e9
vector_UG_aggregation_proof made more strict, E_j structure now enforced to be lin(T'_j, G) 2023-03-02 22:06:42 +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
44e22becae
crypto: vector_UG_aggregation_proof's generation and verification have been debugged and finalized 2023-02-27 02:56:12 +01:00
sowle
7efe48f522
crypto: vector_UG_aggregation_proof moved to cpp and improved 2023-02-26 21:45:54 +01:00
sowle
91afdac46d
crypto:: scalar_t::operator- (unary) + test 2023-02-26 21:44:54 +01:00
sowle
836e903156
first attempt of vector_UG_aggregation_proof gen & verify 2023-02-22 22:05:03 +01:00
sowle
aecb49b403
scalar_vec_t extended a bit 2023-02-22 22:01:55 +01:00
sowle
4ae6616a2b
crypto: linear composition proof stub 2023-02-21 01:37:42 +01:00
sowle
a813484a4f
confidential assets: global refactoring WIP (now everything is in compilable state, including tests) 2023-02-13 21:42:31 +01:00
sowle
7652a117cd
confidential assets: core & wallet refactoring, various fixes, WIP 2023-02-09 23:35:33 +01:00
sowle
f978be8b90
range proofs: Zano now uses U and G generators for aggregable range proof amount commitments 2023-02-08 18:54:25 +01:00
sowle
47b1338d32
crypto: vector_UG_aggregation_proof and zc_asset_surjection_proof stubs 2023-02-08 18:31:07 +01:00
sowle
5568e0eeaf
crypto: generator U + assertion tests for generators 2023-02-08 18:16:04 +01:00
sowle
f2375f0156
confidential assets: work in progress 2023-02-01 21:58:26 +01:00
sowle
5fba04627b
the first working implementation of Zarcanum PoS verification + few bugs fixed in proof gen; zarcanum_pos_block_math test should now succeed 2022-11-18 04:18:41 +01:00
sowle
a1bae08a67
crypto: minor improvements 2022-11-17 00:38:33 +01:00
sowle
e4bc98209d
minor fixes 2022-10-27 00:50:45 +02:00