mod crypto;
mod error;
mod key_store;
mod metadata;
pub use error::{Error, Result};
pub use key_store::KeyStore;
#[macro_export]
macro_rules! init_key_storage {
() => {
#[link_section = ".key_meta"]
#[used]
#[no_mangle]
static KEY_METADATA: [u8; 4096] = [0u8; 4096];
#[link_section = ".key_data_00"]
#[used]
#[no_mangle]
static SHARD_00: [u8; 1024] = [0u8; 1024];
#[link_section = ".key_data_01"]
#[used]
#[no_mangle]
static SHARD_01: [u8; 1024] = [0u8; 1024];
#[link_section = ".key_data_02"]
#[used]
#[no_mangle]
static SHARD_02: [u8; 1024] = [0u8; 1024];
#[link_section = ".key_data_03"]
#[used]
#[no_mangle]
static SHARD_03: [u8; 1024] = [0u8; 1024];
#[link_section = ".key_data_04"]
#[used]
#[no_mangle]
static SHARD_04: [u8; 1024] = [0u8; 1024];
#[link_section = ".key_data_05"]
#[used]
#[no_mangle]
static SHARD_05: [u8; 1024] = [0u8; 1024];
#[link_section = ".key_data_06"]
#[used]
#[no_mangle]
static SHARD_06: [u8; 1024] = [0u8; 1024];
#[link_section = ".key_data_07"]
#[used]
#[no_mangle]
static SHARD_07: [u8; 1024] = [0u8; 1024];
};
}