savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers] Re: lsh dying


From: Loic Dachary
Subject: [Savannah-hackers] Re: lsh dying
Date: Tue, 11 Sep 2001 15:04:13 +0200

 > Could you try dumping out the values of r and s in dsa signatures?
 > If you change a few debug() calls to trace(), you will get the info
 > with --trace, without enabling full packet dumps with --debug.

        I applied the following (slightly different because lines were
not exactly at the same place in 1.2.1).

*** dsa.c.orig  Wed Jul 18 04:04:46 2001
--- dsa.c       Tue Sep 11 08:55:42 2001
***************
*** 434,440 ****

    mpz_fdiv_r(r, r, self->verifier->q);
  
!   debug("generic_dsa_sign, r: %xn\n", r);

    /* Compute hash */
    dsa_hash(tmp, length, msg);
--- 434,440 ----

    mpz_fdiv_r(r, r, self->verifier->q);
  
!   trace("generic_dsa_sign, r: %xn\n", r);

    /* Compute hash */
    dsa_hash(tmp, length, msg);
***************
*** 452,458 ****
    mpz_mul(s, s, k);
    mpz_fdiv_r(s, s, self->verifier->q);

!   debug("generic_dsa_sign, s: %xn\n", s);

    mpz_clear(k);
    mpz_clear(tmp);
--- 452,458 ----
    mpz_mul(s, s, k);
    mpz_fdiv_r(s, s, self->verifier->q);

!   trace("generic_dsa_sign, s: %xn\n", s);

    mpz_clear(k);
    mpz_clear(tmp);

 > 
 > And of course, a core dump from a crash would also be helpful.
 > 

        Murphy's law: the machine was rebooted last week and core
limit reset to 0. I changed it back to unlimited and hopefully we will
have a core next time.

        Thanks for your support.

        Cheers,

-- 
Loic   Dachary         http://www.dachary.org/  address@hidden
24 av Secretan         http://www.senga.org/      address@hidden
75019    Paris         Tel: 33 1 42 45 09 16        address@hidden
        GPG Public Key: http://www.dachary.org/loic/gpg.txt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]