Files
wolfssl/tests/api/test_ossl_obj.h
Sean Parkinson 43d831ff06 API testing: split out more test cases
EVP into test_evp_cipher, test_evp_digest, test_evp_pkey and test_evp.
OBJ into test_ossl_obj.
OpenSSL RAND into test_ossl_rand.
OpenSSL PKCS7 and PKCS12 tests into test_ossl_p7p12.
CertificateManager into test_certman.

Move some BIO tests from api.c into test_evp_bio.c.

Fix line lengths.
2026-01-13 06:34:49 +10:00

46 lines
1.6 KiB
C

/* test_ossl_obj.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 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_OSSL_OBJ_H
#define WOLFCRYPT_TEST_OSSL_OBJ_H
#include <tests/api/api_decl.h>
int test_OBJ_NAME_do_all(void);
int test_wolfSSL_OBJ(void);
int test_wolfSSL_OBJ_cmp(void);
int test_wolfSSL_OBJ_txt2nid(void);
int test_wolfSSL_OBJ_txt2obj(void);
int test_wolfSSL_OBJ_ln(void);
int test_wolfSSL_OBJ_sn(void);
#define TEST_OSSL_OBJ_DECLS \
TEST_DECL_GROUP("ossl_obj", test_OBJ_NAME_do_all), \
TEST_DECL_GROUP("ossl_obj", test_wolfSSL_OBJ), \
TEST_DECL_GROUP("ossl_obj", test_wolfSSL_OBJ_cmp), \
TEST_DECL_GROUP("ossl_obj", test_wolfSSL_OBJ_txt2nid), \
TEST_DECL_GROUP("ossl_obj", test_wolfSSL_OBJ_txt2obj), \
TEST_DECL_GROUP("ossl_obj", test_wolfSSL_OBJ_ln), \
TEST_DECL_GROUP("ossl_obj", test_wolfSSL_OBJ_sn)
#endif /* WOLFCRYPT_TEST_OSSL_OBJ_H */