aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-24hal_rpc_logout_all(), hal_rpc_is_logged_in().Rob Austein
2015-12-24More work on PIN/login/logout code. Access control still missing,Rob Austein
committing now so Paul has a chance to look at the current RPC API.
2015-12-23RPC interface to TRNG and (incomplete) PIN code.Rob Austein
2015-12-23Software modexp() implementation didn't compile due to missing proRob Austein
forma hal_core_t* argument.
2015-12-23First round of fixes for new ASN.1 and test code.Rob Austein
2015-12-22Reorder tests to put hideously slow RSA tests at the end.Rob Austein
2015-12-22Test code for ASN.1 public key functions.Rob Austein
2015-12-22Add ASN.1 support for public keys (X.509 SubjectPublicKeyInfo format).Rob Austein
2015-12-21Fix names of private key DER functions.Rob Austein
2015-12-21Pull .gitignore update from master.Rob Austein
2015-12-21Binaries missing from .gitignore make git submodule grumpy.Rob Austein
2015-12-20Use sysconf(_SC_PAGESIZE) instead of getpagesize().Rob Austein
2015-12-20Consolidating curve names broke the ASN.1 code.Rob Austein
2015-12-20Drop support for the ASN.1-based ECDSA signature format in favor ofRob Austein
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.
2015-12-20RPC server stuff mostly written. Compiles, not yet tested. RPCRob Austein
public key extraction functions on hold pending ASN.1 cleanup.
2015-12-13Merge Paul's copyright updates.Rob Austein
2015-12-13whack copyrightsPaul Selkirk
2015-12-13Add rpc_hash.c. Convert dynamic allocator in hash.c to use privateRob Austein
pool of pre-configured state blocks, suitable for an embedded system.
2015-12-12Silence platform-dependent compiler whining: in general, when printf()Rob Austein
whines about some platform-dependent integer size issue, it's best to use both an explicitly sized format (eg, "%lu") and an explicit cast (eg, "(unsigned long)") when silencing the warning, otherwise it'll just pop up again in different form on the next platform tested.
2015-12-11RPC API dispatch, skeleton client functions, mixed-mode handlers forRob Austein
local hashing with remote pkey.
2015-12-10First cut at public libhal RPC API.Rob Austein
2015-11-17More post-merge cleanup.Paul Selkirk
- Joachim says always check entropy and csprng for 'valid' before reading. - Harmonize RNG status valid bit with other cores. - Clean up compiler warnings about printf formats.
2015-11-16new test to exercise trng coresPaul Selkirk
2015-11-16remove dependency on csprngPaul Selkirk
2015-11-16harmonize ctrl and status addresses with other coresPaul Selkirk
2015-11-14Catch up with other branch merges.Paul Selkirk
- TRNG cores are contiguous (but they still have their own mux, so occupy a block of 16 cores). - Use Rob's updated libhal in my new apps.
2015-11-13Merge branch 'config_core_selector'Paul Selkirk
2015-11-12fix printf warnings, fix time_check calculationPaul Selkirk
2015-10-31add core probe utilityPaul Selkirk
2015-10-31add bus performance testPaul Selkirk
2015-10-31fix time calculation in test-ecdsaPaul Selkirk
2015-10-29change CFLAGS assignment to += for cross-buildingPaul Selkirk
2015-10-29Remove unused includes.Paul Selkirk
2015-10-26Use ${AR} for cross-building.Paul Selkirk
Regular ar is fine, but this feels cleaner.
2015-10-19catch up to changes in core version numbersPaul Selkirk
2015-10-04Handle missing hash cores more gracefully.Rob Austein
2015-10-04Disallow NULL core argument in lowest-level HAL I/O routines.Rob Austein
2015-10-04Helps to select the CSPRNG core before trying to call it.Rob Austein
2015-10-04Whack libhal API to use current configure_core_selector mechanism.Rob Austein
Compiles, not yet tested.
2015-10-04off_t => hal_addr_t.Rob Austein
2015-10-03Use initializers for automatic variables of type fp_int because it's aRob Austein
bit more obvious when we've forgotten to do this than when we've forgotten to call fp_init() or memset(). Convert rsa.c to use the one-element-array idiom so we can get stop prefixing every bignum reference with "&".
2015-10-02Impressive how much trouble one can get into with one uninitialized bignum.Rob Austein
2015-10-02Testing shows that signature and verification are both faster withRob Austein
mixed Jacobian-affine addition, so go with that. Minor additional clean-up and comments.
2015-10-02Revise point addition and point scalar multiplication routines to useRob Austein
mixed Jacobian-affine coordinates, per a suggestion from Pavel. Old code still present under compile time conditional for easy comparison, but will probably go away soon along with a bit of minor cleanup.
2015-09-14Fencepost error in hal_ecdas_key_from_ecpoint().Rob Austein
2015-09-14P-512 parameters were mislabeled.Rob Austein
2015-09-12PKCS #11 testing turned up a problem with P-521, don't reallyRob Austein
understand the bug yet, but first step is fixing test-ecdsa.
2015-09-11Avoid gratuitous assertion failure if caller gives us a larger bufferRob Austein
than necessary when writing private key to DER.
2015-09-08Merge branch 'master' into ecdsaRob Austein
This required a bit of manual cleanup in hal.h, hash.c, and rsa.c. No intended changes to functionality provided by parent comments, just a few tweaks to track API changes beyond git's ken.
2015-09-08Merge branch 'state_access'Rob Austein