11.12.3.4.181. Function sss_cipher_init

11.12.3.4.181.1. Function Documentation

sss_status_t sss_cipher_init(sss_symmetric_t *context, uint8_t *iv, size_t ivLen)

Symmetric cipher init. The function starts the symmetric cipher operation.

Return

Status of the operation

Parameters
  • context: Pointer to symmetric crypto context.

  • iv: Buffer containing the symmetric operation Initialization Vector. When using internal IV algorithms (only encrypt) for SE051, iv buffer will be filled with genereted Initialization Vector.

  • ivLen: Length of the Initialization Vector in bytes.

Return Value