1gnutls_hmac_fast(3)                 gnutls                 gnutls_hmac_fast(3)
2
3
4

NAME

6       gnutls_hmac_fast - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int  gnutls_hmac_fast(gnutls_mac_algorithm_t  algorithm,  const  void *
12       key, size_t keylen, const void * text, size_t textlen, void * digest);
13

ARGUMENTS

15       gnutls_mac_algorithm_t algorithm
16                   the hash algorithm to use
17
18       const void * key
19                   the key to use
20
21       size_t keylen
22                   The length of the key
23
24       const void * text
25                   the data to hash
26
27       size_t textlen
28                   The length of data to hash
29
30       void * digest
31                   is the output value of the hash
32

DESCRIPTION

34       This convenience function will hash the given data and return output on
35       a single call.
36

RETURNS

38       Zero or a negative value on error.
39

SINCE

41       2.10.0
42

REPORTING BUGS

44       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
45       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
46       http://www.gnu.org/gethelp/
47
49       Copyright © 2008 Free Software Foundation.
50       Copying  and  distribution  of this file, with or without modification,
51       are permitted in any medium  without  royalty  provided  the  copyright
52       notice and this notice are preserved.
53

SEE ALSO

55       The  full  documentation  for gnutls is maintained as a Texinfo manual.
56       If the info and gnutls programs are properly installed  at  your  site,
57       the command
58
59              info gnutls
60
61       should give you access to the complete manual.
62
63
64
65gnutls                             2.12.6.1                gnutls_hmac_fast(3)
Impressum