From d41470cd86f08535bf8dab0c560b81fbf84c9ce6 Mon Sep 17 00:00:00 2001 From: Laurent Girod Date: Mon, 25 May 2020 15:52:27 +0200 Subject: [PATCH] Adapt structures to bind to latest Relic version. --- petrelic/_cffi_src/petrelic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/petrelic/_cffi_src/petrelic.h b/petrelic/_cffi_src/petrelic.h index 2704fbf..4040c15 100644 --- a/petrelic/_cffi_src/petrelic.h +++ b/petrelic/_cffi_src/petrelic.h @@ -110,7 +110,7 @@ typedef struct { /** The third coordinate (projective representation). */ fp_st z; /** Flag to indicate that this point is normalized. */ - int norm; + int coord; } ep_st; typedef ep_st ep_t[1]; typedef ep_st g1_st; @@ -127,7 +127,7 @@ typedef struct { /** The third coordinate (projective representation). */ fp2_t z; /** Flag to indicate that this point is normalized. */ - int norm; + int coord; } ep2_st; typedef ep2_st ep2_t[1]; typedef ep2_st g2_st;