You are not logged in. Please login or register.
Active topics Unanswered topics
Welcome to the wolfSSL Forums!
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
References
Stable Releases - download stable product releases.
Development Branch - latest development branch on GitHub.
wolfSSL Manual - wolfSSL (formerly CyaSSL) product manual and API reference.
Search options
Thank you your help!
I found the segment error's reason is that my PC is x86_64,when I using command "linux32" to enter x86 mode and rebuild ,the error goes away!
When I build the benchmark.c within the project, tests works well.
But when I copy the benchmark.c to a new project,and create a makefile to build it, I got some errors.
1.the definition of HAVE_ECC
Even I include ecc.h in the source file, I have to add "#define HAVE_ECC" to avoid the compile error.
2.segment err
I modify the benchmark.c only to test the ECC function.In bench_eccKeyGen(),the var "i" in the for loop is always zero,so I get a dead loop
If I move the local var "i" to a global var, it seems work ,but got a segment err!
So,It seems that ,only include the HeadFiles and load the Lib file cannot use the wolfssl correct!
Is there any step I missed or something need to pay attention?
Posts found: 4
Generated in 0.023 seconds (96% PHP - 4% DB) with 4 queries