Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-01-04 | Add hal_core_alloc2() to fix a dining philosophers problem in hal_modexp2(). | Paul Selkirk | |
Uncoordinated attempts to allocate two modexpa7 cores leads to deadlock if multiple clients try to do concurrent RSA signing operations. The simplest solution (back off and retry) could theoretically lead to resource starvation, but we haven't seen it in actual testing. | |||
2017-12-13 | Merge branch systolic_crt into master. | Rob Austein | |
This branch was sitting for long enough that master had been through a cleanup pass, so beware of accidental reversions. | |||
2017-10-23 | Cleanup signed/unsigned mismatches, mostly in loop counters | Paul Selkirk | |
2017-10-11 | Cleanup: Remove "const" qualifiers from function return types. | Paul Selkirk | |
2017-09-13 | Preliminary support for parallel core RSA CRT. | Rob Austein | |
2017-05-25 | Checkpoint while refactoring. Almost certainly will not compile. | Rob Austein | |
2017-04-25 | adapt to the new experimental tasking system | Paul Selkirk | |
2017-02-02 | Add locking around keystore operations. | Rob Austein | |
2016-10-07 | Stop whining about POSIX strnlen() function. | Rob Austein | |
2016-09-02 | Code to convert between text and internal forms of UUIDs. | Rob Austein | |
Includes a few cosmetic fixes to address gcc format string warnings and git trailing whitespace warnings. | |||
2016-08-10 | Reset table of cores, e.g. after resetting FPGA from CLI. | Paul Selkirk | |
2016-08-10 | Merge branch 'resource_management' | Paul Selkirk | |
2016-07-12 | Make probe_cores deal with an unconfigured FPGA (and come back later). | Paul Selkirk | |
See, reading from an unconfigured FPGA returns all-1, while reading from empty cores on a configured FPGA returns all-0. The consequence of this is that the HSM was probing the FPGA once on startup, filling its core table with 0xff, rendering the FPGA useless. Along the way, I put the FPGA core table in static memory, rather than malloc'ing it, because that's not so good in an embedded environment. But I kept the linked list, because that at least tells us what to do if HAL_STATIC_CORE_STATE_BLOCKS is 0. | |||
2016-07-06 | Belatedly adjust hal_io_read/write to the new flat addressing architecture. | Paul Selkirk | |
2016-07-05 | Attempt to add resource management, for multiple cores of the same type. | Paul Selkirk | |
Find a suitable core, and mark it busy. Don't forget to release it as soon as you're done. This has a knock-on effect of un-const'ing core arguments and struct fields in a lot of places, and it moves some core checks around. | |||
2016-06-14 | Add support for ModExpA7 | Paul Selkirk | |
2015-12-23 | RPC interface to TRNG and (incomplete) PIN code. | Rob Austein | |
2015-11-14 | Catch up with other branch merges. | Paul Selkirk | |
- TRNG cores are contiguous (but they still have their own mux, so occupy a block of 16 cores). - Use Rob's updated libhal in my new apps. | |||
2015-10-04 | Whack libhal API to use current configure_core_selector mechanism. | Rob Austein | |
Compiles, not yet tested. |