Hi Wangzihao,
Thank you very much for using wolfSSL!
I tried reproducing what you are seeing. Here is what I did :
cd wolfssl
git checkout master
./autogen.sh
./configure --enable-static --enable-sp-math-all --enable-opensslall
make all
make check
sudo make install
I then copied the code supplied in your post into a file called `forum.c` and did the following:
g++ forum.cpp /usr/local/lib/libwolfssl.a -o forum
./forum
Here are the results I got:
get mp_int af: 0
get mp_int bf: 0
get mp_int prime: 0
get mp_int order: 0
get mp_int ra: 0
get mp_int s: 0
get ecc_point pointG: 0
point is on curve: 0
n3*G: 0
n1*G: 0
n2*B: 0
A is equal to C: 0
get mp_int ra1: 0
get mp_int ra2: 0
ra3*G: 0
ra1*G: 0
ra2*E: 0
D is equal to F: -1
Is this what you are seeing as well?
I will need to confer with my colleagues. Please stay tuned.
Warm regards, Anthony