Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of wolfSSL by
md5.h
00001 /* md5.h for openssl */ 00002 00003 00004 #ifndef WOLFSSL_MD5_H_ 00005 #define WOLFSSL_MD5_H_ 00006 00007 #include <wolfssl/wolfcrypt/settings.h> 00008 00009 #ifndef NO_MD5 00010 00011 #ifdef WOLFSSL_PREFIX 00012 #include "prefix_md5.h" 00013 #endif 00014 00015 #ifdef __cplusplus 00016 extern "C" { 00017 #endif 00018 00019 00020 typedef struct WOLFSSL_MD5_CTX { 00021 int holder[28 + (WC_ASYNC_DEV_SIZE / sizeof(int))]; /* big enough to hold wolfcrypt md5, but check on init */ 00022 } WOLFSSL_MD5_CTX; 00023 00024 WOLFSSL_API void wolfSSL_MD5_Init(WOLFSSL_MD5_CTX*); 00025 WOLFSSL_API void wolfSSL_MD5_Update(WOLFSSL_MD5_CTX*, const void*, unsigned long); 00026 WOLFSSL_API void wolfSSL_MD5_Final(unsigned char*, WOLFSSL_MD5_CTX*); 00027 00028 00029 typedef WOLFSSL_MD5_CTX MD5_CTX; 00030 00031 #define MD5_Init wolfSSL_MD5_Init 00032 #define MD5_Update wolfSSL_MD5_Update 00033 #define MD5_Final wolfSSL_MD5_Final 00034 00035 #ifdef OPENSSL_EXTRA_BSD 00036 #define MD5Init wolfSSL_MD5_Init 00037 #define MD5Update wolfSSL_MD5_Update 00038 #define MD5Final wolfSSL_MD5_Final 00039 #endif 00040 00041 #ifdef __cplusplus 00042 } /* extern "C" */ 00043 #endif 00044 00045 #endif /* NO_MD5 */ 00046 00047 #endif /* WOLFSSL_MD5_H_ */ 00048
Generated on Tue Jul 12 2022 23:30:58 by
1.7.2
