Tim Ruffing
54b37db953
build: Fix linkage of extra binaries in -zkp modules
2023-07-28 14:20:42 +02:00
Jonas Nick
0d540ec942
Merge commits '88e80722 ff8edf89 f29a3270 a7a7bfaf a01a7d86 b1579cf5 ad7433b1 233822d8 5fbff5d3 2b77240b 1bff2005 e1817a6f 5596ec5c 8ebe5c52 1cca7c17 1b21aa51 cbd25559 09b1d466 57573187 8962fc95 9d1b458d eb8749fc 6048e6c0 ' into temp-merge-1222
2023-07-20 16:29:40 +00:00
Jonas Nick
304fc88557
Merge commits '9a8d65f0 75d7b7f5 665ba77e 3f57b9f7 eacad90f 01b819a8 31ed5386 2a39ac16 0eb30004 cbe41ac1 cc3b8a4f ' into temp-merge-1187
2023-07-20 12:19:00 +00:00
Tim Ruffing
e444d24bca
Fix include guards: No _ prefix/suffix but _H suffix (as in upstream)
2023-04-21 12:02:28 +02:00
Andrew Poelstra
347f96d94a
fix include paths in all the -zkp modules
...
This is causing out-of-tree build failures in Elements.
2022-08-05 14:56:10 +00:00
Andrew Poelstra
11d675dce8
whitelist: remove ability to specific nonce function
...
This functionality is inappropriate to expose for a zero-knowledge proof,
and was confusingly (and potentially dangerously) implemented.
2022-01-06 19:12:14 +00:00
Jonas Nick
27d1c3b6a1
whitelist: add test for MAX_N_KEYS
...
Don't test all MAX_N_KEYS because it is quite slow.
2021-10-15 16:17:20 +00:00
Jonas Nick
c8ac14d9dc
whitelist: fix SECP256K1_WHITELIST_MAX_N_KEYS constant
...
"MAX" should mean inclusive. And the whitelisting functions handled this
inconsistently.
2021-10-15 16:17:20 +00:00
Jonas Nick
938725c1c9
Merge commits 'd7ec49a6 9a5a87e0 aa5d34a8 2a3a97c6 ' into temp-merge-976
...
Also remove remaining uses of ecmult context in secp-zkp and update API tests
accordingly.
2021-09-16 15:21:11 +00:00
Jonas Nick
79d4c3ac68
whitelist: add SECP_INCLUDES to bench_whitelist CPPFLAGS
...
This will fix the following compile error on macOS
In file included from src/num.h:17,
from src/num_impl.h:14,
from src/bench_whitelist.c:14:
src/num_gmp.h:10:10: fatal error: gmp.h: No such file or directory
2021-03-10 13:28:16 +00:00
Jonas Nick
0d4ee3c62d
Improve explanation of key cancellation attack in whitelist.md
2020-07-24 14:59:36 +02:00
Jonas Nick
4c231568fb
Add explanation about how BIP32 unhardened derivation can be used to simplify whitelisting
2020-07-24 14:50:49 +02:00
Jonas Nick
fc3dc94049
Add whitelisting benchmark
2020-07-24 14:50:48 +02:00
Gregory Sanders
edc7cb6cdd
add whitelist_impl.h to include for dist
2020-07-24 14:49:33 +02:00
Jonas Nick
04f4c09111
Add n_keys argument to whitelist_verify
2020-07-24 14:49:33 +02:00
Jonas Nick
dbf3d752a8
Fix checks of whitelist serialize/parse arguments
2020-07-24 14:49:33 +02:00
Andrew Poelstra
29d0d562dc
whitelist: fix serialize/parse API to take serialized length
2020-07-24 14:49:33 +02:00
Andrew Poelstra
8c77fe1590
Implement ring-signature based whitelist delegation scheme
2020-07-24 14:49:33 +02:00