From 8b99cea5c80104f1fe7229710c4d741b623bdda6 Mon Sep 17 00:00:00 2001 From: lchristina26 Date: Fri, 11 Dec 2015 13:19:44 -0700 Subject: [PATCH] update README with entropy instructions --- IDE/WORKBENCH/README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/IDE/WORKBENCH/README.md b/IDE/WORKBENCH/README.md index 1e0ca243a..74253f0f3 100644 --- a/IDE/WORKBENCH/README.md +++ b/IDE/WORKBENCH/README.md @@ -50,11 +50,21 @@ wolfcrypt directories. Uncheck the following: \#ifdef WOLFSSL\_VXWORKS block, a new GenerateSeed() function will need to be defined in wolfcrypt/src/random.c. +8. Include Entropy: + - Create a new project, similar to step 1 but choose VxWorks Source Build Project as the type of project instead of VxWorks Image Project. + + - In the project directory, double click "Source Build Configuration" and under os > core > CORE\_KERNEL Menu > VxWorks Kernel Component Configuration find "Inject entropy in interrupts". Double click this. + + - Go back to your VIP project. Right click the project and select "Properties". + + - In "Properties", select "Project References". Check the box next to the new project you created. Click "Ok". + + - Rebuild the project. + ####3 Testing wolfSSL with VxWorks: #####3.1 wolfCrypt Test and Benchmark Applications The wolfCrypt test application will test each of the cryptographic algorithms -and output the status for each as a success or failure. The benchmark application will output the runtime of -the cryptographic algorithms in milliseconds. +and output the status for each as a success or failure. The benchmark application will output the runtime of the cryptographic algorithms in milliseconds. 1. Include the following at the top of usrAppInit.c: