4 * Copyright 2007 Develer S.r.l. (http://www.develer.com/)
5 * This file is part of DevLib - See README.devlib for information.
8 * \brief MD2 Message-Digest algorithm.
11 * \author Daniele Basile <asterix@develer.com>
16 *#* Revision 1.1 2007/01/30 15:53:26 batt
17 *#* Add first md2 skel.
24 #include <cfg/compiler.h>
25 #include <appconfig.h>
28 * Context for MD2 computation.
30 typedef struct Md2Context
32 uint8_t buffer[CONFIG_MD2_BLOBK_LEN]; ///< Input buffer.
33 uint8_t state[CONFIG_MD2_BLOBK_LEN]; ///< Current state buffer.
34 uint8_t checksum[CONFIG_MD2_BLOBK_LEN]; ///< Checksum.
35 size_t counter; ///< Counter of remaining bytes.
39 #endif /* ALGOS_MD2_H */