compatibility updates

This commit is contained in:
Kaleb Himes 2014-12-19 13:06:42 -07:00
parent 8212f5df46
commit 4f15949bd6
2 changed files with 9 additions and 1 deletions

View File

@ -147,6 +147,11 @@
#define cyassl_chacha wolfssl_chacha
#define cyassl_rc4 wolfssl_rc4
#define cyassl_aes wolfssl_aes
/* fips defines */
#define WOLFSSL_GENERAL_ALIGNMENT CYASSL_GENERAL_ALIGNMENT
#define WOLFSSL_LEAVE CYASSL_LEAVE
#define WOLFSSL_ERROR CYASSL_ERROR
#define wolfcrypt_test ctaocrypt_test
/* keys.c */
#define cyassl_triple_des wolfssl_triple_des

View File

@ -19,8 +19,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <cyassl/ctaocrypt/types.h>
/* Name change compatibility layer */
#include <cyassl/ssl.h>
#include <cyassl/ctaocrypt/types.h>
// #if !defined(WOLF_CRYPT_TYPES_H) && !defined(CTAO_CRYPT_TYPES_H)
// #define WOLF_CRYPT_TYPES_H