Loading...
Searching...
No Matches
ctap_client_pin_req_t Struct Reference

CTAP client pin request struct. More...

Detailed Description

CTAP client pin request struct.

Definition at line 569 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.
 
uint8_t sub_command
 authenticator Client PIN 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
 

Field Documentation

◆ key_agreement

ctap_public_key_cose_t ctap_client_pin_req_t::key_agreement

public key of platform_key_agreement_key

Definition at line 570 of file ctap.h.

◆ key_agreement_present

bool ctap_client_pin_req_t::key_agreement_present

indicate if key_agreement present

Definition at line 579 of file ctap.h.

◆ new_pin_enc

uint8_t ctap_client_pin_req_t::new_pin_enc[CTAP_PIN_ENC_MAX_SIZE]

Encrypted new PIN using sharedSecret.

Definition at line 573 of file ctap.h.

◆ new_pin_enc_size

uint16_t ctap_client_pin_req_t::new_pin_enc_size

size of encrypted new pin

Definition at line 571 of file ctap.h.

◆ pin_auth

uint8_t ctap_client_pin_req_t::pin_auth[CTAP_PIN_AUTH_SZ]

first 16 bytes of HMAC-SHA-256 of encrypted contents

Definition at line 572 of file ctap.h.

◆ pin_auth_present

bool ctap_client_pin_req_t::pin_auth_present

indicate if pin_auth present

Definition at line 578 of file ctap.h.

◆ pin_hash_enc

uint8_t ctap_client_pin_req_t::pin_hash_enc[SHA256_DIGEST_LENGTH/2]

Encrypted first 16 bytes of SHA-256 of PIN using sharedSecret.

Definition at line 574 of file ctap.h.

◆ pin_hash_enc_present

bool ctap_client_pin_req_t::pin_hash_enc_present

indicate pin_hash_enc is present

Definition at line 577 of file ctap.h.

◆ pin_protocol

uint8_t ctap_client_pin_req_t::pin_protocol

PIN protocol version chosen by the client.

Definition at line 576 of file ctap.h.

◆ sub_command

uint8_t ctap_client_pin_req_t::sub_command

authenticator Client PIN sub command

Definition at line 575 of file ctap.h.


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