use crate::core::common::crypto::{mrae::deoxysii, x25519};
pub const CALL_DATA_KEY_PAIR_ID_CONTEXT_BASE: &[u8] = b"oasis-runtime-sdk/private: tx";
#[derive(Clone, Debug, Default, cbor::Encode, cbor::Decode)]
pub struct CallEnvelopeX25519DeoxysII {
pub pk: x25519::PublicKey,
pub nonce: [u8; deoxysii::NONCE_SIZE],
#[cbor(optional)]
pub epoch: u64,
pub data: Vec<u8>,
}
#[derive(Clone, Debug, Default, cbor::Encode, cbor::Decode)]
pub struct ResultEnvelopeX25519DeoxysII {
pub nonce: [u8; deoxysii::NONCE_SIZE],
pub data: Vec<u8>,
}