mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-08 12:10:48 +02:00
c674cec4ac
Move out DTLS 1.3 specific tests into test_dtls13.c. (Also move out from test_dtls.c) Move out DTLS tests into test_dtls.c. Move out LMS and XMSS tests into test_lms_xmss.c. Move out SSL session tests into test_session.c. Move out remaining ML-DSA/Dilithium tests in api.c into test_mldsa.c.
40 lines
1.5 KiB
C
40 lines
1.5 KiB
C
/* test_lms_xmss.h
|
|
*
|
|
* Copyright (C) 2006-2026 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 3 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_LMS_XMSS_H
|
|
#define WOLFCRYPT_TEST_LMS_XMSS_H
|
|
|
|
#include <tests/api/api_decl.h>
|
|
|
|
int test_wc_LmsKey_sign_verify(void);
|
|
int test_wc_LmsKey_reload_cache(void);
|
|
int test_rfc9802_lms_x509_verify(void);
|
|
int test_rfc9802_xmss_x509_verify(void);
|
|
|
|
/* LMS, and RFC 9802 (HSS/LMS and XMSS/XMSS^MT in X.509). */
|
|
#define TEST_LMS_XMSS_DECLS \
|
|
TEST_DECL_GROUP("lms", test_wc_LmsKey_sign_verify), \
|
|
TEST_DECL_GROUP("lms", test_wc_LmsKey_reload_cache), \
|
|
TEST_DECL_GROUP("lms", test_rfc9802_lms_x509_verify), \
|
|
TEST_DECL_GROUP("xmss", test_rfc9802_xmss_x509_verify)
|
|
|
|
#endif /* WOLFCRYPT_TEST_LMS_XMSS_H */
|