11.12.3.4.224. Function sss_mac_one_go

11.12.3.4.224.1. Function Documentation

sss_status_t sss_mac_one_go(sss_mac_t *context, const uint8_t *message, size_t messageLen, uint8_t *mac, size_t *macLen)

Message MAC in one blocking function call. The function blocks current thread until the operation completes or an error occurs.

Return

Status of the operation

Parameters
  • context: Pointer to mac context.

  • message: Input message

  • messageLen: Length of the input message in bytes

  • mac: Output message MAC

  • macLen: Computed MAC byte length

Return Value