AT-NFC 2.1 (win) AT-NFC kernel set

Data Fields
tag_HAL_CRYPT_PK Struct Reference
HAL Crypto functions API

Get PK info structure. More...

`#include <hal_crypt.h>`

## Data Fields
KER_INT16U | usSize
KER_BYTE | btVer
KER_BYTE | btScheme
union {
struct {
KER_BYTE btSignAlg
KER_BYTE btHashAlg
KER_BYTE ar_btModulus [KER_PK_MODULUS_LEN]
KER_INT16U usModulusLen
KER_BYTE ar_btExp [KER_PK_EXP_LEN]
KER_INT16U usExpLen
KER_BYTE ar_btHash [KER_PK_HASH_LEN]
KER_INT16U usHashLen
} RSA
struct {
KER_BYTE btASI
KER_BYTE ar_btPK [KER_ECC_PK_P521_LEN]
KER_INT16U usPKLen
} ECC
} | Scheme

## Detailed Description

Get PK info structure.

## Field Documentation

## ◆ ar_btExp

KER_BYTE ar_btExp[KER_PK_EXP_LEN]

PK exponent EMV Book 2, 5.1 (3 bytes)

## ◆ ar_btHash

KER_BYTE ar_btHash[KER_PK_HASH_LEN]

PK hash (20 bytes)

## ◆ ar_btModulus

KER_BYTE ar_btModulus[KER_PK_MODULUS_LEN]

PK modulus EMV Book 2, 5.1 (248 bytes)

## ◆ ar_btPK

KER_BYTE ar_btPK[KER_ECC_PK_P521_LEN]

ECC PK

## ◆ btASI

KER_BYTE btASI

ECC Algorithm Suite Indicator (KER_ECC_ASI_EC_SDSA_SHA256_P256, KER_ECC_ASI_EC_SDSA_SHA512_P521, etc...)

## ◆ btHashAlg

KER_BYTE btHashAlg

PK hash algorithm - (KER_HASH_ALG_SHA1)

## ◆ btScheme

KER_BYTE btScheme

ODA/ODE scheme RSA/ECC KER_CA_PK_SCHEME_RSA or KER_CA_PK_SCHEME_ECC

## ◆ btSignAlg

KER_BYTE btSignAlg

PK signature algorithm - (KER_REC_ALG_RSA_EMV)

## ◆ btVer

KER_BYTE btVer

struct version (reserved)

## ◆

struct { ... } ECC

ECC related data

## ◆

struct { ... } RSA

RSA related data

## ◆

union { ... } Scheme

Crypto scheme related data

## ◆ usExpLen

KER_INT16U usExpLen

PK exponent length

## ◆ usHashLen

KER_INT16U usHashLen

PK hash length

## ◆ usModulusLen

KER_INT16U usModulusLen

PK length

## ◆ usPKLen

KER_INT16U usPKLen

PK length

## ◆ usSize

KER_INT16U usSize

size of struct

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

- D:/VM_SHARE/Views_Static/petrov_dev_emv_VM_view/EMV_NEXT/Kernels/inc/emv/hal/hal_crypt.h