mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-04-28 18:44:39 +02:00
API test: move digest functions out
Move all api.c tests of wolfCrypt APIs that are for digests out into separate files.
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
/* test_sha3.h
|
||||
*
|
||||
* Copyright (C) 2006-2025 wolfSSL Inc.
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
#ifndef WOLFCRYPT_TEST_SHA3_H
|
||||
#define WOLFCRYPT_TEST_SHA3_H
|
||||
|
||||
int test_wc_InitSha3(void);
|
||||
int test_wc_Sha3_Update(void);
|
||||
int test_wc_Sha3_224_Final(void);
|
||||
int test_wc_Sha3_256_Final(void);
|
||||
int test_wc_Sha3_384_Final(void);
|
||||
int test_wc_Sha3_512_Final(void);
|
||||
int test_wc_Sha3_224_Copy(void);
|
||||
int test_wc_Sha3_256_Copy(void);
|
||||
int test_wc_Sha3_384_Copy(void);
|
||||
int test_wc_Sha3_512_Copy(void);
|
||||
int test_wc_Sha3_GetFlags(void);
|
||||
|
||||
int test_wc_InitShake256(void);
|
||||
int test_wc_Shake256_Update(void);
|
||||
int test_wc_Shake256_Final(void);
|
||||
int test_wc_Shake256_Copy(void);
|
||||
int test_wc_Shake256Hash(void);
|
||||
|
||||
#endif /* WOLFCRYPT_TEST_SHA3_H */
|
||||
Reference in New Issue
Block a user