Skip to main content

gost_gmac_protect

Function gost_gmac_protect 

Source
pub fn gost_gmac_protect(
    ctx: &SecurityContext,
    ciphered_tag: u8,
    plaintext: &[u8],
) -> Result<Vec<u8>, CipherError>
Expand description

Protects an APDU using GOST GMAC (Kuznyechik GCM-like mode).