Thanks Damien. I tried BN_bin2bn() and issue is resolved now. --Ravi On Thu, Apr 3, 2014 at 2:26 AM, Damien Miller <djm@xxxxxxxxxxx> wrote: > On Wed, 2 Apr 2014, RAVI PRATAP Singh wrote: > > > My doubt is how to fill the shared_secret structure ( which is of BIGNUM > > type) elements ? from the array of characters, K. > > You can use OpenSSL's API for this, e.g. BN_hex2bn() or BN_bin2bn() > > -d > _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev