On 22/02/2011 13:56, Toni Sjoblom - Aventra wrote:

> The private key files sizes are shown in bits not bytes. A 1K private key
> uses approx. 960 bytes and 2K respectively approx. 1296 bytes. This consists
> of both the private and public parts.
This matches my experimental numbers better :)
28548 (free space before keypair gen) - 24052 (free space after keypair
gen) - 2880 (pukdf) = 1616
It's still 320 extra bytes, but at least it's closer. Bookkeeping?

> The DIR files do not grow when
> creating new files, they are created once during initialization with a size
> that's defined in the driver's profile.
But it seems they get created only when needed: pukdf (EF 4403) was not
present until keypair creation.
So if I only import certificates I won't have pukdf anywhere (room for
an extra cert :) ).

I'll soon post some more tweaking since now I've better data to work on.

BYtE,
 Diego.
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to