[][src]Trait yaca::ContextWithXcmDecryptProperties

pub trait ContextWithXcmDecryptProperties: Context {
    pub fn set_property_ccm_aad(
        &self,
        ccm_aad: &[u8],
        ciphertext_len: usize
    ) -> Result<()>; pub fn set_property_gcm_tag(&self, gcm_tag: &[u8]) -> Result<()> { ... }
pub fn set_property_gcm_aad(&self, gcm_aad: &[u8]) -> Result<()> { ... }
pub fn set_property_ccm_tag(&self, ccm_tag: &[u8]) -> Result<()> { ... } }

Implementation of GCM/CCM properties for Decrypt/Open

Required methods

pub fn set_property_ccm_aad(
    &self,
    ccm_aad: &[u8],
    ciphertext_len: usize
) -> Result<()>
[src]

Sets the CCM Additional Authentication Data

Loading content...

Provided methods

pub fn set_property_gcm_tag(&self, gcm_tag: &[u8]) -> Result<()>[src]

Sets the GCM tag

pub fn set_property_gcm_aad(&self, gcm_aad: &[u8]) -> Result<()>[src]

Sets the GCM Additional Authentication Data

pub fn set_property_ccm_tag(&self, ccm_tag: &[u8]) -> Result<()>[src]

Sets the CCM tag

Loading content...

Implementors

impl ContextWithXcmDecryptProperties for DecryptContext[src]

impl ContextWithXcmDecryptProperties for OpenContext[src]

Loading content...