File tree Expand file tree Collapse file tree 19 files changed +27
-164
lines changed Expand file tree Collapse file tree 19 files changed +27
-164
lines changed Original file line number Diff line number Diff line change 1- // Bitcoin secp256k1 bindings
2- // Written in 2019 by
3- // Elichai Turkel
4- //
5- // To the extent possible under law, the author(s) have dedicated all
6- // copyright and related and neighboring rights to this software to
7- // the public domain worldwide. This software is distributed without
8- // any warranty.
9- //
10- // You should have received a copy of the CC0 Public Domain Dedication
11- // along with this software.
12- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
13- //
1+ // SPDX-License-Identifier: CC0-1.0
142
153//! # secp256k1 no-std test.
164//! This binary is a short smallest rust code to produce a working binary *without libstd*.
Original file line number Diff line number Diff line change 1- // Bitcoin secp256k1 bindings
2- // Written in 2015 by
3- // Andrew Poelstra
4- //
5- // To the extent possible under law, the author(s) have dedicated all
6- // copyright and related and neighboring rights to this software to
7- // the public domain worldwide. This software is distributed without
8- // any warranty.
9- //
10- // You should have received a copy of the CC0 Public Domain Dedication
11- // along with this software.
12- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
13- //
1+ // SPDX-License-Identifier: CC0-1.0
142
153//! # Build script
164
Original file line number Diff line number Diff line change 1- // Bitcoin secp256k1 bindings
2- // Written in 2014 by
3- // Dawid Ciężarkiewicz
4- // Andrew Poelstra
5- //
6- // To the extent possible under law, the author(s) have dedicated all
7- // copyright and related and neighboring rights to this software to
8- // the public domain worldwide. This software is distributed without
9- // any warranty.
10- //
11- // You should have received a copy of the CC0 Public Domain Dedication
12- // along with this software.
13- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
14- //
1+ // SPDX-License-Identifier: CC0-1.0
2+
153//! # secp256k1-sys FFI bindings
164//! Direct bindings to the underlying C library functions. These should
175//! not be needed for most users.
Original file line number Diff line number Diff line change 1- // Bitcoin secp256k1 bindings
2- // Written in 2014 by
3- // Dawid Ciężarkiewicz
4- // Andrew Poelstra
5- //
6- // To the extent possible under law, the author(s) have dedicated all
7- // copyright and related and neighboring rights to this software to
8- // the public domain worldwide. This software is distributed without
9- // any warranty.
10- //
11- // You should have received a copy of the CC0 Public Domain Dedication
12- // along with this software.
13- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
14- //
1+ // SPDX-License-Identifier: CC0-1.0
152
163/// Implement methods and traits for types that contain an inner array.
174#[ macro_export]
Original file line number Diff line number Diff line change 1- // Bitcoin secp256k1 bindings
2- // Written in 2014 by
3- // Dawid Ciężarkiewicz
4- // Andrew Poelstra
5- //
6- // To the extent possible under law, the author(s) have dedicated all
7- // copyright and related and neighboring rights to this software to
8- // the public domain worldwide. This software is distributed without
9- // any warranty.
10- //
11- // You should have received a copy of the CC0 Public Domain Dedication
12- // along with this software.
13- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
14- //
1+ // SPDX-License-Identifier: CC0-1.0
152
163//! # FFI of the recovery module
174
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: CC0-1.0
2+
13#![ allow( non_camel_case_types) ]
24
35pub type c_int = i32 ;
Original file line number Diff line number Diff line change 1- // Bitcoin secp256k1 bindings
2- // Written in 2014 by
3- // Dawid Ciężarkiewicz
4- // Andrew Poelstra
5- //
6- // To the extent possible under law, the author(s) have dedicated all
7- // copyright and related and neighboring rights to this software to
8- // the public domain worldwide. This software is distributed without
9- // any warranty.
10- //
11- // You should have received a copy of the CC0 Public Domain Dedication
12- // along with this software.
13- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
14- //
1+ // SPDX-License-Identifier: CC0-1.0
152
163//! Constants related to the API and the underlying curve.
174//!
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: CC0-1.0
2+
13use core:: marker:: PhantomData ;
24use core:: mem:: ManuallyDrop ;
35use core:: ptr:: NonNull ;
Original file line number Diff line number Diff line change 1- // Bitcoin secp256k1 bindings
2- // Written in 2015 by
3- // Andrew Poelstra
4- //
5- // To the extent possible under law, the author(s) have dedicated all
6- // copyright and related and neighboring rights to this software to
7- // the public domain worldwide. This software is distributed without
8- // any warranty.
9- //
10- // You should have received a copy of the CC0 Public Domain Dedication
11- // along with this software.
12- // If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
13- //
1+ // SPDX-License-Identifier: CC0-1.0
142
153//! Support for shared secret computations.
164//!
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: CC0-1.0
2+
13//! Structs and functionality related to the ECDSA signature algorithm.
24//!
35
You can’t perform that action at this time.
0 commit comments