1#![no_std]
2#![allow(non_camel_case_types)]
3#![allow(unused_imports)]
4
5mod block;
6mod cipher;
7mod ec_group;
8mod errors;
9mod fpe;
10mod hash;
11mod kdf;
12mod keywrap;
13mod mac;
14mod mp;
15mod oid;
16mod otp;
17mod passhash;
18mod pk_ops;
19mod pubkey;
20mod rng;
21mod utils;
22mod version;
23mod x509;
24mod zfec;
25
26pub mod ffi_types {
27 pub use core::ffi::{c_char, c_int, c_uint, c_void};
28
29 #[cfg(botan_ffi_20230403)]
30 pub type botan_view_ctx = *mut c_void;
31
32 #[cfg(botan_ffi_20230403)]
33 pub type botan_view_bin_fn =
34 extern "C" fn(view_ctx: botan_view_ctx, data: *const u8, len: usize) -> c_int;
35
36 #[cfg(botan_ffi_20230403)]
37 pub type botan_view_str_fn =
38 extern "C" fn(view_ctx: botan_view_ctx, data: *const c_char, len: usize) -> c_int;
39}
40
41pub use block::*;
42pub use cipher::*;
43pub use ec_group::*;
44pub use errors::*;
45pub use fpe::*;
46pub use hash::*;
47pub use kdf::*;
48pub use keywrap::*;
49pub use mac::*;
50pub use mp::*;
51pub use oid::*;
52pub use otp::*;
53pub use passhash::*;
54pub use pk_ops::*;
55pub use pubkey::*;
56pub use rng::*;
57pub use utils::*;
58pub use version::*;
59pub use x509::*;
60pub use zfec::*;