[prev in list] [next in list] [prev in thread] [next in thread]
List: botan-devel
Subject: [Botan-devel] Botan 64-bit on Solaris
From: Rickard.Bondesson () iis ! se (Rickard Bondesson)
Date: 2008-12-22 15:55:37
Message-ID: 69830D4127201D4EBD146B904119971864656B () EXCHANGE ! office ! nic ! se
[Download RAW message or body]
> 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.
E.g.
BigInt bigNumber = aValueFromTheKey;
Do_some_thing;
bigNumber = someThingNew;
Do_some_thing_more;
// Rickard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 475 bytes
Desc: not available
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20081222/f610c689/PGP.sig>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic