aboutsummaryrefslogtreecommitdiff
path: root/source/sw/libhal
AgeCommit message (Collapse)Author
2022-01-04Convert to PyCryptodome, drop ancient releasesHEADmasterRob Austein
Debian Stretch and Ubuntu Xenial are pretty old and would be dropped soon anyway, but the main reason for dropping them now is so that the last set of binary packages we provide for them will predate the change from PyCrypto to PyCryptodome.
2022-01-02Pick up gcc 10 fixesRob Austein
2022-01-01Catch up with submodulesRob Austein
2020-09-06Kludge cryptech_backup into working with Python 3.8Rob Austein
2020-09-06Python3 conversion, the gift that never stops givingRob Austein
2020-09-02Well of course there had to be one last dumb Python3 string bugRob Austein
2020-09-01Shake out a few more Python 3 bugsRob Austein
* PyCrypto doesn't work right with Python 3.8, kludge around it for now * Farbled a few more str <-> bytes conversions in cryptech_upload
2020-07-13Still more fun building packages with Python 3Rob Austein
2020-05-06New improved keywrap core with integrated mkmifPaul Selkirk
2020-04-18Update submodules and add missing ones, as neededRob Austein
It's been a while since we did a full reproducible build via the releng tree. Some of the old modules are now obsolete, and a couple of the new ones weren't present. This is an initial test after updating the existing submodules and adding the missing ones. I don't really expect it to work, it's a first attempt. At minimum, we should go through and clean out submodules we no longer use, but that can wait until we figure out if we now have all the right modules and branches recorded here and whether the resulting configuration works properly.
2020-01-01Accumulated minor changes on master branchesRob Austein
2019-04-09Update for merge of fmc_clk_60mhz to master and hardware byteswapping.Paul Selkirk
This also catches some recent-ish changes to aes, chacha, and rosc_entropy.
2019-01-08Catch up with submodulesRob Austein
2018-08-27Fix pkcs11 build issue and segfault.Rob Austein
Some recent changes to sw/libhal were not tested properly against sw/pkcs11, which led to a couple of build issues and a segfault. These have now been fixed. The floggings will continue until morale improves.
2018-08-11Un-break builds on MacOS.Rob Austein
2018-07-25hashsig.Rob Austein
2018-07-24Accumulated changes in several submodules.Rob Austein
Specific reason for this build was to test removal of a couple of TerASIC-specific files. Other accumulated changes include: * A bunch of work on the AES core; * A bunch of minor performance enhancements in the C code, mostly related to RSA signature time (which is still a problem, but this set of fixes removed a bunch of dumb stuff which was masking what we now think is the root cause of the performance issue); * A bunch of minor fixes and cleanups in the C code (eg, assertions now log something to the console rather than just locking up).
2018-05-01Accumulated changes from last several months.Rob Austein
2017-12-13Merge systolic_crt branches.Rob Austein
2017-12-12Pull recent bugfixes and cleanups. No new major functionality.Rob Austein
2017-08-22Drag in Paul's UART reliability fixes.Rob Austein
2017-07-24Pull in RSA key generation changes.Rob Austein
2017-06-14Pull in faster RSA keygen code.Rob Austein
2017-06-08Simplified keystore (ks9).Rob Austein
2017-06-03Include cryptech_backup --soft-backup before we merge ks9 to master.Rob Austein
The ks9 branch of sw/libhal breaks keystore backwards compatability again. Unclear whether we should do something about that, but since we do have a workaround in the form of cryptech_backup --soft-backup, we should ship that *before* we break the keystore again, so that careful users can back up before the problematic firmware upgrade.
2017-05-18Re-enable use of FPGA modexp.Rob Austein
2017-05-12Enable ECDSA cores in default build.Rob Austein
2017-05-11Latest minor changes.Rob Austein
2017-05-09Bump version number, pull in README updates.Rob Austein
2017-05-04Drag in PKCS #11 bugfixes.Rob Austein
2017-05-03Major change: no-rtos branch merged into ksng.Rob Austein
Goodbye, CMSIS RTOS, with your interrupt-unsafe mutexes, your priority inversions, and your thread structure that no debugger understands. Don't let the door hit you on the way out.
2017-04-26Drag in bad-PIN delay change.Rob Austein
2017-04-23Drag in today's sw/libhal fixes.Rob Austein
2017-04-20Drag in this week's bugfixes and features.Rob Austein
2017-04-14Doh, works better if one remembers to push all submodule commits first.Rob Austein
2017-04-14Drag several months worth of changes on the ksng and pymux branches.Rob Austein
2017-03-09Drag in software support for ecdsa cores.Rob Austein
2017-03-07Drag in submodule changes.Rob Austein
2016-12-21Pull in bootloader PIN fix.Rob Austein
2016-12-20DFU bugfixes.Rob Austein
2016-12-14New releng branch "ksng".Rob Austein
Package up all the "new keystore" and "no SQL" changes as packages cryptech-alpha-ksng, to make it easier for others to test them.
2016-12-14Support multiple packages corresponding to multiple releng branches.Rob Austein
We want to be able to provide packaged builds of development branches. The most straightforward way to do this is a 1:1 correspondence between branches in the releng tree and variant package names. We adopt a simple convention: the base package name corresponds to the master branch, all other branches are named with the base package name followed by the branch name. So the master branch is the cryptech-alpha package, the ksng branch is the cryptech-alpha-ksng branch, and so forth. This isn't a perfect solution, but it's probably good enough. In order to do this, we need to generate the debian/control file at build-time, so that we can generate the list of conflicting packages. This commit also pulls in a few changes that had collected on the master branches of various repositories, chiefly because a few of them were necessary to get it the build to run at all.
2016-08-21Catch up with recent updates to submodules.Rob Austein
2016-08-10Updated tamper code; new port of libcli; libhal / PKCS #11 bugfixes.Rob Austein
2016-07-13Drag in probe_cores() and other bugfixes.Rob Austein
2016-07-08Enable software hash cores on HSM.Rob Austein
2016-07-08Drag in sw/pkcs11 bugfix.Rob Austein
2016-07-07Drag in more stm32 and libhal changes.Rob Austein
2016-07-07Drag in various bugfixes.Rob Austein
2016-07-07Drag in libhal environment variable changes.Rob Austein