From abd5caf5ea6e3563d623d3e952c0b9328f52639f Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 11 Dec 2015 22:37:04 -0500 Subject: RPC API dispatch, skeleton client functions, mixed-mode handlers for local hashing with remote pkey. --- GNUmakefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index bb3821e..810d997 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -28,7 +28,7 @@ INC = hal.h LIB = libhal.a OBJ = ${IO_OBJ} core.o csprng.o hash.o aes_keywrap.o pbkdf2.o \ - modexp.o rsa.o ecdsa.o asn1.o errorstrings.o + modexp.o rsa.o ecdsa.o asn1.o errorstrings.o ${RPC_OBJ} IO_OBJ_EIM = hal_io_eim.o novena-eim.o IO_OBJ_I2C = hal_io_i2c.o @@ -36,6 +36,13 @@ IO_OBJ_I2C = hal_io_i2c.o # Default I/O bus is EIM, override this to use I2C instead IO_OBJ = ${IO_OBJ_EIM} +RPC_OBJ_CLIENT = hal_rpc.o rpc_client.o +RPC_OBJ_SERVER = hal_rpc.o rpc_server.o + +# Default should be to build the RPC server, but we haven't written even the skeleton of that yet. +# We'll probably end up needing a makefile conditional to handle all this properly +RPC_OBJ = ${RPC_OBJ_CLIENT} + TFMDIR := $(abspath ../thirdparty/libtfm) CFLAGS += -g3 -Wall -fPIC -std=c99 -I${TFMDIR} -DHAL_ECDSA_DEBUG_ONLY_STATIC_TEST_VECTOR_RANDOM=1 LDFLAGS := -g3 -L${TFMDIR} -ltfm -- cgit v1.2.3