1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4#![no_std]
5
6use core::fmt;
7
8include!(concat!(env!("CARGO_MANIFEST_DIR"), "/bindings.rs"));
9
10impl fmt::Debug for mbedtls_blowfish_context {
11 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
12 f.debug_struct("mbedtls_blowfish_context").finish_non_exhaustive()
13 }
14}
15
16impl Default for mbedtls_blowfish_context {
17 fn default() -> Self {
18 let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
19 unsafe {
20 ::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
21 s.assume_init()
22 }
23 }
24}