source: azure_iot_hub/trunk/wolfssl-3.15.7/wolfssl/openssl/ripemd.h@ 388

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

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 1.6 KB
Line 
1/* ripemd.h
2 *
3 * Copyright (C) 2006-2017 wolfSSL Inc.
4 *
5 * This file is part of wolfSSL.
6 *
7 * wolfSSL is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * wolfSSL is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20 */
21
22/* ripemd.h for openssl */
23
24
25#ifndef WOLFSSL_RIPEMD_H_
26#define WOLFSSL_RIPEMD_H_
27
28#include <wolfssl/wolfcrypt/settings.h>
29
30#ifdef __cplusplus
31 extern "C" {
32#endif
33
34
35typedef struct WOLFSSL_RIPEMD_CTX {
36 int holder[32]; /* big enough to hold wolfcrypt, but check on init */
37} WOLFSSL_RIPEMD_CTX;
38
39WOLFSSL_API void wolfSSL_RIPEMD_Init(WOLFSSL_RIPEMD_CTX*);
40WOLFSSL_API void wolfSSL_RIPEMD_Update(WOLFSSL_RIPEMD_CTX*, const void*,
41 unsigned long);
42WOLFSSL_API void wolfSSL_RIPEMD_Final(unsigned char*, WOLFSSL_RIPEMD_CTX*);
43
44
45typedef WOLFSSL_RIPEMD_CTX RIPEMD_CTX;
46
47#define RIPEMD_Init wolfSSL_RIPEMD_Init
48#define RIPEMD_Update wolfSSL_RIPEMD_Update
49#define RIPEMD_Final wolfSSL_RIPEMD_Final
50
51
52#ifdef __cplusplus
53 } /* extern "C" */
54#endif
55
56
57#endif /* WOLFSSL_MD5_H_ */
58
Note: See TracBrowser for help on using the repository browser.