Hello, Is it true that for a given P & g, I would always get the same public key and for a given P, g & pub_key, I would get the same shared secret key?
For some reason in my test code, where I use DH_generate_key() followed by DH_compute_key(), I get different values everytime I execute the test. Here are the values of P & g I am using: P: FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B13 9B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576 625E7EC6F44C42E9A63A3620FFFFFFFFFFFFFFFF g: 2 What could be the possible problem where I am getting a different secret & pub_key every time? Thanks in advance. Bala ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
