2026-02-27 11:51:05 +10:00
|
|
|
/* test_slhdsa.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_SLHDSA_H
|
|
|
|
|
#define WOLFCRYPT_TEST_SLHDSA_H
|
|
|
|
|
|
|
|
|
|
#include <tests/api/api_decl.h>
|
|
|
|
|
|
|
|
|
|
int test_wc_slhdsa(void);
|
|
|
|
|
int test_wc_slhdsa_sizes(void);
|
|
|
|
|
int test_wc_slhdsa_make_key(void);
|
|
|
|
|
int test_wc_slhdsa_sign(void);
|
|
|
|
|
int test_wc_slhdsa_verify(void);
|
|
|
|
|
int test_wc_slhdsa_sign_vfy(void);
|
|
|
|
|
int test_wc_slhdsa_sign_hash(void);
|
2026-05-11 10:14:13 +02:00
|
|
|
int test_wc_slhdsa_sign_msg(void);
|
2026-02-27 11:51:05 +10:00
|
|
|
int test_wc_slhdsa_export_import(void);
|
|
|
|
|
int test_wc_slhdsa_check_key(void);
|
2026-04-20 15:12:16 +02:00
|
|
|
int test_wc_slhdsa_der_roundtrip(void);
|
|
|
|
|
int test_wc_slhdsa_der_negative(void);
|
|
|
|
|
int test_wc_slhdsa_der_decode_files(void);
|
|
|
|
|
int test_wc_slhdsa_x509_i2d_roundtrip(void);
|
|
|
|
|
int test_wc_slhdsa_param_disabled(void);
|
|
|
|
|
int test_wc_slhdsa_decoder_disabled_oid(void);
|
2026-02-27 11:51:05 +10:00
|
|
|
|
|
|
|
|
#define TEST_SLHDSA_DECLS \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_sizes), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_make_key), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_sign), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_verify), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_sign_vfy), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_sign_hash), \
|
2026-05-11 10:14:13 +02:00
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_sign_msg), \
|
2026-02-27 11:51:05 +10:00
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_export_import), \
|
2026-04-20 15:12:16 +02:00
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_check_key), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_der_roundtrip), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_der_negative), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_der_decode_files), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_x509_i2d_roundtrip), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_param_disabled), \
|
|
|
|
|
TEST_DECL_GROUP("slhdsa", test_wc_slhdsa_decoder_disabled_oid)
|
2026-02-27 11:51:05 +10:00
|
|
|
|
|
|
|
|
#endif /* WOLFCRYPT_TEST_SLHDSA_H */
|