Blame doc/functions/gnutls_hmac_fast

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_hmac_fast} (gnutls_mac_algorithm_t @var{algorithm}, const void * @var{key}, size_t @var{keylen}, const void * @var{ptext}, size_t @var{ptext_len}, void * @var{digest})
Packit Service 4684c1
@var{algorithm}: the hash algorithm to use
Packit Service 4684c1
Packit Service 4684c1
@var{key}: the key to use
Packit Service 4684c1
Packit Service 4684c1
@var{keylen}: the length of the key
Packit Service 4684c1
Packit Service 4684c1
@var{ptext}: the data to hash
Packit Service 4684c1
Packit Service 4684c1
@var{ptext_len}: the length of data to hash
Packit Service 4684c1
Packit Service 4684c1
@var{digest}: is the output value of the hash
Packit Service 4684c1
Packit Service 4684c1
This convenience function will hash the given data and return output
Packit Service 4684c1
on a single call. Note, this call will not work for MAC algorithms
Packit Service 4684c1
that require nonce (like UMAC or GMAC).
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} Zero or a negative error code on error.
Packit Service 4684c1
Packit Service 4684c1
@strong{Since:} 2.10.0
Packit Service 4684c1
@end deftypefun