mirror of
https://github.com/LedgerHQ/openpgp-card-app
synced 2024-11-09 07:10:30 +00:00
add: rsa4096 key generation on lnx/lns+
This commit is contained in:
parent
660b9b667d
commit
58c53a930e
@ -132,13 +132,7 @@ int gpg_apdu_gen() {
|
||||
pkey_size = sizeof(cx_rsa_3072_private_key_t);
|
||||
break;
|
||||
case 4096 / 8:
|
||||
// temporary removal for nano X
|
||||
#if defined(TARGET_NANOX) || defined(TARGET_NANOS2)
|
||||
THROW(SW_WRONG_DATA);
|
||||
break;
|
||||
#else
|
||||
pkey_size = sizeof(cx_rsa_4096_private_key_t);
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
THROW(SW_WRONG_DATA);
|
||||
|
Loading…
Reference in New Issue
Block a user