Displaying 1 result from an estimated 1 matches for "bn_expand".
Did you mean:
dn_expand
2014 Apr 02
1
Openssh KDF testing
...n 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 number is negative */
int flags;
};
My doubt is how to fill the shared_secret structure ( which is of BIGNUM
type) elements ? from the array of characters, K.
For H and session_id I converte...