9.13.3.1.14. Struct SE_AuthCtx_t

9.13.3.1.14.1. Struct Documentation

struct SE_AuthCtx_t

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_t::[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_t::[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