pub fn gost_unprotect(
ctx: &mut SecurityContext,
apdu: &[u8],
) -> Result<(u8, Vec<u8>), CipherError>Expand description
Removes GOST ciphering from an APDU, returning (ciphered_tag, plaintext).
Rejects a replayed or reordered-backward invocation counter before any
decryption is attempted; see unprotect.