Data Structures | Typedefs | Functions | Variables
md5.h File Reference

Go to the source code of this file.

Data Structures

struct  wc_Md5
 

Typedefs

typedef struct wc_Md5 wc_Md5
 

Functions

WOLFSSL_API int wc_InitMd5 (wc_Md5 *)
 This function initializes md5. This is automatically called by wc_Md5Hash. More...
 
WOLFSSL_API int wc_InitMd5_ex (wc_Md5 *, void *, int)
 
WOLFSSL_API int wc_Md5Update (wc_Md5 *, const byte *, word32)
 Can be called to continually hash the provided byte array of length len. More...
 
WOLFSSL_API int wc_Md5Final (wc_Md5 *, byte *)
 Finalizes hashing of data. Result is placed into hash. Md5 Struct is reset. Note: This function will also return the result of calling IntelQaSymMd5() in the case that HAVE_INTEL_QA is defined. More...
 
WOLFSSL_API void wc_Md5Free (wc_Md5 *)
 Resets the Md5 structure. Note: this is only supported if you have WOLFSSL_TI_HASH defined. More...
 
WOLFSSL_API int wc_Md5GetHash (wc_Md5 *, byte *)
 Gets hash data. Result is placed into hash. Md5 struct is not reset. More...
 
WOLFSSL_API int wc_Md5Copy (wc_Md5 *, wc_Md5 *)
 
WOLFSSL_API void wc_Md5SizeSet (wc_Md5 *md5, word32 len)
 
WOLFSSL_API int wc_Md5SetFlags (wc_Md5 *md5, word32 flags)
 
WOLFSSL_API int wc_Md5GetFlags (wc_Md5 *md5, word32 *flags)
 

Variables

 C
 

Variable Documentation

◆ C

C
Initial value:
{
#endif
#ifndef NO_OLD_WC_NAMES
#define Md5 wc_Md5
#define MD5 WC_MD5
#define MD5_BLOCK_SIZE WC_MD5_BLOCK_SIZE
#define MD5_DIGEST_SIZE WC_MD5_DIGEST_SIZE
#define WC_MD5_PAD_SIZE WC_MD5_PAD_SIZE
#endif
enum {
WC_MD5 = WC_HASH_TYPE_MD5,
WC_MD5_BLOCK_SIZE = 64,
WC_MD5_DIGEST_SIZE = 16,
WC_MD5_PAD_SIZE = 56
}