#include <sys/types.h>
#include <memory.h>
#include "sha1.h"
#include "sha1_hmac.h"
Defines | |
#define | IPAD_BYTE 0x36 |
#define | OPAD_BYTE 0x5C |
#define | B 64 |
#define | MIN(a, b) (a < b ? a : b) |
Functions | |
void | HmacSha1::sha1_hmac (char *dest, char *key, size_t klen, char *text, size_t tlen) |
void | HmacSha1::sha1_hmac_96 (char *dest, char *key, size_t klen, char *text, size_t tlen) |
#define B 64 |
#define IPAD_BYTE 0x36 |
#define MIN | ( | a, | |||
b | ) | (a < b ? a : b) |
#define OPAD_BYTE 0x5C |