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
14
2
15
3
//! # secp256k1 no-std test.
16
4
//! 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
14
2
15
3
//! # Build script
16
4
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
+
15
3
//! # secp256k1-sys FFI bindings
16
4
//! Direct bindings to the underlying C library functions. These should
17
5
//! 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
15
2
16
3
/// Implement methods and traits for types that contain an inner array.
17
4
#[ 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
15
2
16
3
//! # FFI of the recovery module
17
4
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: CC0-1.0
2
+
1
3
#![ allow( non_camel_case_types) ]
2
4
3
5
pub 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
15
2
16
3
//! Constants related to the API and the underlying curve.
17
4
//!
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: CC0-1.0
2
+
1
3
use core:: marker:: PhantomData ;
2
4
use core:: mem:: ManuallyDrop ;
3
5
use 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
14
2
15
3
//! Support for shared secret computations.
16
4
//!
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: CC0-1.0
2
+
1
3
//! Structs and functionality related to the ECDSA signature algorithm.
2
4
//!
3
5
You can’t perform that action at this time.
0 commit comments