1616//! # FFI of the recovery module
1717
1818use :: types:: * ;
19- #[ cfg( not( feature = "fuzztarget" ) ) ]
19+ #[ cfg( not( rust_secp_fuzz ) ) ]
2020use :: { Context , Signature , NonceFn , PublicKey } ;
2121
2222/// Library-internal representation of a Secp256k1 signature + recovery ID
@@ -36,23 +36,23 @@ impl Default for RecoverableSignature {
3636 }
3737}
3838
39- #[ cfg( not( feature = "fuzztarget" ) ) ]
39+ #[ cfg( not( rust_secp_fuzz ) ) ]
4040extern "C" {
41- #[ cfg_attr( not( feature = "external-symbols" ) , link_name = "rustsecp256k1_v0_3_1_ecdsa_recoverable_signature_parse_compact" ) ]
41+ #[ cfg_attr( not( rust_secp_no_symbol_renaming ) , link_name = "rustsecp256k1_v0_3_1_ecdsa_recoverable_signature_parse_compact" ) ]
4242 pub fn secp256k1_ecdsa_recoverable_signature_parse_compact ( cx : * const Context , sig : * mut RecoverableSignature ,
4343 input64 : * const c_uchar , recid : c_int )
4444 -> c_int ;
4545
46- #[ cfg_attr( not( feature = "external-symbols" ) , link_name = "rustsecp256k1_v0_3_1_ecdsa_recoverable_signature_serialize_compact" ) ]
46+ #[ cfg_attr( not( rust_secp_no_symbol_renaming ) , link_name = "rustsecp256k1_v0_3_1_ecdsa_recoverable_signature_serialize_compact" ) ]
4747 pub fn secp256k1_ecdsa_recoverable_signature_serialize_compact ( cx : * const Context , output64 : * mut c_uchar ,
4848 recid : * mut c_int , sig : * const RecoverableSignature )
4949 -> c_int ;
5050
51- #[ cfg_attr( not( feature = "external-symbols" ) , link_name = "rustsecp256k1_v0_3_1_ecdsa_recoverable_signature_convert" ) ]
51+ #[ cfg_attr( not( rust_secp_no_symbol_renaming ) , link_name = "rustsecp256k1_v0_3_1_ecdsa_recoverable_signature_convert" ) ]
5252 pub fn secp256k1_ecdsa_recoverable_signature_convert ( cx : * const Context , sig : * mut Signature ,
5353 input : * const RecoverableSignature )
5454 -> c_int ;
55- #[ cfg_attr( not( feature = "external-symbols" ) , link_name = "rustsecp256k1_v0_3_1_ecdsa_sign_recoverable" ) ]
55+ #[ cfg_attr( not( rust_secp_no_symbol_renaming ) , link_name = "rustsecp256k1_v0_3_1_ecdsa_sign_recoverable" ) ]
5656 pub fn secp256k1_ecdsa_sign_recoverable ( cx : * const Context ,
5757 sig : * mut RecoverableSignature ,
5858 msg32 : * const c_uchar ,
@@ -61,7 +61,7 @@ extern "C" {
6161 noncedata : * const c_void )
6262 -> c_int ;
6363
64- #[ cfg_attr( not( feature = "external-symbols" ) , link_name = "rustsecp256k1_v0_3_1_ecdsa_recover" ) ]
64+ #[ cfg_attr( not( rust_secp_no_symbol_renaming ) , link_name = "rustsecp256k1_v0_3_1_ecdsa_recover" ) ]
6565 pub fn secp256k1_ecdsa_recover ( cx : * const Context ,
6666 pk : * mut PublicKey ,
6767 sig : * const RecoverableSignature ,
@@ -70,7 +70,7 @@ extern "C" {
7070}
7171
7272
73- #[ cfg( feature = "fuzztarget" ) ]
73+ #[ cfg( rust_secp_fuzz ) ]
7474mod fuzz_dummy {
7575 extern crate std;
7676 use self :: std:: ptr;
@@ -126,6 +126,6 @@ mod fuzz_dummy {
126126 unimplemented ! ( ) ;
127127 }
128128}
129- #[ cfg( feature = "fuzztarget" ) ]
129+ #[ cfg( rust_secp_fuzz ) ]
130130pub use self :: fuzz_dummy:: * ;
131131
0 commit comments