#include "hmac.h"
#include "memxor.h"
#include "sha1.h"
#include <string.h>
Defines | |
#define | IPAD 0x36 |
#define | OPAD 0x5c |
Functions | |
int | hmac_sha1 (const void *key, size_t keylen, const void *in, size_t inlen, void *resbuf) |
#define IPAD 0x36 |
Referenced by hmac_sha1().
#define OPAD 0x5c |
Referenced by hmac_sha1().
int hmac_sha1 | ( | const void * | key, | |
size_t | keylen, | |||
const void * | in, | |||
size_t | inlen, | |||
void * | resbuf | |||
) |
References IPAD, memxor(), OPAD, sha1_finish_ctx(), sha1_init_ctx(), sha1_process_block(), and sha1_process_bytes().
Referenced by pbkdf2_sha1().