11.12.3.4.141. Function Se05x_i2c_master_attst_txn

11.12.3.4.141.1. Function Documentation

smStatus_t Se05x_i2c_master_attst_txn(sss_session_t *sess, sss_object_t *keyObject, SE05x_I2CM_cmd_t *p, uint8_t *random_attst, size_t random_attstLen, SE05x_AttestationAlgo_t attst_algo, sss_se05x_attst_comp_data_t *pattest_data, uint8_t *rspbuffer, size_t *rspbufferLen, uint8_t noOftags)

Se05x_i2c_master_attst_txn.

I2CM Read With Attestation

Pre

p describes I2C master commands.

Post

p contains execution state of I2C master commands, the I2C master commands can be overwritten to report on execution failure.

Parameters
  • [in] sess: session identifier

  • [in] keyObject: Keyobject which contains 4 byte attestaion KeyId

  • [inout] p: Array of structure type capturing a sequence of i2c master cmd/rsp transactions.

  • [in] random_attst: 16-byte freshness random

  • [in] random_attstLen: length of freshness random

  • [in] attst_algo: 1 byte attestationAlgo

  • [out] ptimeStamp: timestamp

  • [out] timeStampLen: Length for timestamp

  • [out] freshness: freshness (random)

  • [out] pfreshnessLen: Length for freshness

  • [out] chipId: unique chip Id

  • [out] pchipIdLen: Length for chipId

  • [out] signature: signature

  • [out] psignatureLen: Length for signature

  • [in] noOftags: Amount of structures contained in p