11.12.3.4.106. Function Se05x_API_MACUpdate

11.12.3.4.106.1. Function Documentation

smStatus_t Se05x_API_MACUpdate(pSe05xSession_t session_ctx, const uint8_t *inputData, size_t inputDataLen, SE05x_CryptoObjectID_t cryptoObjectID)

Se05x_API_MACUpdate

Update MAC

Command to Applet

Field

Value

Description

CLA

0x80

INS

INS_CRYPTO

SE05x_INS_t

P1

P1_MAC

See SE05x_P1_t

P2

P2_UPDATE

See SE05x_P2_t

Lc

#(Payload)

Payload

TLV[TAG_1]

Byte array containing data to be taken as input to MAC.

TLV[TAG_2]

2-byte Crypto Object identifier

Le

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] inputData: inputData [1:kSE05x_TAG_1]

  • [in] inputDataLen: Length of inputData

  • [in] cryptoObjectID: cryptoObjectID [2:kSE05x_TAG_2]