Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-13 | Initialize I/O pins of SPI3, which is used to configure iCE40-based MKM. | Pavel V. Shatov (Meister) | |
Note, that SPI3 is alternate function 6, unlike SPI1 & SPI2 which are both AF5. | |||
2020-10-15 | Reduce overly-long HAL_IO_TIMEOUT. | Paul Selkirk | |
2020-07-13 | Whack all Python shebangs to Python 3 | Rob Austein | |
2020-05-05 | Add more RPC tasks for better signing performance. | Paul Selkirk | |
2020-03-09 | Replace the brutally inefficient fp_to_unsigned_bin with one based on | Paul Selkirk | |
fp_read_unsigned_bin. I thought about patching it directly in sw/thirdparty/libtfm, but ultimately decided to keep that pristine (especially since we verify file checksums there). | |||
2020-02-18 | timing tests for RSA signingmodexpng | Paul Selkirk | |
2018-12-05 | Tell libtfm that the ARM is little-endian, so it can optimize ↵ | Paul Selkirk | |
fp_read_unsigned_bin(). This enables some overflow-detection code, which fixes CT-01-009. It also saves 484us/call, which adds up to 6.3ms/RSA signature. | |||
2018-12-03 | Re-delete SysTick_hook (commit 9ffead1), which somehow crept back in. | Paul Selkirk | |
2018-12-02 | Clean up the profiling code to the point where I stand a chance of | Paul Selkirk | |
understanding it 6 months from now. While I'm at it, try to make it a little more efficient (because 50-60% of time in a typical profiling run is spent in the function-entry counting), and collapse profil.c into gmon.c. | |||
2018-11-26 | Add loop unrolling to bring the profilable mem* functions closer to | Paul Selkirk | |
newlib, because memset is called a LOT in the course of RSA signing, and we need to understand how much time we're actually spending there. | |||
2018-09-04 | Make 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. | |||
2018-05-27 | Script to run a test with HSM profiling. | Rob Austein | |
2018-05-01 | Fix mbed vpath not to use explicit (and wrong) paths | Paul Selkirk | |
2018-04-19 | Cleanup: warn of signed/unsigned mismatches in libhal. | Paul Selkirk | |
This is from October's cleanup binge, but I forgot to commit it at the time. | |||
2018-04-06 | Merge branch 'profiling' | Paul Selkirk | |
2017-10-11 | Cleanup 'unused parameter' warnings, a couple of which are actual coding errors. | Paul Selkirk | |
2017-10-11 | Cleanup: signed/unsigned mismatches, mostly in loop counters | Paul Selkirk | |
2017-09-21 | cleanup | Paul Selkirk | |
2017-09-07 | Rebase branch 'profiling' from master | Paul Selkirk | |
2017-09-07 | Sigh, right offset for the wrong register. Get the PC (the address we | Paul Selkirk | |
interrupted) rather than LR (the return address from the function we interrupted). Also, change u_short and u_int to unsigned short and unsigned int, since gcc recently decided that those aren't part of the C99 standard. Finally, add profilable versions of memcpy, memset, and friends, because they get called a lot in the course of unit testing, and it would be nice to know who's calling them. | |||
2017-09-07 | Correct offset to get the PC. | Paul Selkirk | |
A previous version of this code ran over the RTOS, where threads used the Process Stack, while the SysTick interrupt used the Main Stack. Now everything's on the main stack, so we need to account for 2 extra words that SysTick_Handler pushes on the stack at entry. | |||
2017-09-07 | Port profiling code, using a new SysTick hook and new CLI commands. | Paul Selkirk | |
2017-09-07 | Copy profiling code from MCUOnEclipse. | Paul Selkirk | |
2017-08-31 | Withdraw SysTick_hook (commit 9ffead1), because it turns out there was ↵ | Paul Selkirk | |
already a user-callback mechanism with HAL_SYSTICK_IRQHandler() and HAL_SYSTICK_Callback(). | |||
2017-07-31 | Add a generic SysTick hook, to call a function on every 1ms tick, because ↵ | Paul Selkirk | |
it's easier than setting up a dedicated timer. | |||
2017-06-17 | Fix optimization settings in HSM's build of libtfm. | Rob Austein | |
2017-05-10 | Sigh, right offset for the wrong register. Get the PC (the address we | Paul Selkirk | |
interrupted) rather than LR (the return address from the function we interrupted). Also, change u_short and u_int to unsigned short and unsigned int, since gcc recently decided that those aren't part of the C99 standard. Finally, add profilable versions of memcpy, memset, and friends, because they get called a lot in the course of unit testing, and it would be nice to know who's calling them. | |||
2017-05-06 | Correct offset to get the PC. | Paul Selkirk | |
A previous version of this code ran over the RTOS, where threads used the Process Stack, while the SysTick interrupt used the Main Stack. Now everything's on the main stack, so we need to account for 2 extra words that SysTick_Handler pushes on the stack at entry. | |||
2017-05-05 | Port profiling code, using a new SysTick hook and new CLI commands. | Paul Selkirk | |
2017-05-04 | Copy profiling code from MCUOnEclipse. | Paul Selkirk | |
2017-04-29 | Remove exception handlders that I probably shouldn't have defined in the ↵ | Paul Selkirk | |
first place. | |||
2017-04-29 | Remove rtos source files. | Paul Selkirk | |
2017-04-17 | Use default SysTick interrupt priority. | Paul Selkirk | |
We really don't want SysTick_Handler, which runs the task scheduler, to run at a higher priority than SVC_Handler, which runs supposedly-atomic operations like mutex locking and unlocking. I've seen a mutex lock/unlock mismatch which I think is due to interrupting rt_mut_release at a particularly inopportune moment. | |||
2017-04-01 | Change RPC UART to have a high-priority thread monitoring a large(ish) DMA | Paul Selkirk | |
buffer, because we've observed out-of-order receives under load. | |||
2016-09-20 | Still some problem with uart receive under heavy load, so change to a 2-byte ↵ | Paul Selkirk | |
receive buffer with half-complete callbacks, and raise the dma priority. | |||
2016-09-01 | "make clean" needs to use "rm -f" to avoid gratuitous failures. | Rob Austein | |
2016-07-21 | Use a fresh port of libcli, which retains more of the original API. | Paul Selkirk | |
2016-07-06 | Fix the way code is commented out, to avoid compiler warnings. | Paul Selkirk | |
2016-07-06 | Simplify library Makefiles by using symbols defined in top-level Makefile, ↵ | Paul Selkirk | |
rather than re-deriving them. | |||
2016-06-25 | Split LIB*_DIR into _SRC and _BLD. | Paul Selkirk | |
Also rename all instances of GNUmakefile to Makefile. | |||
2016-06-25 | Finish unwinding subrepository hairball: VPATH setup. | Rob Austein | |
2016-06-24 | Start unwinding subrepository hairball: remove submodules. | Rob Austein | |
2016-06-23 | Drag in libhal update. | Rob Austein | |
2016-06-23 | Drag submodule updates into sw/stm32. | Rob Austein | |
2016-06-21 | Update sw/stm32 to track recent subrepository commits, since without them it ↵ | Rob Austein | |
no longer compiles (sigh). | |||
2016-06-14 | Pull in sw/libhal CLIENT_TRANSPORT makefile fix. | Rob Austein | |
2016-06-14 | Pull libhal changes into stm32 subrepo. | Rob Austein | |
2016-06-14 | Bring sw/stm32 super-repository up to date with the ten zillion | Rob Austein | |
commits which have been made in other repositories since the last time anybody bothered to synchronize this. Poster child for why this kind of recursive hairball belongs in release engineering rather than in source code repositories which are under active development, but that yak can wait a little while longer for its shave. | |||
2016-06-13 | Only the HSM project needs the RTOS; most of the test projects can use the ↵ | Paul Selkirk | |
STM32 HAL code directly. | |||
2016-06-13 | Add __end symbols for CCMRAM and SDRAM sections. | Paul Selkirk | |
This lets us, say, use these sections for stack or heap. |