Update aes.h with function prototypes

This commit is contained in:
kaleb-himes
2024-01-25 15:41:37 -07:00
parent e272ec0a43
commit 22706ed5f3

View File

@ -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
*/
/*!
@ -479,6 +469,10 @@ WOLFSSL_API int wc_AesGcmDecryptFinal(Aes* aes, const byte* authTag,
#ifndef WOLFSSL_ARMASM
WOLFSSL_LOCAL void GHASH(Aes* aes, const byte* a, word32 aSz, const byte* c,
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