I have been using the frdmkl82z_wolfssl_benchmark example project to see how to utilize the Wolfssl Library and hardware accelerators for the KL82. I have been trying to use the same library in my own project by creating a project through the new project wizard and then copying and pasting the "wolfssl" folder into the project directory. After doing this, making sure the folder was not being excluded from the build (right clicking the folder -> properties -> C/C++ Build and unchecking "Exclude resource from build"), and then building, I get errors (25 total) all along the lines of "fatal error: wolfssl/wolfcrypt/settings.h: No such file or directory". The file structure is very similar to the example projects, so I think there is something else I am missing.
Are you able to use that function in your main method, CRYPTO_InitHardware()? What were the steps you took to create the new project and add the wolfssl library. I created the project through the new project wizard and added the library through that. I still had to add to add the preprocessor macro "WOLFSSL_USER_SETTINGS" to get it to build, but I am still unable to use that function.
I am not sure I need all of them, but I am just grabbing them from the "wolfssl_benchmark.c" example file (that runs perfectly fine for me). I am then prototyping a few other functions to use the wolfssl functions.
Could you please clarify what are the issues you are seeing? What errors are displayed in MCUXpresso? As I have mentioned before I copied the wolfssl folder from the example to a new project and then adapt Includes, Preprocessor symbols, files and optimization settings according to the example. The project compiles correctly and there is no error using Crypto_InitHardware function.