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};
23 pub mod message_signing;
33 use alloc::str::FromStr;
34 use core::ffi::c_void;
35 use core::convert::Infallible;
36 use bitcoin::hashes::Hash;
37 use crate::c_types::*;
38 #[cfg(feature="no-std")]
39 use alloc::{vec::Vec, boxed::Box};
44 use alloc::str::FromStr;
45 use core::ffi::c_void;
46 use core::convert::Infallible;
47 use bitcoin::hashes::Hash;
48 use crate::c_types::*;
49 #[cfg(feature="no-std")]
50 use alloc::{vec::Vec, boxed::Box};
55 use alloc::str::FromStr;
56 use core::ffi::c_void;
57 use core::convert::Infallible;
58 use bitcoin::hashes::Hash;
59 use crate::c_types::*;
60 #[cfg(feature="no-std")]
61 use alloc::{vec::Vec, boxed::Box};
66 use alloc::str::FromStr;
67 use core::ffi::c_void;
68 use core::convert::Infallible;
69 use bitcoin::hashes::Hash;
70 use crate::c_types::*;
71 #[cfg(feature="no-std")]
72 use alloc::{vec::Vec, boxed::Box};
76 use alloc::str::FromStr;
77 use core::ffi::c_void;
78 use core::convert::Infallible;
79 use bitcoin::hashes::Hash;
80 use crate::c_types::*;
81 #[cfg(feature="no-std")]
82 use alloc::{vec::Vec, boxed::Box};
88 use alloc::str::FromStr;
89 use core::ffi::c_void;
90 use core::convert::Infallible;
91 use bitcoin::hashes::Hash;
92 use crate::c_types::*;
93 #[cfg(feature="no-std")]
94 use alloc::{vec::Vec, boxed::Box};
99 use alloc::str::FromStr;
100 use core::ffi::c_void;
101 use core::convert::Infallible;
102 use bitcoin::hashes::Hash;
103 use crate::c_types::*;
104 #[cfg(feature="no-std")]
105 use alloc::{vec::Vec, boxed::Box};
108 mod chacha20poly1305rfc {
110 use alloc::str::FromStr;
111 use core::ffi::c_void;
112 use core::convert::Infallible;
113 use bitcoin::hashes::Hash;
114 use crate::c_types::*;
115 #[cfg(feature="no-std")]
116 use alloc::{vec::Vec, boxed::Box};
118 mod real_chachapoly {
120 use alloc::str::FromStr;
121 use core::ffi::c_void;
122 use core::convert::Infallible;
123 use bitcoin::hashes::Hash;
124 use crate::c_types::*;
125 #[cfg(feature="no-std")]
126 use alloc::{vec::Vec, boxed::Box};
130 mod transaction_utils {
132 use alloc::str::FromStr;
133 use core::ffi::c_void;
134 use core::convert::Infallible;
135 use bitcoin::hashes::Hash;
136 use crate::c_types::*;
137 #[cfg(feature="no-std")]
138 use alloc::{vec::Vec, boxed::Box};
143 use alloc::str::FromStr;
144 use core::ffi::c_void;
145 use core::convert::Infallible;
146 use bitcoin::hashes::Hash;
147 use crate::c_types::*;
148 #[cfg(feature="no-std")]
149 use alloc::{vec::Vec, boxed::Box};
153 use alloc::str::FromStr;
154 use core::ffi::c_void;
155 use core::convert::Infallible;
156 use bitcoin::hashes::Hash;
157 use crate::c_types::*;
158 #[cfg(feature="no-std")]
159 use alloc::{vec::Vec, boxed::Box};
165 use alloc::str::FromStr;
166 use core::ffi::c_void;
167 use core::convert::Infallible;
168 use bitcoin::hashes::Hash;
169 use crate::c_types::*;
170 #[cfg(feature="no-std")]
171 use alloc::{vec::Vec, boxed::Box};
176 use alloc::str::FromStr;
177 use core::ffi::c_void;
178 use core::convert::Infallible;
179 use bitcoin::hashes::Hash;
180 use crate::c_types::*;
181 #[cfg(feature="no-std")]
182 use alloc::{vec::Vec, boxed::Box};
187 use alloc::str::FromStr;
188 use core::ffi::c_void;
189 use core::convert::Infallible;
190 use bitcoin::hashes::Hash;
191 use crate::c_types::*;
192 #[cfg(feature="no-std")]
193 use alloc::{vec::Vec, boxed::Box};