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 std::str::FromStr;
13 use core::convert::Infallible;
14 use bitcoin::hashes::Hash;
15 use crate::c_types::*;
20 pub mod message_signing;
25 use std::str::FromStr;
27 use core::convert::Infallible;
28 use bitcoin::hashes::Hash;
29 use crate::c_types::*;
34 use std::str::FromStr;
36 use core::convert::Infallible;
37 use bitcoin::hashes::Hash;
38 use crate::c_types::*;
43 use std::str::FromStr;
45 use core::convert::Infallible;
46 use bitcoin::hashes::Hash;
47 use crate::c_types::*;
52 use std::str::FromStr;
54 use core::convert::Infallible;
55 use bitcoin::hashes::Hash;
56 use crate::c_types::*;
61 use std::str::FromStr;
63 use core::convert::Infallible;
64 use bitcoin::hashes::Hash;
65 use crate::c_types::*;
69 use std::str::FromStr;
71 use core::convert::Infallible;
72 use bitcoin::hashes::Hash;
73 use crate::c_types::*;
79 use std::str::FromStr;
81 use core::convert::Infallible;
82 use bitcoin::hashes::Hash;
83 use crate::c_types::*;
88 use std::str::FromStr;
90 use core::convert::Infallible;
91 use bitcoin::hashes::Hash;
92 use crate::c_types::*;
95 mod chacha20poly1305rfc {
97 use std::str::FromStr;
99 use core::convert::Infallible;
100 use bitcoin::hashes::Hash;
101 use crate::c_types::*;
103 mod real_chachapoly {
105 use std::str::FromStr;
106 use std::ffi::c_void;
107 use core::convert::Infallible;
108 use bitcoin::hashes::Hash;
109 use crate::c_types::*;
113 mod transaction_utils {
115 use std::str::FromStr;
116 use std::ffi::c_void;
117 use core::convert::Infallible;
118 use bitcoin::hashes::Hash;
119 use crate::c_types::*;
124 use std::str::FromStr;
125 use std::ffi::c_void;
126 use core::convert::Infallible;
127 use bitcoin::hashes::Hash;
128 use crate::c_types::*;
133 use std::str::FromStr;
134 use std::ffi::c_void;
135 use core::convert::Infallible;
136 use bitcoin::hashes::Hash;
137 use crate::c_types::*;