diff options
author | Rob Austein <sra@hactrn.net> | 2016-09-01 15:37:07 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-09-01 15:37:07 -0400 |
commit | c2b116a5e46ed89bf1426def0c447d2e46cc9474 (patch) | |
tree | bf08b8a09de4335b7fe6c269b9d7eed79c70a73c /Makefile | |
parent | ccdb3ab006dd46c125fc0277fa0ce2d3d7660147 (diff) |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |