Finalize a MAC algorithm
#include <qcrypto/qcrypto.h>
int qcrypto_mac_final(qcrypto_ctx_t *ctx, uint8_t *tag, size_t *size)
QCRYPTO_R_EOK if successful or qcrypto_errno if an error occurred.