@@ -13,7 +13,7 @@ pub const WHITELIST_MAX_N_KEYS: size_t = 255;
13
13
14
14
extern "C" {
15
15
#[ cfg_attr(
16
- not( feature = "external-symbols" ) ,
16
+ not( rust_secp_zkp_no_symbol_renaming ) ,
17
17
link_name = "rustsecp256k1zkp_v0_8_0_pedersen_commitment_parse"
18
18
) ]
19
19
// Parse a 33-byte commitment into 64 byte internal commitment object
@@ -24,7 +24,7 @@ extern "C" {
24
24
) -> c_int ;
25
25
26
26
#[ cfg_attr(
27
- not( feature = "external-symbols" ) ,
27
+ not( rust_secp_zkp_no_symbol_renaming ) ,
28
28
link_name = "rustsecp256k1zkp_v0_8_0_pedersen_commitment_serialize"
29
29
) ]
30
30
// Serialize a 64-byte commit object into a 33 byte serialized byte sequence
@@ -35,7 +35,7 @@ extern "C" {
35
35
) -> c_int ;
36
36
37
37
#[ cfg_attr(
38
- not( feature = "external-symbols" ) ,
38
+ not( rust_secp_zkp_no_symbol_renaming ) ,
39
39
link_name = "rustsecp256k1zkp_v0_8_0_pedersen_commit"
40
40
) ]
41
41
// Generates a pedersen commitment: *commit = blind * G + value * G2.
@@ -49,7 +49,7 @@ extern "C" {
49
49
) -> c_int ;
50
50
51
51
#[ cfg_attr(
52
- not( feature = "external-symbols" ) ,
52
+ not( rust_secp_zkp_no_symbol_renaming ) ,
53
53
link_name = "rustsecp256k1zkp_v0_8_0_pedersen_blind_generator_blind_sum"
54
54
) ]
55
55
/// Sets the final Pedersen blinding factor correctly when the generators themselves
@@ -91,7 +91,7 @@ extern "C" {
91
91
) -> c_int ;
92
92
93
93
#[ cfg_attr(
94
- not( feature = "external-symbols" ) ,
94
+ not( rust_secp_zkp_no_symbol_renaming ) ,
95
95
link_name = "rustsecp256k1zkp_v0_8_0_pedersen_verify_tally"
96
96
) ]
97
97
// Takes two list of 64-byte commitments and sums the first set and
@@ -106,7 +106,7 @@ extern "C" {
106
106
107
107
#[ cfg( feature = "std" ) ]
108
108
#[ cfg_attr(
109
- not( feature = "external-symbols" ) ,
109
+ not( rust_secp_zkp_no_symbol_renaming ) ,
110
110
link_name = "rustsecp256k1zkp_v0_8_0_rangeproof_info"
111
111
) ]
112
112
pub fn secp256k1_rangeproof_info (
@@ -121,7 +121,7 @@ extern "C" {
121
121
122
122
#[ cfg( feature = "std" ) ]
123
123
#[ cfg_attr(
124
- not( feature = "external-symbols" ) ,
124
+ not( rust_secp_zkp_no_symbol_renaming ) ,
125
125
link_name = "rustsecp256k1zkp_v0_8_0_rangeproof_rewind"
126
126
) ]
127
127
pub fn secp256k1_rangeproof_rewind (
@@ -143,7 +143,7 @@ extern "C" {
143
143
144
144
#[ cfg( feature = "std" ) ]
145
145
#[ cfg_attr(
146
- not( feature = "external-symbols" ) ,
146
+ not( rust_secp_zkp_no_symbol_renaming ) ,
147
147
link_name = "rustsecp256k1zkp_v0_8_0_rangeproof_verify"
148
148
) ]
149
149
pub fn secp256k1_rangeproof_verify (
@@ -160,7 +160,7 @@ extern "C" {
160
160
161
161
#[ cfg( feature = "std" ) ]
162
162
#[ cfg_attr(
163
- not( feature = "external-symbols" ) ,
163
+ not( rust_secp_zkp_no_symbol_renaming ) ,
164
164
link_name = "rustsecp256k1zkp_v0_8_0_rangeproof_sign"
165
165
) ]
166
166
pub fn secp256k1_rangeproof_sign (
@@ -182,7 +182,7 @@ extern "C" {
182
182
) -> c_int ;
183
183
184
184
#[ cfg_attr(
185
- not( feature = "external-symbols" ) ,
185
+ not( rust_secp_zkp_no_symbol_renaming ) ,
186
186
link_name = "rustsecp256k1zkp_v0_8_0_surjectionproof_initialize"
187
187
) ]
188
188
pub fn secp256k1_surjectionproof_initialize (
@@ -198,7 +198,7 @@ extern "C" {
198
198
) -> c_int ;
199
199
200
200
#[ cfg_attr(
201
- not( feature = "external-symbols" ) ,
201
+ not( rust_secp_zkp_no_symbol_renaming ) ,
202
202
link_name = "rustsecp256k1zkp_v0_8_0_surjectionproof_serialize"
203
203
) ]
204
204
pub fn secp256k1_surjectionproof_serialize (
@@ -209,7 +209,7 @@ extern "C" {
209
209
) -> c_int ;
210
210
211
211
#[ cfg_attr(
212
- not( feature = "external-symbols" ) ,
212
+ not( rust_secp_zkp_no_symbol_renaming ) ,
213
213
link_name = "rustsecp256k1zkp_v0_8_0_surjectionproof_serialized_size"
214
214
) ]
215
215
pub fn secp256k1_surjectionproof_serialized_size (
@@ -218,7 +218,7 @@ extern "C" {
218
218
) -> size_t ;
219
219
220
220
#[ cfg_attr(
221
- not( feature = "external-symbols" ) ,
221
+ not( rust_secp_zkp_no_symbol_renaming ) ,
222
222
link_name = "rustsecp256k1zkp_v0_8_0_surjectionproof_parse"
223
223
) ]
224
224
pub fn secp256k1_surjectionproof_parse (
@@ -229,7 +229,7 @@ extern "C" {
229
229
) -> c_int ;
230
230
231
231
#[ cfg_attr(
232
- not( feature = "external-symbols" ) ,
232
+ not( rust_secp_zkp_no_symbol_renaming ) ,
233
233
link_name = "rustsecp256k1zkp_v0_8_0_surjectionproof_generate"
234
234
) ]
235
235
pub fn secp256k1_surjectionproof_generate (
@@ -244,7 +244,7 @@ extern "C" {
244
244
) -> c_int ;
245
245
246
246
#[ cfg_attr(
247
- not( feature = "external-symbols" ) ,
247
+ not( rust_secp_zkp_no_symbol_renaming ) ,
248
248
link_name = "rustsecp256k1zkp_v0_8_0_surjectionproof_verify"
249
249
) ]
250
250
pub fn secp256k1_surjectionproof_verify (
@@ -256,7 +256,7 @@ extern "C" {
256
256
) -> c_int ;
257
257
258
258
#[ cfg_attr(
259
- not( feature = "external-symbols" ) ,
259
+ not( rust_secp_zkp_no_symbol_renaming ) ,
260
260
link_name = "rustsecp256k1zkp_v0_8_0_generator_generate_blinded"
261
261
) ]
262
262
pub fn secp256k1_generator_generate_blinded (
@@ -267,7 +267,7 @@ extern "C" {
267
267
) -> c_int ;
268
268
269
269
#[ cfg_attr(
270
- not( feature = "external-symbols" ) ,
270
+ not( rust_secp_zkp_no_symbol_renaming ) ,
271
271
link_name = "rustsecp256k1zkp_v0_8_0_generator_serialize"
272
272
) ]
273
273
pub fn secp256k1_generator_serialize (
@@ -277,7 +277,7 @@ extern "C" {
277
277
) -> c_int ;
278
278
279
279
#[ cfg_attr(
280
- not( feature = "external-symbols" ) ,
280
+ not( rust_secp_zkp_no_symbol_renaming ) ,
281
281
link_name = "rustsecp256k1zkp_v0_8_0_generator_parse"
282
282
) ]
283
283
pub fn secp256k1_generator_parse (
@@ -287,13 +287,13 @@ extern "C" {
287
287
) -> c_int ;
288
288
289
289
#[ cfg_attr(
290
- not( feature = "external-symbols" ) ,
290
+ not( rust_secp_zkp_no_symbol_renaming ) ,
291
291
link_name = "rustsecp256k1zkp_v0_8_0_nonce_function_ecdsa_adaptor"
292
292
) ]
293
293
pub static secp256k1_nonce_function_ecdsa_adaptor: EcdsaAdaptorNonceFn ;
294
294
295
295
#[ cfg_attr(
296
- not( feature = "external-symbols" ) ,
296
+ not( rust_secp_zkp_no_symbol_renaming ) ,
297
297
link_name = "rustsecp256k1zkp_v0_8_0_ecdsa_adaptor_encrypt"
298
298
) ]
299
299
pub fn secp256k1_ecdsa_adaptor_encrypt (
@@ -307,7 +307,7 @@ extern "C" {
307
307
) -> c_int ;
308
308
309
309
#[ cfg_attr(
310
- not( feature = "external-symbols" ) ,
310
+ not( rust_secp_zkp_no_symbol_renaming ) ,
311
311
link_name = "rustsecp256k1zkp_v0_8_0_ecdsa_adaptor_verify"
312
312
) ]
313
313
pub fn secp256k1_ecdsa_adaptor_verify (
@@ -319,7 +319,7 @@ extern "C" {
319
319
) -> c_int ;
320
320
321
321
#[ cfg_attr(
322
- not( feature = "external-symbols" ) ,
322
+ not( rust_secp_zkp_no_symbol_renaming ) ,
323
323
link_name = "rustsecp256k1zkp_v0_8_0_ecdsa_adaptor_decrypt"
324
324
) ]
325
325
pub fn secp256k1_ecdsa_adaptor_decrypt (
@@ -330,7 +330,7 @@ extern "C" {
330
330
) -> c_int ;
331
331
332
332
#[ cfg_attr(
333
- not( feature = "external-symbols" ) ,
333
+ not( rust_secp_zkp_no_symbol_renaming ) ,
334
334
link_name = "rustsecp256k1zkp_v0_8_0_ecdsa_adaptor_recover"
335
335
) ]
336
336
pub fn secp256k1_ecdsa_adaptor_recover (
@@ -342,7 +342,7 @@ extern "C" {
342
342
) -> c_int ;
343
343
344
344
#[ cfg_attr(
345
- not( feature = "external-symbols" ) ,
345
+ not( rust_secp_zkp_no_symbol_renaming ) ,
346
346
link_name = "rustsecp256k1zkp_v0_8_0_whitelist_signature_parse"
347
347
) ]
348
348
pub fn secp256k1_whitelist_signature_parse (
@@ -353,7 +353,7 @@ extern "C" {
353
353
) -> c_int ;
354
354
355
355
#[ cfg_attr(
356
- not( feature = "external-symbols" ) ,
356
+ not( rust_secp_zkp_no_symbol_renaming ) ,
357
357
link_name = "rustsecp256k1zkp_v0_8_0_whitelist_signature_serialize"
358
358
) ]
359
359
pub fn secp256k1_whitelist_signature_serialize (
@@ -364,7 +364,7 @@ extern "C" {
364
364
) -> c_int ;
365
365
366
366
#[ cfg_attr(
367
- not( feature = "external-symbols" ) ,
367
+ not( rust_secp_zkp_no_symbol_renaming ) ,
368
368
link_name = "rustsecp256k1zkp_v0_8_0_whitelist_sign"
369
369
) ]
370
370
pub fn secp256k1_whitelist_sign (
@@ -380,7 +380,7 @@ extern "C" {
380
380
) -> c_int ;
381
381
382
382
#[ cfg_attr(
383
- not( feature = "external-symbols" ) ,
383
+ not( rust_secp_zkp_no_symbol_renaming ) ,
384
384
link_name = "rustsecp256k1zkp_v0_8_0_whitelist_verify"
385
385
) ]
386
386
pub fn secp256k1_whitelist_verify (
0 commit comments