[−][src]Function hactool_sys::mbedtls_cipher_check_tag
pub unsafe extern "C" fn mbedtls_cipher_check_tag(
ctx: *mut mbedtls_cipher_context_t,
tag: *const c_uchar,
tag_len: usize
) -> c_int
\brief Check tag for AEAD ciphers. Currently only supported with GCM. Must be called after mbedtls_cipher_finish().
\param ctx Generic cipher context \param tag Buffer holding the tag \param tag_len Length of the tag to check
\return 0 on success, or a specific error code.