ctap_client_pin_req_t Struct Reference

CTAP client pin request struct. More...

Detailed Description

CTAP client pin request struct.

Definition at line 558 of file ctap.h.

#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
 

The documentation for this struct was generated from the following file: