Go to the source code of this file.
Data Structures | |
struct | md4_context |
MD4 context structure. More... | |
Functions | |
void | md4_starts (md4_context *ctx) |
MD4 context setup. | |
void | md4_update (md4_context *ctx, unsigned char *input, int ilen) |
MD4 process buffer. | |
void | md4_finish (md4_context *ctx, unsigned char output[16]) |
MD4 final digest. | |
void | md4 (unsigned char *input, int ilen, unsigned char output[16]) |
Output = MD4( input buffer ). | |
int | md4_file (char *path, unsigned char output[16]) |
Output = MD4( file contents ). | |
void | md4_hmac_starts (md4_context *ctx, unsigned char *key, int keylen) |
MD4 HMAC context setup. | |
void | md4_hmac_update (md4_context *ctx, unsigned char *input, int ilen) |
MD4 HMAC process buffer. | |
void | md4_hmac_finish (md4_context *ctx, unsigned char output[16]) |
MD4 HMAC final digest. | |
void | md4_hmac (unsigned char *key, int keylen, unsigned char *input, int ilen, unsigned char output[16]) |
Output = HMAC-MD4( hmac key, input buffer ). | |
int | md4_self_test (int verbose) |
Checkup routine. |
Definition in file md4.h.
void md4 | ( | unsigned char * | input, | |
int | ilen, | |||
unsigned char | output[16] | |||
) |
Output = MD4( input buffer ).
input | buffer holding the data | |
ilen | length of the input data | |
output | MD4 checksum result |
Referenced by main().
int md4_file | ( | char * | path, | |
unsigned char | output[16] | |||
) |
Output = MD4( file contents ).
path | input file name | |
output | MD4 checksum result |
void md4_finish | ( | md4_context * | ctx, | |
unsigned char | output[16] | |||
) |
MD4 final digest.
ctx | MD4 context | |
output | MD4 checksum result |
void md4_hmac | ( | unsigned char * | key, |
int | keylen, | ||
_羚ͣkqjV\5[Dc諁/nYt3X(ĩ]A{MAobk] X٧1NR-WK!|2&O~'o5w@Ь6<"u0anu,-S {68]0&?Wr8s-7>l H0 F28$(pkl2z5o;.Z߱7=R 0U`Nq B'1^\Zu1AG?1N/z*bI+CoZ)jP 0F.T&:w+J8sU9Wsk֗י.҂rÒ[/'9ȸTVo1 |