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 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
 

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 559 of file ctap.h.

◆ key_agreement_present

bool ctap_client_pin_req_t::key_agreement_present

indicate if key_agreement present

Definition at line 568 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 562 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 560 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 561 of file ctap.h.

◆ pin_auth_present

bool ctap_client_pin_req_t::pin_auth_present

indicate if pin_auth present

Definition at line 567 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 563 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 566 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 565 of file ctap.h.

◆ sub_command

ctap_pin_subcommand_t ctap_client_pin_req_t::sub_command

ClientPIN sub command.

Definition at line 564 of file ctap.h.


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