RSA blinding

Nikos Mavroyanopoulos nmav at gnutls.org
Sat Jul 10 12:18:33 CEST 2004


Hello,
 In rsa.c:546 it seems there is a memory leak.

  if (! (flags & PUBKEY_FLAG_NO_BLINDING))
    {
      /* Undo blinding.  */
      gcry_mpi_t a = gcry_mpi_copy (y);

      gcry_mpi_release (y);
      y = rsa_unblind (a, ri, sk.n);
    }

a does not get freed anywhere.

-- 
Nikos Mavroyanopoulos



More information about the Gcrypt-devel mailing list