From eaa806c69eed3be68c6fe73e3876c58a6b5288a0 Mon Sep 17 00:00:00 2001 From: Charles-Edouard de la Vergne Date: Tue, 21 Nov 2023 08:32:40 +0100 Subject: [PATCH] Adapt unit-tests --- tests/include/cx.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/include/cx.h b/tests/include/cx.h index 9f70be54..587cfacf 100644 --- a/tests/include/cx.h +++ b/tests/include/cx.h @@ -5,6 +5,15 @@ typedef unsigned int cx_curve_t; +/** Success. */ +#define CX_OK 0x00000000 + +/** Internal error */ +#define CX_INTERNAL_ERROR 0xFFFFFF85 + +/** Type of error code */ +typedef uint32_t cx_err_t; + #define CX_CURVE_256K1 0x1234 #define CX_CURVE_SECP256K1 CX_CURVE_256K1