Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 193177 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +4 lines)
Line  Link Here
0
-- DH1080.c
0
++ DH1080.c
Lines 30-36 Link Here
30
{
30
{
31
	unsigned char raw_buf[160];
31
	unsigned char raw_buf[160];
32
	unsigned long seed;
32
	unsigned long seed;
33
	int len;
33
	size_t len;
34
34
35
	mpz_t mpz_privkey, mpz_prime, mpz_pubkey, mpz_base;
35
	mpz_t mpz_privkey, mpz_prime, mpz_pubkey, mpz_base;
36
	gmp_randstate_t randstate;
36
	gmp_randstate_t randstate;
Lines 81-87 Link Here
81
//         HisPubKey = the secret key
81
//         HisPubKey = the secret key
82
int DH1080_comp(char *MyPrivKey, char *HisPubKey)
82
int DH1080_comp(char *MyPrivKey, char *HisPubKey)
83
{
83
{
84
	int i=0, len;
84
	int i=0;
85
	size_t len;
85
	unsigned char SHA256digest[35], base64_tmp[160];
86
	unsigned char SHA256digest[35], base64_tmp[160];
86
	mpz_t mpz_myPrivkey, mpz_hisPubkey, mpz_prime, mpz_theKey;
87
	mpz_t mpz_myPrivkey, mpz_hisPubkey, mpz_prime, mpz_theKey;
87
88

Return to bug 193177