11.12.3.4.80. Function Se05x_API_DigestInit

11.12.3.4.80.1. Function Documentation

smStatus_t Se05x_API_DigestInit(pSe05xSession_t session_ctx, SE05x_CryptoObjectID_t cryptoObjectID)

Se05x_API_DigestInit

Open a digest operation. The state of the digest operation is kept in the Crypto Object until the Crypto Object is finalized or deleted.

Command to Applet

Field

Value

Description

CLA

0x80

INS

INS_CRYPTO

See SE05x_INS_t

P1

P1_DEFAULT

See SE05x_P1_t

P2

P2_INIT

See SE05x_P2_t

Lc

#(Payload)

TLV[TAG_2]

2-byte Crypto Object identifier

R-APDU Body

NA

R-APDU Trailer

SW

Description

SW_NO_ERROR

The command is handled successfully.

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

  • [in] cryptoObjectID: cryptoObjectID [1:kSE05x_TAG_2]