Skip to content

Commit 25ad7ad

Browse files
committed
card-piv.c - fix comments
Yubikey 5.7.1 can support RSA 4096
1 parent 7e050e2 commit 25ad7ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libopensc/card-piv.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -4583,8 +4583,7 @@ static int piv_validate_general_authentication(sc_card_t *card,
45834583
unsigned int cla, tag;
45844584
unsigned int real_alg_id, op_tag;
45854585

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

0 commit comments

Comments
 (0)