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

NAME

6       gnutls_hmac_fast - API function
7

SYNOPSIS

9       #include <gnutls/crypto.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 error code on error.
39

SINCE

41       2.10.0
42

REPORTING BUGS

44       Report bugs to <bugs@gnutls.org>.
45       Home page: http://www.gnutls.org
46
47
49       Copyright © 2001-2014 Free Software Foundation, Inc..
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 /usr/share/doc/gnutls/ directory does not contain the HTML  form
57       visit
58
59       http://www.gnutls.org/manual/
60
61gnutls                              3.3.29                 gnutls_hmac_fast(3)
Impressum