Openssh KDF testing

Damien Miller djm at mindrot.org
Thu Apr 3 07:56:18 EST 2014


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


More information about the openssh-unix-dev mailing list