Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-10 | Allow host-side libhal build without access to secure hardware to | Rob Austein | |
store unencrypted public keys (we don't allow this for private keys). Yet another screwball feature to support PKCS #11, sigh. Anyway, with this change, mixed-mode builds should work again. | |||
2016-06-10 | Helps to get the makefile variable names right. | Rob Austein | |
2016-06-10 | Another attempt to clean up the libhal makefile hairball. | Rob Austein | |
2016-06-09 | Fix duplicate dispatch vectors when building for RPC_CLIENT_LOCAL. | Rob Austein | |
2016-06-09 | Typo in SHA-224/SHA-256 software core. | Rob Austein | |
2016-06-09 | some cleanup, and fix delete operation | Fredrik Thulin | |
2016-06-09 | Sort out the redeclaration of HAL_OK with Rob's help. | Fredrik Thulin | |
Thanks Rob! | |||
2016-06-09 | bugfixes and cleanups, seems to sort-of work now | Fredrik Thulin | |
2016-06-09 | hash.c triggers gcc's strict-aliasing warnings. | Rob Austein | |
2016-06-08 | Implement flash keystore storage. Most of it is still untested. | Fredrik Thulin | |
2016-06-03 | mkmif.o got lost in makefile cleanup (9ad64e1) | Paul Selkirk | |
2016-06-02 | Add RPC client daemon. | Paul Selkirk | |
2016-06-02 | Refactor serial and slip. | Paul Selkirk | |
2016-06-01 | Add hal_rpc_client_close() where needed. | Paul Selkirk | |
2016-06-01 | Make the makefile hopefully a little more readable/maintainable. | Paul Selkirk | |
2016-05-31 | SHA-224 driver and soft core. | Rob Austein | |
2016-05-31 | Conditionalize "mixed" operations so we can build a clean remote client. | Paul Selkirk | |
Note that mixed mode doesn't actually work, because aes_keywrap tries to hal_io_write to the AES core. | |||
2016-05-26 | correct BPKDF2 -> PBKDF2 ;) | Fredrik Thulin | |
2016-05-25 | Doh, helps if one actually **uses** the argument one just parsed. | Rob Austein | |
2016-05-25 | PBKDF2 works better if we generate the right number of output bytes. | Rob Austein | |
2016-05-25 | Start cleaning up PIN code. | Rob Austein | |
2016-05-25 | correct PBPDF2 -> PBKDF2 | Fredrik Thulin | |
2016-05-24 | Widen an int in an error message, for consistency. | Paul Selkirk | |
2016-05-24 | Work around the fact that stm-fmc.h now pulls in CMSIS HAL symbols. | Paul Selkirk | |
2016-05-24 | This should have been in commit 7f38fc4. | Paul Selkirk | |
2016-05-24 | Add core address to debug output | Paul Selkirk | |
2016-05-24 | Add mkmif | Paul Selkirk | |
2016-05-24 | Move htonl to hal_internal.h | Paul Selkirk | |
2016-05-18 | Impressive how hard it can be to diagnose getting everything but the RPC ↵ | Rob Austein | |
opcode right. | |||
2016-05-17 | Increment return count, not pointer to return count. Feh, C. | Rob Austein | |
2016-05-16 | Fix inverted length check. | Rob Austein | |
2016-05-16 | Round buffer size up to word boundary when verifying RSA signatures. | Rob Austein | |
hsmbully tests strange RSA key sizes (eg, 3416 bits) which don't fall on word boundaries, at which point we have buffer padding and alignment issues when performing RSA signature verification. | |||
2016-05-15 | Tweak keystore API to allow update-in-place, so hal_ks_rename() will work. | Rob Austein | |
2016-05-15 | Add hal_rpc_pkey_rename(); allow null string as (temporary) key name. | Rob Austein | |
Temporary nature of null string as key name is not enforced by the keystore code, it's just a convention to allow callers to generate a keypair, obtain the public key, hash that to a Subject Key Identifier (SKI), and rename the key using the SKI as the new name. This is a compromise to let us use SKI-based key names in PKCS #11 while keeping the keystore code simple. | |||
2016-05-15 | Silence unused variable warning. | Rob Austein | |
2016-05-14 | Fix key flag check, untabify. | Rob Austein | |
2016-05-14 | Trailing whitespace cleanup. | Rob Austein | |
2016-05-14 | Clean up pkey mixed mode. | Rob Austein | |
2016-05-14 | Entirely too much fun with C const-ification. | Rob Austein | |
2016-05-14 | Add mixed-mode key support, for PKCS #11 "session" (ie, not "token") keys. | Rob Austein | |
2016-05-12 | Merge branch 'master' into rpc | Rob Austein | |
2016-05-12 | "Double and add" is sort of like "square and muliply", but "square and | Rob Austein | |
add" is just a symptom of editing documentation in one's sleep. Feh. | |||
2016-05-12 | Fix buffer allocations in RPC client code. | Rob Austein | |
The client wrappers for several RPC calls were not allocating enough space for all of their arguments. Fixed, and added a bit of syntactic sugar to make inspection a bit easier to combat the eyes-glazing-over effect of an entire file full of nearly-identical RPC client stubs. | |||
2016-05-12 | Add hal_digest_algorithm_none; tweak handling of none handles. | Rob Austein | |
2016-05-10 | Merge branch 'master' into rpc | Rob Austein | |
2016-05-10 | Update ECDSA description in README.md -- the point multiplication | Rob Austein | |
algorithm hasn't been a Montgomery Ladder for a long time, if indeed it ever was. | |||
2016-04-24 | Break the RPC dispatch out of hal_rpc_server_main, for the benefit of the ↵ | Paul Selkirk | |
threaded server. | |||
2016-04-11 | Fix includes to bring hal_io_fmc.c in line with hal_io_eim.c. | Paul Selkirk | |
2016-03-29 | Client includes rsa, ecdsa, asn1. | Paul Selkirk | |
Server includes rpc_api because rpc_pkey.c calls hal_rpc_hash_* Remote client uses software modexp. Mixed client uses software hash. Add convenience targets for client, server, etc. | |||
2016-03-29 | Client-side rsa and ecdsa need to call remote get_random. | Paul Selkirk | |