From badbce91d4682277ed3001369c6c56f41353440a Mon Sep 17 00:00:00 2001 From: kubodera_yuichi Date: Sun, 27 Dec 2009 05:25:22 +0000 Subject: [PATCH] hsm_bignum git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@106 ff987cc8-cf2f-4642-8568-d52cce064691 --- hsm_utils/mybignum.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hsm_utils/mybignum.c b/hsm_utils/mybignum.c index a3d799b..1c1dcc2 100644 --- a/hsm_utils/mybignum.c +++ b/hsm_utils/mybignum.c @@ -118,12 +118,12 @@ int my_bignumformatupcall(struct NFast_Application *app, return Status_OK; } -NFast_BignumUpcalls sbn_upcalls = { - sbn_bignumreceiveupcall, - sbn_bignumsendlenupcall, - sbn_bignumsendupcall, - sbn_bignumfreeupcall, - sbn_bignumformatupcall +NFast_BignumUpcalls my_upcalls = { + my_bignumreceiveupcall, + my_bignumsendlenupcall, + my_bignumsendupcall, + my_bignumfreeupcall, + my_bignumformatupcall }; /* --------------------- */ @@ -286,7 +286,7 @@ void my_printbignum ( FILE *f, const char *prefix, const struct NFast_Bignum *pB char buf[MAXBIGNUMBITS/4+1]; int rc; - rc=sbn_bignum2char(buf, sizeof(buf), pBN, NULL, NULL, NULL); + rc = my_bignum2char(buf, sizeof(buf), pBN, NULL, NULL, NULL); if ( rc != Status_OK ) strcpy(buf, ""); fprintf( f, "%s=\n %s\n", prefix, buf ); }