search for: share_secret

Displaying 1 result from an estimated 1 matches for "share_secret".

Did you mean: shared_secret
2014 Apr 02
1
Openssh KDF testing
Hello Everyone, I am writing code to test derive_keys functionality. The function signature is: static u_char * derive_key(Kex *kex, int id, u_int need, u_char *hash, u_int hashlen, BIGNUM *shared_secret) 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...