My Project
Loading...
Searching...
No Matches
md2.h File Reference

Go to the source code of this file.

Data Structures

struct  Md2
 

Typedefs

typedef struct Md2 Md2
 

Functions

WOLFSSL_API void wc_InitMd2 (Md2 *)
 This function initializes md2. This is automatically called by wc_Md2Hash.
 
WOLFSSL_API void wc_Md2Update (Md2 *, const byte *, word32)
 Can be called to continually hash the provided byte array of length len.
 
WOLFSSL_API void wc_Md2Final (Md2 *, byte *)
 Finalizes hashing of data. Result is placed into hash.
 
WOLFSSL_API int wc_Md2Hash (const byte *, word32, byte *)
 Convenience function, handles all the hashing and places the result into hash.
 

Variables

 C
 

Variable Documentation

◆ C

C
extern
Initial value:
{
#endif
enum {
MD2 = WC_HASH_TYPE_MD2,
MD2_BLOCK_SIZE = 16,
MD2_DIGEST_SIZE = 16,
MD2_PAD_SIZE = 16,
MD2_X_SIZE = 48
}