Thanks embhorn,
Unfortunately, I'm not able to compile the template project, following the instructions given in the https://github.com/wolfSSL/wolfssl/tree … s/e2studio .
Also, there is not #define WOLFCRYPT_ONLY in the https://github.com/wolfSSL/wolfssl/blob … settings.h
Could you please guide me through the installation for S7G2? I'll be using S5D9 but I think the code will be portable with no major changes.
Once again, our certificate info (the piece that will be hashed and signed by my private key) will be always the same, as we create the CSR with SUBJ null, aka -subj "/CN=unused", also the length of public key will also be the same for every certificate (and so the certificate info fields to be hashed and signed).
After I figure out what to hash and sign exactly (I don't understand If I need to hash and sign the byte array format of the certificate info and also if I need to consider the whole SEQUENCE, or just from the labels inside it, and subsequent SEQUENCEs).
Any hint or help will be massively appreciated.
Thanks a lot,
S