[Cryptech-Commits] [sw/libhal] branch rpc updated (d7b3463 -> 0fc5ab9)

git at cryptech.is git at cryptech.is
Wed Dec 23 07:22:19 UTC 2015


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

sra at hactrn.net pushed a change to branch rpc
in repository sw/libhal.

      from  d7b3463   Merge Paul's copyright updates.
       new  86b35d7   RPC server stuff mostly written.  Compiles, not yet tested.  RPC public key extraction functions on hold pending ASN.1 cleanup.
       new  e3f62b0   Drop support for the ASN.1-based ECDSA signature format in favor of the simpler format which PKCS #11 uses, since we have to support the latter in any case and it's not worth the complexity of supporting both.
       new  0336850   Consolidating curve names broke the ASN.1 code.
       new  808c0ba   Use sysconf(_SC_PAGESIZE) instead of getpagesize().
      adds  da6eb8a   Binaries missing from .gitignore make git submodule grumpy.
       new  905db64   Pull .gitignore update from master.
       new  36f9b66   Fix names of private key DER functions.
       new  17da006   Add ASN.1 support for public keys (X.509 SubjectPublicKeyInfo format).
       new  bbb6e1e   Test code for ASN.1 public key functions.
       new  c4c6c5e   Reorder tests to put hideously slow RSA tests at the end.
       new  8c427a7   First round of fixes for new ASN.1 and test code.
       new  0fc5ab9   Software modexp() implementation didn't compile due to missing pro forma hal_core_t* argument.

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


Summary of changes:
 .gitignore                       |   2 +
 GNUmakefile                      |  26 +-
 asn1.c                           | 165 ++++++++
 asn1_internal.h                  |  27 +-
 ecdsa.c                          | 286 +++++++-------
 hal.h                            | 304 ++++++++++++---
 rpc_internal.h => hal_internal.h | 139 ++++++-
 hal_rpc.h                        | 243 ------------
 ks.c                             | 280 ++++++++++++++
 errorstrings.c => ks_flash.c     |  42 +-
 ks_mmap.c                        | 123 ++++++
 errorstrings.c => ks_volatile.c  |  45 ++-
 hal_rpc.c => rpc.c               |  88 +++--
 rpc_client.c                     |  55 +--
 rpc_hash.c                       |  30 +-
 rpc_pkey.c                       | 815 +++++++++++++++++++++++++++++++++++++++
 rsa.c                            | 133 ++++++-
 tests/.gitignore                 |   1 -
 tests/GNUmakefile                |   4 +-
 tests/test-ecdsa.c               |  87 ++++-
 tests/test-ecdsa.h               |  39 +-
 tests/test-ecdsa.py              |  50 ++-
 tests/test-rsa.c                 | 154 ++++----
 23 files changed, 2415 insertions(+), 723 deletions(-)
 rename rpc_internal.h => hal_internal.h (61%)
 delete mode 100644 hal_rpc.h
 create mode 100644 ks.c
 copy errorstrings.c => ks_flash.c (69%)
 create mode 100644 ks_mmap.c
 copy errorstrings.c => ks_volatile.c (63%)
 rename hal_rpc.c => rpc.c (83%)
 create mode 100644 rpc_pkey.c
 delete mode 100644 tests/.gitignore



More information about the Commits mailing list