All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
hmacsha1.c File Reference
#include <freeradius-devel/libradius.h>
+ Include dependency graph for hmacsha1.c:

Go to the source code of this file.

Functions

void fr_hmac_sha1 (uint8_t digest[SHA1_DIGEST_LENGTH], uint8_t const *text, size_t text_len, uint8_t const *key, size_t key_len)
 Calculate HMAC using SHA1. More...
 

Function Documentation

void fr_hmac_sha1 ( uint8_t  digest[SHA1_DIGEST_LENGTH],
uint8_t const *  text,
size_t  text_len,
uint8_t const *  key,
size_t  key_len 
)

Calculate HMAC using SHA1.

Parameters
digestCaller digest to be filled in.
textPointer to data stream.
text_lenlength of data stream.
keyPointer to authentication key.
key_lenLength of authentication key.

Definition at line 28 of file hmacsha1.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: