aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/mgmt-cli.c
AgeCommit message (Collapse)Author
2020-02-26conditionalize timing testsPaul Selkirk
2020-02-18timing tests for RSA signingmodexpngPaul Selkirk
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
2017-10-11Cleanup: signed/unsigned mismatches, mostly in loop countersPaul Selkirk
2017-04-27Replace the RTOS with a simple cooperative tasker.Paul Selkirk
There are no priorities and no preemption, so tasks run in a round-robin fashion, and explicitly yield control.
2016-09-13Track libhal cleanup (function names, const-ification).Rob Austein
2016-08-23Show running threads.Paul Selkirk
2016-07-21Use a fresh port of libcli, which retains more of the original API.Paul Selkirk
2016-07-12Re-disable 'keystore set key'; hexdump binary key names; remove unused ↵Paul Selkirk
'show' commands.
2016-06-28Only SO and wheel are allowed to upload.Paul Selkirk
Also add bootloader upload.
2016-06-27Remove old default user.Paul Selkirk
2016-06-26PIN-based loginPaul Selkirk
2016-06-25Merge branch 'alternate_dma'Paul Selkirk
2016-06-23Add masterkey and keystore commands.Fredrik Thulin
2016-06-15Use a 1-byte DMA buffer for management UART receives.Paul Selkirk
It sounds silly, but this gives us completion callbacks, so we don't spend out entire time slice polling the receive buffer for new characters (which kills performance for tasks that are doing real work). Besides, libcli wants to process a character at a time, so uart_cli_read just waits on the completion callback.
2016-06-14Import cli-test into hsm pretty much as-is.Paul Selkirk