add cavium ciphers to SSL, and example client

This commit is contained in:
Todd Ouska
2013-02-01 12:21:38 -08:00
parent defe5b4e31
commit 44b6593fe5
18 changed files with 252 additions and 44 deletions
+9
View File
@@ -383,6 +383,12 @@ THREAD_RETURN CYASSL_THREAD server_test(void* args)
{
func_args args;
#ifdef HAVE_CAVIUM
int ret = OpenNitroxDevice(CAVIUM_DIRECT, CAVIUM_DEV_ID);
if (ret != 0)
err_sys("Cavium OpenNitroxDevice failed");
#endif /* HAVE_CAVIUM */
StartTCP();
args.argc = argc;
@@ -398,6 +404,9 @@ THREAD_RETURN CYASSL_THREAD server_test(void* args)
server_test(&args);
CyaSSL_Cleanup();
#ifdef HAVE_CAVIUM
CspShutdown(CAVIUM_DEV_ID);
#endif
return args.return_code;
}