11.12.3.1.2. Struct _SE_AuthCtx

11.12.3.1.2.1. Struct Documentation

struct _SE_AuthCtx

Authentication mechanims

Public Members

SM_SECURE_SCP03_KEYOBJ a71chAuthKeys

Legacy, only for A71CH with Host Crypto

SE_AuthType_t authType

How exactly we are going to authenticat ot the system.

Since ctx is a union, this is needed to know exactly how we are going to authenticate.

union _SE_AuthCtx::[anonymous] ctx

Depending on authType, the input and output parameters.

This has both input and output parameters.

Input is for Keys that are used to initiate the connection. While connecting, session keys/parameters are generated and they are also part of this context.

In any case, we connect to only one type

uint8_t data[SSS_AUTH_MAX_CONTEXT_SIZE]
SE05x_AuthCtx_ECKey_t eckey

For ECKey

struct _SE_AuthCtx::[anonymous]::[anonymous] extension

Reserved memory for implementation specific extension

SE05x_AuthCtx_ID_t idobj

For UserID/PIN based based Authentication

NXSCP03_AuthCtx_t scp03

For PlatformSCP / Applet SCP.

Same SCP context will be used for platform and applet scp03