diff --git a/wolfssl/wolfcrypt/poly1305.h b/wolfssl/wolfcrypt/poly1305.h index 600156279..6383b589f 100644 --- a/wolfssl/wolfcrypt/poly1305.h +++ b/wolfssl/wolfcrypt/poly1305.h @@ -2,14 +2,14 @@ * * Copyright (C) 2006-2014 wolfSSL Inc. * - * This file is part of CyaSSL. + * This file is part of wolfSSL. (formerly known as CyaSSL) * - * CyaSSL is free software; you can redistribute it and/or modify + * wolfSSL is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * CyaSSL is distributed in the hope that it will be useful, + * wolfSSL is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -22,10 +22,10 @@ #ifdef HAVE_POLY1305 -#ifndef CTAO_CRYPT_POLY1305_H -#define CTAO_CRYPT_POLY1305_H +#ifndef WOLF_CRYPT_POLY1305_H +#define WOLF_CRYPT_POLY1305_H -#include +#include #ifdef __cplusplus extern "C" { @@ -69,15 +69,15 @@ typedef struct Poly1305 { /* does init */ -CYASSL_API int Poly1305SetKey(Poly1305* poly1305, const byte* key, word32 kySz); -CYASSL_API int Poly1305Update(Poly1305* poly1305, const byte*, word32); -CYASSL_API int Poly1305Final(Poly1305* poly1305, byte* tag); +WOLFSSL_API int wc_Poly1305SetKey(Poly1305* poly1305, const byte* key, word32 kySz); +WOLFSSL_API int wc_Poly1305Update(Poly1305* poly1305, const byte*, word32); +WOLFSSL_API int wc_Poly1305Final(Poly1305* poly1305, byte* tag); #ifdef __cplusplus } /* extern "C" */ #endif -#endif /* CTAO_CRYPT_POLY1305_H */ +#endif /* WOLF_CRYPT_POLY1305_H */ #endif /* HAVE_POLY1305 */ diff --git a/wolfssl/wolfcrypt/rabbit.h b/wolfssl/wolfcrypt/rabbit.h index 08da26c83..89582b5dd 100644 --- a/wolfssl/wolfcrypt/rabbit.h +++ b/wolfssl/wolfcrypt/rabbit.h @@ -2,14 +2,14 @@ * * Copyright (C) 2006-2014 wolfSSL Inc. * - * This file is part of CyaSSL. + * This file is part of wolfSSL. (formerly known as CyaSSL) * - * CyaSSL is free software; you can redistribute it and/or modify + * wolfSSL is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * CyaSSL is distributed in the hope that it will be useful, + * wolfSSL is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -22,10 +22,10 @@ #ifndef NO_RABBIT -#ifndef CTAO_CRYPT_RABBIT_H -#define CTAO_CRYPT_RABBIT_H +#ifndef WOLF_CRYPT_RABBIT_H +#define WOLF_CRYPT_RABBIT_H -#include +#include #ifdef __cplusplus extern "C" { @@ -52,14 +52,14 @@ typedef struct Rabbit { } Rabbit; -CYASSL_API int RabbitProcess(Rabbit*, byte*, const byte*, word32); -CYASSL_API int RabbitSetKey(Rabbit*, const byte* key, const byte* iv); +WOLFSSL_API int wc_RabbitProcess(Rabbit*, byte*, const byte*, word32); +WOLFSSL_API int wc_RabbitSetKey(Rabbit*, const byte* key, const byte* iv); #ifdef __cplusplus } /* extern "C" */ #endif -#endif /* CTAO_CRYPT_RABBIT_H */ +#endif /* WOLF_CRYPT_RABBIT_H */ #endif /* NO_RABBIT */ diff --git a/wolfssl/wolfcrypt/ripemd.h b/wolfssl/wolfcrypt/ripemd.h index de062698c..3c8b9b9e0 100644 --- a/wolfssl/wolfcrypt/ripemd.h +++ b/wolfssl/wolfcrypt/ripemd.h @@ -2,14 +2,14 @@ * * Copyright (C) 2006-2014 wolfSSL Inc. * - * This file is part of CyaSSL. + * This file is part of wolfSSL. (formerly known as CyaSSL) * - * CyaSSL is free software; you can redistribute it and/or modify + * wolfSSL is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * CyaSSL is distributed in the hope that it will be useful, + * wolfSSL is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. @@ -20,12 +20,12 @@ */ -#ifdef CYASSL_RIPEMD +#ifdef WOLFSSL_RIPEMD -#ifndef CTAO_CRYPT_RIPEMD_H -#define CTAO_CRYPT_RIPEME_H +#ifndef WOLF_CRYPT_RIPEMD_H +#define WOLF_CRYPT_RIPEME_H -#include +#include #ifdef __cplusplus extern "C" { @@ -51,14 +51,14 @@ typedef struct RipeMd { } RipeMd; -CYASSL_API void InitRipeMd(RipeMd*); -CYASSL_API void RipeMdUpdate(RipeMd*, const byte*, word32); -CYASSL_API void RipeMdFinal(RipeMd*, byte*); +WOLFSSL_API void wc_InitRipeMd(RipeMd*); +WOLFSSL_API void wc_RipeMdUpdate(RipeMd*, const byte*, word32); +WOLFSSL_API void wc_RipeMdFinal(RipeMd*, byte*); #ifdef __cplusplus } /* extern "C" */ #endif -#endif /* CTAO_CRYPT_RIPEMD_H */ -#endif /* CYASSL_RIPEMD */ +#endif /* WOLF_CRYPT_RIPEMD_H */ +#endif /* WOLFSSL_RIPEMD */