From c2b116a5e46ed89bf1426def0c447d2e46cc9474 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 1 Sep 2016 15:37:07 -0400 Subject: Revised keystore API, part one. Not usable yet. Changes to implement a revised keystore API. This code probably won't even compile properly yet, and almost certainly will not run, but most of the expected changes are complete at this point. Main points: * Key names are now UUIDs, and are generated by the HSM, not the client. * Keystore API no longer assumes that key database is resident in memory (original API was written on the assumption that the keystore flash would be mapped into the HSM CPU's address space, but apparently the board and flash drivers don't really support that). A few other changes have probably crept in, but the bulk of this changeset is just following through implications of the above, some of which percolate all the way back to the public RPC API. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 190466b..b9d1558 100644 --- a/Makefile +++ b/Makefile @@ -75,6 +75,7 @@ endif OBJ += errorstrings.o hash.o asn1.o ecdsa.o rsa.o ${KS_OBJ} xdr.o slip.o OBJ += rpc_api.o rpc_hash.o rpc_misc.o rpc_pkey.o rpc_client.o rpc_server.o +OBJ += uuid.o # Object files to build when we're on a platform with direct access # to our hardware (Verilog) cores. @@ -113,7 +114,7 @@ endif # Default at the moment is mmap, since that should work on the Novena # and we haven't yet written the flash code for the bridge board. -KS_OBJ = ks.o +#KS_OBJ = ks.o ifeq "${KS}" "mmap" KS_OBJ += ks_mmap.o -- cgit v1.2.3