mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-08 12:24:40 +00:00
tpm2: Allow 4096 bit RSA key sizes once enabled by RSA_4096
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
d0f5b67ea0
commit
87691f7a71
@ -3661,6 +3661,9 @@ TPMI_RSA_KEY_BITS_Unmarshal(TPMI_RSA_KEY_BITS *target, BYTE **buffer, INT32 *siz
|
||||
case 1024:
|
||||
case 2048:
|
||||
case 3072:
|
||||
#if RSA_4096 // libtpms added begin
|
||||
case 4096:
|
||||
#endif // libtpms added end
|
||||
break;
|
||||
default:
|
||||
rc = TPM_RC_VALUE;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user