mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-22 16:59:19 +08:00
50 lines
1.0 KiB
C
50 lines
1.0 KiB
C
/* ripemd.h
|
|
*
|
|
* Copyright (C) 2006-2018 wolfSSL Inc. All rights reserved.
|
|
*
|
|
* This file is part of wolfSSL.
|
|
*
|
|
* Contact licensing@wolfssl.com with any questions or comments.
|
|
*
|
|
* http://www.wolfssl.com
|
|
*/
|
|
|
|
|
|
/* ripemd.h for openssl */
|
|
|
|
|
|
#ifndef WOLFSSL_RIPEMD_H_
|
|
#define WOLFSSL_RIPEMD_H_
|
|
|
|
#include <wolfssl/wolfcrypt/settings.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
typedef struct WOLFSSL_RIPEMD_CTX {
|
|
int holder[32]; /* big enough to hold wolfcrypt, but check on init */
|
|
} WOLFSSL_RIPEMD_CTX;
|
|
|
|
WOLFSSL_API void wolfSSL_RIPEMD_Init(WOLFSSL_RIPEMD_CTX*);
|
|
WOLFSSL_API void wolfSSL_RIPEMD_Update(WOLFSSL_RIPEMD_CTX*, const void*,
|
|
unsigned long);
|
|
WOLFSSL_API void wolfSSL_RIPEMD_Final(unsigned char*, WOLFSSL_RIPEMD_CTX*);
|
|
|
|
|
|
typedef WOLFSSL_RIPEMD_CTX RIPEMD_CTX;
|
|
|
|
#define RIPEMD_Init wolfSSL_RIPEMD_Init
|
|
#define RIPEMD_Update wolfSSL_RIPEMD_Update
|
|
#define RIPEMD_Final wolfSSL_RIPEMD_Final
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
|
|
|
|
#endif /* WOLFSSL_MD5_H_ */
|
|
|