From 75a4d9c7cc98f3b7d5d8803561f00a83f1703e21 Mon Sep 17 00:00:00 2001 From: kubodera_yuichi Date: Thu, 7 Jan 2010 08:48:21 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E7=95=AA=E7=92=B0=E5=A2=83=E3=81=AB?= =?UTF-8?q?=E8=BF=91=E3=81=A5=E3=81=91=E3=82=8B=E3=81=9F=E3=82=81=E3=81=AB?= =?UTF-8?q?:librqcard.a=20=E3=81=A8=20-lm=20=E3=82=92=E3=83=AA=E3=83=B3?= =?UTF-8?q?=E3=82=AF=E3=81=99=E3=82=8B=E3=83=A9=E3=82=A4=E3=83=96=E3=83=A9?= =?UTF-8?q?=E3=83=AA=E3=81=8B=E3=82=89=E9=99=A4=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_eFuse@155 ff987cc8-cf2f-4642-8568-d52cce064691 --- Makefile | 7 +++---- cr_hsm_code.c | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 5cc230e..4685314 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ # DEV_CYGWIN = FALSE # USE_HSM = TRUE -DEV_CYGWIN = TRUE -#USE_HSM = TRUE +#DEV_CYGWIN = TRUE +USE_HSM = TRUE ifeq ($(USE_HSM),TRUE) @@ -44,11 +44,10 @@ NFAST_CPPFLAGS = \ # nFast LDLIBS NFAST_LDLIBS = \ - $(NFAST_LIBPATH)/librqcard.a \ $(NFAST_LIBPATH)/libnfkm.a \ $(NFAST_LIBPATH)/libnfstub.a \ $(NFAST_LIBPATH)/libnflog.a \ - $(NFAST_LIBPATH)/libcutils.a -lm \ + $(NFAST_LIBPATH)/libcutils.a \ else # !USE_HSM diff --git a/cr_hsm_code.c b/cr_hsm_code.c index 189a067..d034d02 100644 --- a/cr_hsm_code.c +++ b/cr_hsm_code.c @@ -161,7 +161,7 @@ const NFKM_KeyIdent hsmEcdsaPubkeyidentProd = { (char*)"simple", (char*)"nct2-pu int hsm_ecdsa_load_keypair( NFKM_KeyIdent privKeyident, M_KeyID *privKeyid, NFKM_KeyIdent pubKeyident, M_KeyID *pubKeyid ); -//#define EXE_AUTH_OK +#define EXE_AUTH_OK // init HSM int hsm_initialize( void ) {