aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/mgmt-masterkey.c
AgeCommit message (Collapse)Author
2020-04-29The new keywrap core now talks directly to the MKM, so there are some API ↵Paul Selkirk
changes.
2018-09-04Make parsing and display of masterkey values consistent with one another,Paul Selkirk
so the user might be able to copy and paste a generated key into the CLI for recovery. Display had been a 32-byte hexdump. Parsing (manual re-entry of the KEK) had been 8 32-bit little-endian values. This has been a pain point for literally two years, albeit at a low enough pain level that I've managed to cringe and ignore it.
2017-10-17Overhaul UART APIPaul Selkirk
MGMT is the default UART, and no one should have to explicitly refer to the UART unless they need USER (hsm.c:hal_serial_send_char). The default UART is now exposed in the header file, so that the default-using functions can be macros, which saves a few bytes in code space, and a few microseconds in function call overhead.
2017-10-11Cleanup 'unused parameter' warnings, a couple of which are actual coding errors.Paul Selkirk
2016-09-16Revised ks_flash. Compiles, not yet tested.Rob Austein
2016-09-13Track libhal cleanup (function names, const-ification).Rob Austein
2016-07-21Use a fresh port of libcli, which retains more of the original API.Paul Selkirk
2016-07-13'masterkey set' without args sets master key to a random valuePaul Selkirk
2016-07-09Clean up the CLI.Fredrik Thulin
A lot of the commands were just useful when testing/implementing features for the Alpha. Remove them now that they have been merged to projects/cli-test.
2016-06-24Masterkey functions now return hal_error_t as suggested by Rob.Fredrik Thulin
2016-06-23Add masterkey and keystore commands.Fredrik Thulin