/* * Copyright (C) 2019 Kaleb J. Himes, Daniele Lacamera * * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup examples * @{ * * @file * @brief wolfSSL cryptographic library test * * @author Kaleb J. Himes * Daniele Lacamera * * @} */ #include #include "xtimer.h" #include "log.h" #include #include #ifdef MODULE_WOLFCRYPT_BENCHMARK #include #endif int main(void) { LOG(LOG_INFO, "wolfSSL Crypto Test!"); /* Wait to work around a failing tests * on platforms that don't have RTC synchronized */ xtimer_sleep(1); wolfcrypt_test(NULL); #ifdef MODULE_WOLFCRYPT_BENCHMARK LOG(LOG_INFO, "wolfSSL Benchmark!"); benchmark_test(NULL); #endif return 0; }