summaryrefslogtreecommitdiff
path: root/tools/token.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/token.c')
-rw-r--r--tools/token.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/token.c b/tools/token.c
index e65f09f..28e4512 100644
--- a/tools/token.c
+++ b/tools/token.c
@@ -112,6 +112,18 @@ print_maxmsgsiz(uint64_t maxmsgsiz)
112} 112}
113 113
114static void 114static void
115print_maxcredcntlst(uint64_t maxcredcntlst)
116{
117 printf("maxcredcntlst: %d\n", (int)maxcredcntlst);
118}
119
120static void
121print_maxcredidlen(uint64_t maxcredidlen)
122{
123 printf("maxcredlen: %d\n", (int)maxcredidlen);
124}
125
126static void
115print_fwversion(uint64_t fwversion) 127print_fwversion(uint64_t fwversion)
116{ 128{
117 printf("fwversion: 0x%x\n", (int)fwversion); 129 printf("fwversion: 0x%x\n", (int)fwversion);
@@ -202,6 +214,12 @@ token_info(int argc, char **argv, char *path)
202 /* print maximum message size */ 214 /* print maximum message size */
203 print_maxmsgsiz(fido_cbor_info_maxmsgsiz(ci)); 215 print_maxmsgsiz(fido_cbor_info_maxmsgsiz(ci));
204 216
217 /* print maximum number of credentials allowed in credential lists */
218 print_maxcredcntlst(fido_cbor_info_maxcredcntlst(ci));
219
220 /* print maximum length of a credential ID */
221 print_maxcredidlen(fido_cbor_info_maxcredidlen(ci));
222
205 /* print firmware version */ 223 /* print firmware version */
206 print_fwversion(fido_cbor_info_fwversion(ci)); 224 print_fwversion(fido_cbor_info_fwversion(ci));
207 225