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).
pub fn gost_gmac_protect(
ctx: &SecurityContext,
ciphered_tag: u8,
plaintext: &[u8],
) -> Result<Vec<u8>, CipherError>Protects an APDU using GOST GMAC (Kuznyechik GCM-like mode).