search for: derive_key

Displaying 2 results from an estimated 2 matches for "derive_key".

Did you mean: derived_key
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 arra...
2003 Oct 08
4
OS/390 openssh
...(ch) (ch) +#endif #endif /* INCLUDES_H */ diff -bur openssh-3.7.1p2.orig/kex.c openssh-3.7.1p2/kex.c --- openssh-3.7.1p2.orig/kex.c Tue Apr 1 13:44:37 2003 +++ openssh-3.7.1p2/kex.c Tue Oct 7 08:22:00 2003 @@ -456,7 +456,7 @@ int i, mode, ctos; for (i = 0; i < NKEYS; i++) - keys[i] = derive_key(kex, 'A'+i, kex->we_need, hash, shared_secret); + keys[i] = derive_key(kex, /*ASCII 'A'*/'\x41'+i, kex->we_need, hash, shared_secret); debug2("kex_derive_keys"); for (mode = 0; mode < MODE_MAX; mode++) { diff -bur openssh-3.7.1p2.orig/kexdh.c openss...