"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/crypt_ops/crypto_dh_nss.c" between
tor-0.4.6.5.tar.gz and tor-0.4.6.6.tar.gz

About: Tor is an anonymous Internet communication system - a network of virtual tunnels that allows people and groups to improve their privacy and security on the Internet.

crypto_dh_nss.c  (tor-0.4.6.5):crypto_dh_nss.c  (tor-0.4.6.6)
skipping to change at line 20 skipping to change at line 20
* \brief NSS implementation of Diffie-Hellman over Z_p. * \brief NSS implementation of Diffie-Hellman over Z_p.
**/ **/
#include "lib/crypt_ops/crypto_dh.h" #include "lib/crypt_ops/crypto_dh.h"
#include "lib/crypt_ops/crypto_nss_mgt.h" #include "lib/crypt_ops/crypto_nss_mgt.h"
#include "lib/encoding/binascii.h" #include "lib/encoding/binascii.h"
#include "lib/log/util_bug.h" #include "lib/log/util_bug.h"
#include "lib/malloc/malloc.h" #include "lib/malloc/malloc.h"
DISABLE_GCC_WARNING("-Wstrict-prototypes")
#include <cryptohi.h> #include <cryptohi.h>
#include <keyhi.h> #include <keyhi.h>
#include <pk11pub.h> #include <pk11pub.h>
ENABLE_GCC_WARNING("-Wstrict-prototypes")
static int dh_initialized = 0; static int dh_initialized = 0;
static SECKEYDHParams tls_dh_param, circuit_dh_param; static SECKEYDHParams tls_dh_param, circuit_dh_param;
static unsigned char tls_dh_prime_data[DH1024_KEY_LEN]; static unsigned char tls_dh_prime_data[DH1024_KEY_LEN];
static unsigned char circuit_dh_prime_data[DH1024_KEY_LEN]; static unsigned char circuit_dh_prime_data[DH1024_KEY_LEN];
static unsigned char dh_generator_data[1]; static unsigned char dh_generator_data[1];
void void
crypto_dh_init_nss(void) crypto_dh_init_nss(void)
{ {
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)