Hi, I am trying to port a ssh deamon for nucleus RTOS. I am having trouble in calculating signature and I am getting error in BN_mod_inverse of the crypto lib. What I have done is rather then reading the keys from file I am updating the keys reading it from strings and converting them into bytes. I am updating the p, q, g, pub_key and priv_key members of the structure DSA. Can any body help me on this. Regards, Ashish