|
DTS Application Library
0.2.3
Application library containing referenced objects and interfaces to common libraries
|
MD5 Hashing checking and HMAC Functions. More...
Functions | |
| void | md5sum2 (unsigned char *buff, const void *data, unsigned long len, const void *data2, unsigned long len2) |
| Calculate the MD5 hash accross 2 data chunks. More... | |
| void | md5sum (unsigned char *buff, const void *data, unsigned long len) |
| Calculate the MD5 hash. More... | |
| int | md5cmp (unsigned char *digest1, unsigned char *digest2) |
| Compare two md5 hashes. More... | |
| void | md5hmac (unsigned char *buff, const void *data, unsigned long len, const void *key, unsigned long klen) |
| Hash Message Authentication Codes (HMAC) MD5. More... | |
MD5 Hashing checking and HMAC Functions.
| int md5cmp | ( | unsigned char * | digest1, |
| unsigned char * | digest2 | ||
| ) |
| void md5hmac | ( | unsigned char * | buff, |
| const void * | data, | ||
| unsigned long | len, | ||
| const void * | key, | ||
| unsigned long | klen | ||
| ) |
Hash Message Authentication Codes (HMAC) MD5.
| buff | HMAC returned in this buffer (16 bytes). |
| data | Data to sign. |
| len | Length of data. |
| key | Key to signwith. |
| klen | Length of key. |
Definition at line 290 of file util.c.
References md5sum2().
| void md5sum | ( | unsigned char * | buff, |
| const void * | data, | ||
| unsigned long | len | ||
| ) |
Calculate the MD5 hash.
| buff | buffer to place the hash (16 bytes). |
| data | First data chunk to calculate. |
| len | Length of data. |
Definition at line 202 of file util.c.
References md5sum2().
| void md5sum2 | ( | unsigned char * | buff, |
| const void * | data, | ||
| unsigned long | len, | ||
| const void * | data2, | ||
| unsigned long | len2 | ||
| ) |