[Botan-devel] Botan 64-bit on Solaris
Rickard.Bondesson at iis.se
Mon Dec 22 10:55:37 EST 2008
> Another strange thing is that prime1 (p) and prime2 (q) have
> a length of 48 bytes in 32-bit mode.
> But in 64-bit mode they are 32 bytes in length.
> If I generate a 768-bit RSA key, shouldn't p and q have a
> length of 48 bytes?
The problem had to do with reusage of an old BigInt variable.
BigInt bigNumber = aValueFromTheKey;
bigNumber = someThingNew;
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 475 bytes
Desc: not available
More information about the botan-devel