Displaying 1 result from an estimated 1 matches for "bignum_st".
Did you mean:
bignum's
2014 Apr 02
1
Openssh KDF testing
...)
Now, the input which is provided to us is
K(share_secret) as an array of characters.
H(Hash) as an array of characters.
Session_id as an array of characters
Now, first I converted hash and session_id in binary form using hex2bin
function.
For shared secret, the bignum structure is like
struct bignum_st
{
BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit chunks. */
int top; /* Index of last used d +1. */
/* The next are internal book keeping for bn_expand. */
int dmax; /* Size of the d array. */
int neg; /* one if the num...