mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-08-23 12:43:22 +02:00
71 lines
3.1 KiB
C
71 lines
3.1 KiB
C
/* test_ed448.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_ED448_H
|
|
#define WOLFCRYPT_TEST_ED448_H
|
|
|
|
#include <tests/api/api_decl.h>
|
|
|
|
int test_wc_ed448_make_key(void);
|
|
int test_wc_ed448_init(void);
|
|
int test_wc_ed448_sign_msg(void);
|
|
int test_wc_ed448_verify_sig_S_range(void);
|
|
int test_wc_ed448_sign_msg_pubonly_fails(void);
|
|
int test_wc_ed448_import_public(void);
|
|
int test_wc_ed448_import_private_key(void);
|
|
int test_wc_ed448_export(void);
|
|
int test_wc_ed448_size(void);
|
|
int test_wc_ed448_exportKey(void);
|
|
int test_wc_Ed448PublicKeyToDer(void);
|
|
int test_wc_Ed448KeyToDer(void);
|
|
int test_wc_Ed448PrivateKeyToDer(void);
|
|
int test_wc_Ed448KeyToDer_oneasymkey_version(void);
|
|
int test_wc_Ed448PrivateKeyDecode_ex(void);
|
|
int test_wc_ed448_reject_small_order_keys(void);
|
|
int test_wc_Ed448DecisionCoverage(void);
|
|
int test_wc_Ed448FeatureCoverage(void);
|
|
int test_wc_ed448_import_private_only(void);
|
|
int test_wc_ed448_check_key_decisions(void);
|
|
|
|
#define TEST_ED448_DECLS \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_make_key), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_init), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_sign_msg), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_verify_sig_S_range), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_sign_msg_pubonly_fails), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_import_public), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_import_private_key), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_export), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_size), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_exportKey), \
|
|
TEST_DECL_GROUP("ed448", test_wc_Ed448PublicKeyToDer), \
|
|
TEST_DECL_GROUP("ed448", test_wc_Ed448KeyToDer), \
|
|
TEST_DECL_GROUP("ed448", test_wc_Ed448PrivateKeyToDer), \
|
|
TEST_DECL_GROUP("ed448", test_wc_Ed448KeyToDer_oneasymkey_version), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_reject_small_order_keys), \
|
|
TEST_DECL_GROUP("ed448", test_wc_Ed448DecisionCoverage), \
|
|
TEST_DECL_GROUP("ed448", test_wc_Ed448FeatureCoverage), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_import_private_only), \
|
|
TEST_DECL_GROUP("ed448", test_wc_ed448_check_key_decisions), \
|
|
TEST_DECL_GROUP("ed448", test_wc_Ed448PrivateKeyDecode_ex) \
|
|
|
|
#endif /* WOLFCRYPT_TEST_ED448_H */
|