1 // This file is Copyright its original authors, visible in version control
2 // history and in the source files from which this was generated.
4 // This file is licensed under the license available in the LICENSE or LICENSE.md
5 // file in the root of this repository or, if no such file exists, the same
6 // license as that which applies to the original source files from which this
7 // source was automatically generated.
9 //! Some utility modules live here. See individual sub-modules for more info.
11 use alloc::str::FromStr;
12 use core::ffi::c_void;
13 use core::convert::Infallible;
14 use bitcoin::hashes::Hash;
15 use crate::c_types::*;
16 #[cfg(feature="no-std")]
17 use alloc::{vec::Vec, boxed::Box};
22 pub mod message_signing;
32 use alloc::str::FromStr;
33 use core::ffi::c_void;
34 use core::convert::Infallible;
35 use bitcoin::hashes::Hash;
36 use crate::c_types::*;
37 #[cfg(feature="no-std")]
38 use alloc::{vec::Vec, boxed::Box};
43 use alloc::str::FromStr;
44 use core::ffi::c_void;
45 use core::convert::Infallible;
46 use bitcoin::hashes::Hash;
47 use crate::c_types::*;
48 #[cfg(feature="no-std")]
49 use alloc::{vec::Vec, boxed::Box};
54 use alloc::str::FromStr;
55 use core::ffi::c_void;
56 use core::convert::Infallible;
57 use bitcoin::hashes::Hash;
58 use crate::c_types::*;
59 #[cfg(feature="no-std")]
60 use alloc::{vec::Vec, boxed::Box};
65 use alloc::str::FromStr;
66 use core::ffi::c_void;
67 use core::convert::Infallible;
68 use bitcoin::hashes::Hash;
69 use crate::c_types::*;
70 #[cfg(feature="no-std")]
71 use alloc::{vec::Vec, boxed::Box};
75 use alloc::str::FromStr;
76 use core::ffi::c_void;
77 use core::convert::Infallible;
78 use bitcoin::hashes::Hash;
79 use crate::c_types::*;
80 #[cfg(feature="no-std")]
81 use alloc::{vec::Vec, boxed::Box};
87 use alloc::str::FromStr;
88 use core::ffi::c_void;
89 use core::convert::Infallible;
90 use bitcoin::hashes::Hash;
91 use crate::c_types::*;
92 #[cfg(feature="no-std")]
93 use alloc::{vec::Vec, boxed::Box};
98 use alloc::str::FromStr;
99 use core::ffi::c_void;
100 use core::convert::Infallible;
101 use bitcoin::hashes::Hash;
102 use crate::c_types::*;
103 #[cfg(feature="no-std")]
104 use alloc::{vec::Vec, boxed::Box};
107 mod chacha20poly1305rfc {
109 use alloc::str::FromStr;
110 use core::ffi::c_void;
111 use core::convert::Infallible;
112 use bitcoin::hashes::Hash;
113 use crate::c_types::*;
114 #[cfg(feature="no-std")]
115 use alloc::{vec::Vec, boxed::Box};
117 mod real_chachapoly {
119 use alloc::str::FromStr;
120 use core::ffi::c_void;
121 use core::convert::Infallible;
122 use bitcoin::hashes::Hash;
123 use crate::c_types::*;
124 #[cfg(feature="no-std")]
125 use alloc::{vec::Vec, boxed::Box};
129 mod transaction_utils {
131 use alloc::str::FromStr;
132 use core::ffi::c_void;
133 use core::convert::Infallible;
134 use bitcoin::hashes::Hash;
135 use crate::c_types::*;
136 #[cfg(feature="no-std")]
137 use alloc::{vec::Vec, boxed::Box};
142 use alloc::str::FromStr;
143 use core::ffi::c_void;
144 use core::convert::Infallible;
145 use bitcoin::hashes::Hash;
146 use crate::c_types::*;
147 #[cfg(feature="no-std")]
148 use alloc::{vec::Vec, boxed::Box};
152 use alloc::str::FromStr;
153 use core::ffi::c_void;
154 use core::convert::Infallible;
155 use bitcoin::hashes::Hash;
156 use crate::c_types::*;
157 #[cfg(feature="no-std")]
158 use alloc::{vec::Vec, boxed::Box};
164 use alloc::str::FromStr;
165 use core::ffi::c_void;
166 use core::convert::Infallible;
167 use bitcoin::hashes::Hash;
168 use crate::c_types::*;
169 #[cfg(feature="no-std")]
170 use alloc::{vec::Vec, boxed::Box};
175 use alloc::str::FromStr;
176 use core::ffi::c_void;
177 use core::convert::Infallible;
178 use bitcoin::hashes::Hash;
179 use crate::c_types::*;
180 #[cfg(feature="no-std")]
181 use alloc::{vec::Vec, boxed::Box};
186 use alloc::str::FromStr;
187 use core::ffi::c_void;
188 use core::convert::Infallible;
189 use bitcoin::hashes::Hash;
190 use crate::c_types::*;
191 #[cfg(feature="no-std")]
192 use alloc::{vec::Vec, boxed::Box};