Skip to content

Commit

Permalink
card-piv.c - fix comments
Browse files Browse the repository at this point in the history
Yubikey 5.7.1  can support RSA 4096
  • Loading branch information
dengert committed Jan 9, 2025
1 parent d0005df commit f0971a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libopensc/card-piv.c
Original file line number Diff line number Diff line change
Expand Up @@ -4583,8 +4583,7 @@ static int piv_validate_general_authentication(sc_card_t *card,
unsigned int cla, tag;
unsigned int real_alg_id, op_tag;

/* TODO check for 4096 keys */
u8 sbuf[4096]; /* needs work. for 3072 keys, needs 384+10 or so */
u8 sbuf[4096]; /* needs work. for 4096 needs 512+10 or so */
size_t sbuflen = sizeof(sbuf);
u8 rbuf[4096];

Expand Down

0 comments on commit f0971a6

Please sign in to comment.