gnutls-devel
[Top][All Lists]
Advanced

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

Re: [gnutls-dev] bug in _gnutls_pkcs1_rsa_encrypt


From: Werner Koch
Subject: Re: [gnutls-dev] bug in _gnutls_pkcs1_rsa_encrypt
Date: Thu, 19 Aug 2004 11:27:58 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

On Thu, 19 Aug 2004 10:29:28 +0200, Matthias Urlichs said:

>> k += 3+(k/128); /* better get some more, plus safety margin */

> That should be adequate; a quick run-through with B() in OpenOffice says
> that it is the 99.5% solution.

Okay.

> Anyway, your code is still broken (think about it... in fact it's even
> worse: if this version hits a zero byte in pp you effectively stop doing
> *anything* in the current iteration!):

Aiiih.

Thanks,

  Werner




reply via email to

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