11.12.3.4.222. Function sss_mac_finish

11.12.3.4.222.1. Function Documentation

sss_status_t sss_mac_finish(sss_mac_t *context, uint8_t *mac, size_t *macLen)

Finish mac for a message. The function blocks current thread until the operation completes or an error occurs.

Return

Status of the operation

Parameters
  • context: Pointer to mac context.

  • mac: Output message MAC

  • macLen: Computed MAC byte length

Return Value