diff --git a/wolfssl/wolfcrypt/aes.h b/wolfssl/wolfcrypt/aes.h index 15afa380a..4a855d410 100644 --- a/wolfssl/wolfcrypt/aes.h +++ b/wolfssl/wolfcrypt/aes.h @@ -1,22 +1,12 @@ /* aes.h * - * Copyright (C) 2006-2021 wolfSSL Inc. + * Copyright (C) 2006-2023 wolfSSL Inc. All rights reserved. * * This file is part of wolfSSL. * - * 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. + * Contact licensing@wolfssl.com with any questions or comments. * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + * https://www.wolfssl.com */ /*! @@ -478,7 +468,11 @@ WOLFSSL_API int wc_AesGcmDecryptFinal(Aes* aes, const byte* authTag, #endif /* WC_NO_RNG */ #ifndef WOLFSSL_ARMASM WOLFSSL_LOCAL void GHASH(Aes* aes, const byte* a, word32 aSz, const byte* c, - word32 cSz, byte* s, word32 sSz); + word32 cSz, byte* s, word32 sSz); +#else +WOLFSSL_LOCAL void GHASH(Gcm* gcm, const byte* a, word32 aSz, const byte* c, + word32 cSz, byte* s, word32 sSz); +WOLFSSL_LOCAL void GMULT(byte* X, byte* Y); #endif #endif /* HAVE_AESGCM */ #ifdef HAVE_AESCCM