[Cryptech-Commits] [sw/libhal] branch master updated (11a3fe1 -> 8ef2a4e)

git at cryptech.is git at cryptech.is
Mon Jun 7 19:42:19 UTC 2021


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a change to branch master
in repository sw/libhal.

    from 11a3fe1  2 years later, Ubuntu is still shipping a broken newlib, and Rob points out writing 4 bytes into a 1-byte value is probably not a good idea. So sscanf the string into an array of uint16_t, and copy out the low bytes. It's a kludge, but the alternatives are worse (e.g. bypass sscanf, and parse raw bytes).
     new 93887df  Minor hashsig cleanup, add hal_hashsig_public_key_len().
     new 8ef2a4e  Add support for the SHA-3 core.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 hal.h                 |  18 +++++-
 hal_internal.h        |  15 +++--
 hash.c                | 131 ++++++++++++++++++++++++++++++++-----------
 hashsig.c             |  45 ++++++++-------
 rpc_hash.c            |  12 +++-
 tests/test-rpc_hash.c | 150 ++++++++++++++++++++++++++++++++++++++++++++++++--
 verilog_constants.h   |  13 +++++
 7 files changed, 315 insertions(+), 69 deletions(-)



More information about the Commits mailing list