gnutls_cipher_tag3
Api function
Usage
#include <gnutls/crypto.h>
int gnutls_cipher_tag(gnutls_cipher_hd_t handle, void * tag, size_t tag_size);
Arguments
gnutls_cipher_hd_t handle
|
is a |
|---|---|
void * tag
|
will hold the tag |
size_t tag_size
|
the length of the tag to return |
Overview
This function operates on authenticated encryption with associated data (AEAD) ciphers and will return the output tag.
Returns
Zero or a negative error code on error.
Since
3.0
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.