I am importing only three functions: InitRng, RsaPublicKeyDecode and RsaPublicEncrypt.
It seems RsaPublicKeyDecode is the one bringing in the GetCA and GetCAByname and is in asn.c
I think i have no option than to link with the whole wolfSSL embedded SSL library.
Since i am not using ssl/tls stuffs, do i still need to call SSL_library_init(or its wolfSSL equivalent) and wolfSSL_Cleanup ?
//----EDIT
i have also noticed that there is RsaPrivateDecrypt but there is no RsaPrivateEncrypt likewise there is RsaPublicEncrypt but there is no RsaPublicDecrypt. So how do I encrypt data with private key since there is no RsaPrivateEncrypt and how do I decrypt data with public key since their is no RsaPublicDecrypt?