Change-Id: Ieff9d6a8408c878b7ff9656f637382abab23f742
YACA_ERROR_OPENSSL_FAILURE = -3,
YACA_ERROR_NOT_SUPPORTED = -4,
YACA_ERROR_TOO_BIG_ARGUMENT = -5,
- YACA_ERROR_OUT_OF_MEMORY = -6
+ YACA_ERROR_OUT_OF_MEMORY = -6,
+ YACA_ERROR_SIGNATURE_INVALID = -7
};
#ifdef __cplusplus
* @param[in] mac_len Size of the MAC or the signature.
*
* @return 0 on success, negative on error (@see error.h).
- * TODO: CRYTPO_ERROR_SIGNATURE_INVALID when verification fails.
+ * TODO: YACA_ERROR_SIGNATURE_INVALID when verification fails.
*/
int yaca_verify_final(yaca_ctx_h ctx,
const char *mac,