Skip to content

Commit

Permalink
Adapt unit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cedelavergne-ledger committed Nov 23, 2023
1 parent ed05bba commit eaa806c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/include/cx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit eaa806c

Please sign in to comment.