[gnutls-dev] bug in _gnutls_pkcs1_rsa_encrypt
Werner Koch
wk at gnupg.org
Thu Aug 19 11:27:58 CEST 2004
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
More information about the Gnutls-dev
mailing list