source: UsbWattMeter/trunk/wolfssl-3.7.0/wolfssl/openssl/md5.h@ 164

Last change on this file since 164 was 164, checked in by coas-nagasima, 6 years ago

TOPPERS/ECNLサンプルアプリ「USB充電器電力計」を追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 815 bytes
Line 
1/* md5.h for openssl */
2
3
4#ifndef WOLFSSL_MD5_H_
5#define WOLFSSL_MD5_H_
6
7#include <wolfssl/wolfcrypt/settings.h>
8
9#ifndef NO_MD5
10
11#ifdef WOLFSSL_PREFIX
12#include "prefix_md5.h"
13#endif
14
15#ifdef __cplusplus
16 extern "C" {
17#endif
18
19
20typedef struct WOLFSSL_MD5_CTX {
21 int holder[24]; /* big enough to hold wolfcrypt md5, but check on init */
22} WOLFSSL_MD5_CTX;
23
24WOLFSSL_API void wolfSSL_MD5_Init(WOLFSSL_MD5_CTX*);
25WOLFSSL_API void wolfSSL_MD5_Update(WOLFSSL_MD5_CTX*, const void*, unsigned long);
26WOLFSSL_API void wolfSSL_MD5_Final(unsigned char*, WOLFSSL_MD5_CTX*);
27
28
29typedef WOLFSSL_MD5_CTX MD5_CTX;
30
31#define MD5_Init wolfSSL_MD5_Init
32#define MD5_Update wolfSSL_MD5_Update
33#define MD5_Final wolfSSL_MD5_Final
34
35#ifdef __cplusplus
36 } /* extern "C" */
37#endif
38
39#endif /* NO_MD5 */
40
41#endif /* WOLFSSL_MD5_H_ */
42
Note: See TracBrowser for help on using the repository browser.