I want to convert the signature R and S portions of an ECC signature into a DER-encoded ECDSA signature
ret = wc_ecc_sign_hash(Random, u8RandLen, out, &x, &rng, &cliKey);
//To convert ecc signature to r and s
ret = wc_ecc_sig_to_rs(out,x,r,&sr,s,&ss); (Till this it is working fine)
but while trying to convert back with below function I am getting 0xFFFFFF87 as return status. Please help.
x =sizeof(out);ret = wc_ecc_rs_to_sig(r,s,out,&x);
Regards,
Manoj Chandran R