aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-05-25Untested conversion to support Python 3Rob Austein
2018-08-27Fix shared library namePaul Selkirk
2018-03-03More useful script output.Rob Austein
Overall performance numbers are still bad. Presumably having a single global PKCS #11 lock does not help here. Need a bitstream with more ModExp and ECDSA cores before this will matter much, but will likely need to figure out some way to do per-session locking instead of global for operations we want to run in parallel. At which point we'll be on the road to deadlock hell, so will need some care.
2018-03-03Doh, mutexes work better when plugged in.Rob Austein
2018-03-03Cleanup.Rob Austein
2018-03-03First cut at timing test using multiple threads.Rob Austein
At the moment this only works with a single worker thread: multiple threads get weird errors from PKCS #11. This is probably a PKCS #11 implementation issue rather than a bug in this script. So, in the spirit of test-driven development, this script is the failing test.
2017-05-10Clean up default location of PKCS #11 library.Rob Austein
2017-04-14Python interface API will need to be cryptech.py11 for installation.Rob Austein
2017-04-11Track API changes on sw/libhal pkcs8 branch.Rob Austein
2017-03-03Clean up time-signature script.Rob Austein
2017-03-01Test all key types by default.Rob Austein
2017-03-01Timing test script.Rob Austein
2016-11-22Remove SQLite3 from build, no longer needed.Rob Austein
2016-05-14Key flag handling, more trailing whitespace cleanup.Rob Austein
At this point we are passing most of the unit tests in RPC loopback mode. Remaining failure is TestKeys.test_keygen_token_vs_session(), which gets HAL_ERROR_KEY_NAME_IN_USE when attempting to generate a session key and a token key with the same CKA_ID value, so clearly something is not quite right yet in the keystore selection logic.
2015-12-13whack copyrightsPaul Selkirk
2015-09-20Implement mutexes in py11 library using threading.Lock objects.Rob Austein
2015-09-18MUTEX callbacks via ctypes. Beware of Garbage Collector.Rob Austein
2015-09-17Enable locking in py11.Rob Austein
2015-09-15Checkpoint of py11-test.py.Rob Austein
2015-09-12Move YAML parsing to external script so py11 doesn't have to worryRob Austein
about finding attributes.yaml at runtime.
2015-07-01Clean up raw SQL silliness in GNUmakefile "bully" target. Add --help.Rob Austein
Clean up trailing whitespace in multiple files. Add missing copyright.
2015-07-01Debug p11util.Rob Austein
2015-04-28First public commit of PKCS #11 implementation.Rob Austein