BeRTOS
|
MD2 Message-Digest algorithm. More...
Go to the source code of this file.
Data Structures | |
struct | Md2Context |
Context for MD2 computation. More... | |
Defines | |
#define | NUM_COMPUTE_ROUNDS 18 |
Number of compute rounds. | |
#define | COMPUTE_ARRAY_LEN CONFIG_MD2_BLOCK_LEN * 3 |
Lenght of compute array. | |
Functions | |
void | md2_init (Md2Context *context) |
Algorithm initialization. | |
void | md2_update (Md2Context *context, const void *block_in, size_t block_len) |
Update block. | |
uint8_t * | md2_end (Md2Context *context) |
Ends an MD2 message digest operation. | |
bool | md2_test (void) |
MD2 test fuction. |
MD2 Message-Digest algorithm.
The algorithm takes as input a message of arbitrary length and produces as output a 128-bit message digest of the input. It is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having a given prespecified target message digest.
Definition in file md2.h.
uint8_t* md2_end | ( | Md2Context * | context | ) |
void md2_init | ( | Md2Context * | context | ) |