* [tpm2] Question about RSA 2048 AK key size
@ 2020-02-22 0:05 Chenxi Z
0 siblings, 0 replies; only message in thread
From: Chenxi Z @ 2020-02-22 0:05 UTC (permalink / raw)
To: tpm2
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
I created a 2048 RSA AK by using the command below :
tpm2_createak -C 0x81010001 -c ak.ctx -u ak.pub -r ak.priv -n ak.name -P dummypwd -p dummypwd
ak.priv file size = 224 bytes
#stat --printf="%s" ak.priv
224
ak.pub file size = 282 bytes.
$stat --printf="%s" ak.pub
282
Question: Do the AK private key and public key always have the same key sizes, ie, 224 and 282?
Is there any possibility that the key size could be changed because of random number or big prime number changes during key generation?
TPM2 tools version:
tpm2-tools-4.1.1
tpm2-abrmd-2.3.1
tpm2-tss-2.3.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-22 0:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-22 0:05 [tpm2] Question about RSA 2048 AK key size Chenxi Z
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox