Home | History | Annotate | Download | only in hmac

Lines Matching refs:hmac

15   HMAC support, process a block of memory, Tom St Denis/Dobes Vandermeer
21 HMAC a block of memory to produce the authentication tag
25 @param in The data to HMAC
26 @param inlen The length of the data to HMAC (octets)
36 hmac_state *hmac;
54 /* nope, so call the hmac functions */
55 /* allocate ram for hmac state */
56 hmac = XMALLOC(sizeof(hmac_state));
57 if (hmac == NULL) {
61 if ((err = hmac_init(hmac, hash, key, keylen)) != CRYPT_OK) {
65 if ((err = hmac_process(hmac, in, inlen)) != CRYPT_OK) {
69 if ((err = hmac_done(hmac, out, outlen)) != CRYPT_OK) {
76 zeromem(hmac, sizeof(hmac_state));
79 XFREE(hmac);
86 /* $Source: /cvs/libtom/libtomcrypt/src/mac/hmac/hmac_memory.c,v $ */