aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/hsm.c
AgeCommit message (Collapse)Author
2016-07-10Sign/verifiy installable imagesparade_of_half_baked_ideasPaul Selkirk
Receive the image into sdram, verify the signature before copying to flash. It would be great if worked...
2016-07-07Drop bad request packets.Paul Selkirk
Also, if the UART receive callback fails to re-enable receive (because dispatch_thread is in the middle of transmitting a response), signal dispatch_thread to re-enable receive after it's done.
2016-07-07Default to one RPC worker thread.Paul Selkirk
2016-07-06Add uart_set_default() to make debugging output easier.Paul Selkirk
2016-06-30RPC wire format now includes client handle in all requests, and opcode andPaul Selkirk
client handle in all responses.
2016-06-14Import cli-test into hsm pretty much as-is.Paul Selkirk
2016-06-13RSA keygen needs even more stack space than I thought.Paul Selkirk
Also, it turns out the linker wants to include initializers for sdram variables in the .elf and .bin files, even though it should handle it like bss. So now we manage sdram directly with a pseudo-malloc.
2016-06-09Put thread stack buffers in SDRAM, because pkey uses a lot of stack.Paul Selkirk
Also rearchitect the way we handle RPC requests - have a bunch of waiting dispatch threads rather than continually creating and deleting threads.
2016-06-09Rename main.c to hsm.c for consistency and a slightly simpler Makefile.Paul Selkirk