mirror of
https://salsa.debian.org/gnuk-team/gnuk/gnuk.git
synced 2024-09-20 02:40:08 +00:00
Fix X448 key size. For GPG_KEY_STORAGE, it should be rounded up.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
4b1aadda0c
commit
af129fc848
@ -345,7 +345,7 @@ gpg_get_algo_attr_key_size (enum kind_of_key kk, enum size_of_key s)
|
||||
return 128;
|
||||
case ALGO_X448:
|
||||
if (s == GPG_KEY_STORAGE)
|
||||
return 112;
|
||||
return 128;
|
||||
else
|
||||
return 56;
|
||||
ed25519:
|
||||
|
Loading…
Reference in New Issue
Block a user