1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

apps.fido_u2f: fix docs

This commit is contained in:
Jan Pochyla 2017-05-29 17:56:15 +02:00
parent 136514da5c
commit 5a41b4497b

View File

@ -126,9 +126,9 @@ def resp_cmd_register(khlen: int, certlen: int, siglen: int) -> dict:
# uint8_t registerId; // Registration identifier (U2F_REGISTER_ID) # uint8_t registerId; // Registration identifier (U2F_REGISTER_ID)
# uint8_t pubKey[65]; // Generated public key # uint8_t pubKey[65]; // Generated public key
# uint8_t keyHandleLen; // Length of key handle # uint8_t keyHandleLen; // Length of key handle
# uint8_t keyHandle[128]; // Key handle # uint8_t keyHandle[khlen]; // Key handle
# uint8_t cert[1024]; // Attestation certificate # uint8_t cert[certlen]; // Attestation certificate
# uint8_t sig[siglen]; // Registration signature # uint8_t sig[siglen]; // Registration signature
# uint16_t status; # uint16_t status;
return { return {
'registerId': 0 | uctypes.UINT8, 'registerId': 0 | uctypes.UINT8,