- Work in progress: Almost finished (hopefully) flexible sm implementation

(untested).  struct sm_ctx needs external cipher and authentication
  implementations.  Here only routines for encryption/decryption/authentication
  with PACE are given.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@54 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-04-09 20:36:32 +00:00
parent 9d573d0398
commit 62e48e2a7c
11 changed files with 651 additions and 579 deletions

View File

@@ -21,14 +21,20 @@ INSTALL_PROGRAM = $(INSTALL)
TARGETS = ccid
CCID_SRC = ccid.h ccid.c \
sm.c sm.h \
pace.h pace.c pace_lib.c \
apdu.h apdu.c \
usbstring.c usbstring.h usb.c
# top-level rule
all: $(TARGETS)
ccid: ccid.h ccid.c pace.h pace.c sm.c sm.h utils.h utils.c apdu.h apdu.c usbstring.c usbstring.h usb.c
ccid: $(CCID_SRC)
$(CC) $(LIBPCSCLITE_CFLAGS) $(OPENSC_CFLAGS) $(OPENSSL_CFLAGS) \
$(PTHREAD_CFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) \
usbstring.c ccid.c pace.c sm.c utils.c apdu.c usb.c -o $@
$(filter %.c, $(CCID_SRC)) -o $@
install: $(TARGETS) installdirs