11.12.3.4.109. Function Se05x_API_ReadECCurveList

11.12.3.4.109.1. Function Documentation

smStatus_t Se05x_API_ReadECCurveList(pSe05xSession_t session_ctx, uint8_t *curveList, size_t *pcurveListLen)

Se05x_API_ReadECCurveList

Get a list of (Weierstrass) EC curves that are instantiated.

Command to Applet

Field

Value

Description

CLA

0x80

INS

INS_READ

See SE05x_INS_t

P1

P1_CURVE

See SE05x_P1_t

P2

P2_LIST

See SE05x_P2_t

Le

0x00

R-APDU Body

Value

Description

TLV[TAG_1]

Byte array listing all curve identifiers in SE05x_ECCurve_t (excluding UNUSED) where the curve identifier < 0x40; for each curve, a 1-byte SetIndicatorRef is returned.

R-APDU Trailer

SW

Description

SW_NO_ERROR

Data is returned successfully.

Parameters
  • [in] session_ctx: Session Context [0:kSE05x_pSession]

  • [out] curveList: [0:kSE05x_TAG_1]

  • [inout] pcurveListLen: Length for curveList