[][src]Function hactool_sys::mbedtls_cipher_write_tag

pub unsafe extern "C" fn mbedtls_cipher_write_tag(
    ctx: *mut mbedtls_cipher_context_t,
    tag: *mut c_uchar,
    tag_len: usize
) -> c_int

\brief Write tag for AEAD ciphers. Currently only supported with GCM. Must be called after mbedtls_cipher_finish().

\param ctx Generic cipher context \param tag buffer to write the tag \param tag_len Length of the tag to write

\return 0 on success, or a specific error code.