CTAP client pin request struct. More...
#include <ctap.h>
Data Fields | |
| ctap_public_key_cose_t | key_agreement |
| public key of platform_key_agreement_key | |
| uint16_t | new_pin_enc_size |
| size of encrypted new pin | |
| uint8_t | pin_auth [CTAP_PIN_AUTH_SZ] |
| first 16 bytes of HMAC-SHA-256 of encrypted contents | |
| uint8_t | new_pin_enc [CTAP_PIN_ENC_MAX_SIZE] |
| Encrypted new PIN using sharedSecret. | |
| uint8_t | pin_hash_enc [SHA256_DIGEST_LENGTH/2] |
| Encrypted first 16 bytes of SHA-256 of PIN using sharedSecret. | |
| ctap_pin_subcommand_t | sub_command |
| ClientPIN sub command. | |
| uint8_t | pin_protocol |
| PIN protocol version chosen by the client. | |
| bool | pin_hash_enc_present |
| indicate pin_hash_enc is present | |
| bool | pin_auth_present |
| indicate if pin_auth present | |
| bool | key_agreement_present |
| indicate if key_agreement present | |