wpa_supplicant / hostapd
2.5
|
SHA1 hash implementation and interface functions. More...
#include "includes.h"
#include "common.h"
#include "sha1.h"
#include "sha1_i.h"
#include "md5.h"
#include "crypto.h"
Typedefs | |
typedef struct SHA1Context | SHA1_CTX |
Functions | |
void | SHA1Transform (u32 state[5], const unsigned char buffer[64]) |
void | SHA1Init (SHA1_CTX *context) |
void | SHA1Update (SHA1_CTX *context, const void *_data, u32 len) |
void | SHA1Final (unsigned char digest[20], SHA1_CTX *context) |
SHA1 hash implementation and interface functions.
#define blk | ( | i | ) |
#define blk0 | ( | i | ) |
#define R0 | ( | v, | |
w, | |||
x, | |||
y, | |||
z, | |||
i | |||
) |
#define R1 | ( | v, | |
w, | |||
x, | |||
y, | |||
z, | |||
i | |||
) |
#define R3 | ( | v, | |
w, | |||
x, | |||
y, | |||
z, | |||
i | |||
) |
#define R4 | ( | v, | |
w, | |||
x, | |||
y, | |||
z, | |||
i | |||
) |