11.12.3.4.252. Function sss_se05x_cipher_update

11.12.3.4.252.1. Function Documentation

sss_status_t sss_se05x_cipher_update(sss_se05x_symmetric_t *context, const uint8_t *srcData, size_t srcLen, uint8_t *destData, size_t *destLen)

Symmetric cipher update. Input data does not have to be a multiple of block size. Subsequent calls to this function are possible. Unless one or more calls of this function have supplied sufficient input data, no output is generated. The cipher operation is finalized with a call to sss_cipher_finish().

Return

Status of the operation

Parameters
  • context: Pointer to symmetric crypto context.

  • srcData: Buffer containing the input data.

  • srcLen: Length of the input data in bytes.

  • destData: Buffer containing the output data.

  • [inout] destLen: Length of the output data in bytes. Buffer length on entry, reflects actual output size on return.

Return Value