1
0
mirror of https://github.com/opencryptoki/opencryptoki.git synced 2026-10-27 06:12:56 +03:00

Commit Graph

  • 1f67f60780 Fix argument checking for C_DeriveKey with CKM_SSL3_KEY_AND_MAC_DERIVE Ingo Franzki 2020-03-18 17:38:20 +01:00
  • bca1b4ab90 ICSF: Handle length for CBC_PAD mechanisms correctly Ingo Franzki 2020-03-18 16:39:19 +01:00
  • 639989957b ICSF: Fix zero termination of token name string Ingo Franzki 2020-03-18 11:39:08 +01:00
  • 627d64db1a pkcsconf: Display token info values only if available Ingo Franzki 2020-03-18 10:02:31 +01:00
  • 9168eab8d8 Remove the global API lock Ingo Franzki 2020-03-09 10:34:00 +01:00
  • 9174e90cf7 TESTCASE: Add multi threaded object lock test Ingo Franzki 2020-03-12 16:44:11 +01:00
  • d6a19754a5 Protect object attributes from concurrent modification Ingo Franzki 2020-03-11 14:01:31 +01:00
  • e963ae413d Correct locking of access to token objects Ingo Franzki 2020-03-10 11:26:05 +01:00
  • b780c516aa Only synchronize with shared memory if its a token object Ingo Franzki 2020-03-11 11:00:08 +01:00
  • 533b9139bf Fix synchronization of shared memory and token directory Ingo Franzki 2020-03-09 17:43:36 +01:00
  • 25d606037e Make XProcLock a truly recursive lock Ingo Franzki 2020-03-09 14:48:02 +01:00
  • 41b2502965 Fix typo in trace message Ingo Franzki 2020-03-03 14:11:36 +01:00
  • 37636f0448 Unify the 3 new_host.c files to ease comparing of them Ingo Franzki 2020-03-03 10:46:51 +01:00
  • b963c8d1a1 Add reference counts for all objects stored in btrees Ingo Franzki 2020-02-27 17:38:08 +01:00
  • 41ef286456 Move btree's node delete callback function into btree Ingo Franzki 2020-02-27 15:45:29 +01:00
  • ff7f281ba9 Fix btree race conditions Ingo Franzki 2020-02-26 17:04:32 +01:00
  • 93a28b28b1 Use one mutex per btree instead of global btree lock Ingo Franzki 2020-02-26 14:22:51 +01:00
  • a9ff3ad19e Simplify btree function bt_node_free Ingo Franzki 2020-02-26 13:48:34 +01:00
  • 6c96a0df4d Change object_mgr_destroy_object() to not use a delete-callback Ingo Franzki 2020-02-27 14:20:41 +01:00
  • f0d3c9c06e Change bt_node_free() to return the value of the deleted node Ingo Franzki 2020-02-27 14:18:13 +01:00
  • af37c6f404 TESTCASES: Add multi instance test case Ingo Franzki 2020-02-25 15:42:09 +01:00
  • a57e9ef538 TESTCASES: Add fork testcase Ingo Franzki 2020-02-25 14:06:07 +01:00
  • 50bb7a6c8f Move login_mutex to STDLL_TokData_t and use it in relevant places Ingo Franzki 2020-03-05 15:52:38 +01:00
  • 3a5108b009 Remove superfluous global obj_list_mutex Ingo Franzki 2020-03-05 11:20:08 +01:00
  • cc6df8f237 Move global variable pk_dir into token specific STDLL_TokData_t Ingo Franzki 2020-02-25 11:20:22 +01:00
  • e36281f72d Make mechanism list handling multi instance save Ingo Franzki 2020-02-25 10:41:48 +01:00
  • c1d52c83ed Support multiple instances of TPM token Ingo Franzki 2020-02-24 17:54:23 +01:00
  • e7ee6f4364 Support multiple instances of ICA token Ingo Franzki 2020-02-24 17:08:19 +01:00
  • edac579986 Support multiple instances of ICSF token Ingo Franzki 2020-02-24 16:13:04 +01:00
  • 5b298fe93c Move global BTrees and state variables into struct _STDLL_TokData_t Ingo Franzki 2020-02-19 13:10:43 +01:00
  • d2bac35d5f Rework initialize, terminate, and fork handling Ingo Franzki 2020-02-26 09:56:46 +01:00
  • 7f5a68e145 Use session_mgr_user_session_exists() to ensure locked access Ingo Franzki 2020-02-19 14:19:38 +01:00
  • 33991f1e5d Lock access to global_login_state and ro_session_count for Login/Logout Ingo Franzki 2020-02-19 14:12:14 +01:00
  • 9aba1cd464 Move global sess_list_mutex to icsf_specific.c Ingo Franzki 2020-02-19 13:53:48 +01:00
  • 2e0d868152 Remove unused external function prototypes Ingo Franzki 2020-02-19 12:40:33 +01:00
  • 41d76f16ef Remove unused global variables Ingo Franzki 2020-02-21 09:37:10 +01:00
  • a418bcd21c Make constant global variables const Ingo Franzki 2020-02-19 11:16:39 +01:00
  • 910a626333 Fix build with openssl master Patrick Steuer 2020-03-25 11:25:08 +01:00
  • 62ccaa4974 Bumping up to version-3.13.0 v3.13.0 Patrick Steuer 2020-02-18 21:39:05 +01:00
  • 1f56f54a53 Build with locks per default Patrick Steuer 2020-02-18 22:06:19 +01:00
  • 7fca455a97 EP11: Dilithium stage1, rename public key attribute "seed" to "rho" Joerg Schmidbauer 2020-02-24 10:31:42 +01:00
  • 065c2df1ed lock_btree: minor rework Harald Freudenberger 2020-02-17 13:49:54 +01:00
  • 6433c4680a lock_btree and lock_sess_mgr whitespace and comment fixes Harald Freudenberger 2020-02-17 13:20:44 +01:00
  • 847764e48f Destroy XProcLock in pkcsslotd Ingo Franzki 2020-02-04 10:00:37 +01:00
  • a3d1af27c8 Add parentheses to constant definitions and remove some superfluous code Joerg Schmidbauer 2020-02-18 14:35:35 +01:00
  • a774ed9444 Fix typos in TRACE messages Joerg Schmidbauer 2020-02-18 14:24:54 +01:00
  • 985ca1a142 EP11: Dilithium stage1, testcases Joerg Schmidbauer 2020-02-04 13:36:16 +01:00
  • bd10e5aa46 EP11: Dilithium stage1, basic definitions and library functions Joerg Schmidbauer 2020-02-04 13:28:38 +01:00
  • 955ab1526c Add thread id to the trace line output. Harald Freudenberger 2020-02-13 16:28:37 +01:00
  • b4b4e584ac Fix return code checking when using template_attribute_find Joerg Schmidbauer 2020-02-03 10:20:29 +01:00
  • 33e58bc69b Fix build issue with gcc 10 and -fno-common Ingo Franzki 2020-01-31 11:06:22 +01:00
  • dd79903097 EP11: Blacklist some EP11 specific mechanisms Ingo Franzki 2019-12-02 11:12:22 +01:00
  • edc32d714a TESTCASES: Enhance EC testcases to test Edwards and Montgomery curves Ingo Franzki 2019-11-28 11:18:24 +01:00
  • 6a2a220794 EP11: Add support for Edwards curves and IBM specific mechanisms for it Ingo Franzki 2019-11-27 16:29:12 +01:00
  • ed3669e7ad Don't uncompress public keys for Edwards/Montgomery curves Ingo Franzki 2019-11-27 16:13:01 +01:00
  • 6f64fd60a0 CCA: Restrict the CCA token to support prime and brainpool curves only Ingo Franzki 2019-11-27 16:04:05 +01:00
  • 2b08eb9486 Add Edwards curve OIDs Ingo Franzki 2019-11-27 16:03:16 +01:00
  • e7ea7980e4 Add IBM specific mechanisms for Edwards curves Ingo Franzki 2019-11-27 15:35:26 +01:00
  • 48743cf70b TESTCASES: Enhance RSA-OAEP testcases Ingo Franzki 2019-10-30 13:36:07 +01:00
  • d0cab59b3e EP11: Support RSA-OAEP with non-SHA1 hash and MGF Ingo Franzki 2019-10-30 12:36:07 +01:00
  • d9c155f12b EP11: Add new control points Ingo Franzki 2019-10-30 11:01:51 +01:00
  • 0e7d5bd213 Configure: Only enable EP11 token by default if libica headers found Ingo Franzki 2019-12-11 13:38:49 +01:00
  • f668448be0 EP11: Add support for EP11 HSM simulation Ingo Franzki 2019-12-02 10:13:45 +01:00
  • 50a8a88060 EP11: Fix EC-uncompress buffer length Ingo Franzki 2019-12-03 14:58:26 +01:00
  • 9d84845427 Bumping up to version-3.12.1 v3.12.1 Patrick Steuer 2019-11-22 12:34:02 +01:00
  • 91777b1418 TESTCASES: Skip test if CKM_RSA_PKCS is not available Ingo Franzki 2019-11-20 13:12:23 +01:00
  • fff226398e pkcsep11_migrate: Rework to replace deprecated EP11 functions Ingo Franzki 2019-11-19 10:22:35 +01:00
  • 316e35e55b pkcsep11_migrate: Fix re-encryption of EP11 key blobs Ingo Franzki 2019-11-19 08:49:20 +01:00
  • 71af560676 EP11: Fix obtaining of EP11 host library version Ingo Franzki 2019-11-18 14:22:53 +01:00
  • 8cd4b97748 Update build time requirements in README and .spec file Patrick Steuer 2019-11-15 09:26:43 +01:00
  • 396c533728 ep11_specific.c: Appease -Wmissing-field-initializers Patrick Steuer 2019-11-14 16:43:27 +01:00
  • e167852563 travis.yml: add s390x and arm64 targets Patrick Steuer 2019-11-14 11:55:18 +01:00
  • 7aa073b4e5 add include <stdint.h> for uint32_t type Than Ngo 2019-11-12 13:30:25 +01:00
  • 682c84541e Bumping up to version-3.12.0 v3.12.0 Patrick Steuer 2019-11-08 17:18:03 +01:00
  • 4c6dd84e4c ica_specific.c: avoid collission of libica and ref. mechlist Patrick Steuer 2019-11-11 12:36:42 +01:00
  • 79dab6d06f pkcscca: enable new data store format logins Patrick Steuer 2019-11-11 14:58:20 +01:00
  • 1398f3edb8 Update token pin and data store encryption for soft,ica,cca and ep11 Patrick Steuer 2019-10-23 20:10:24 +02:00
  • 4b98bc7358 travis: update dist to ubuntu xenial Patrick Steuer 2019-11-08 17:35:06 +01:00
  • ce4df833ae Update sample rpm spec file Patrick Steuer 2019-11-08 17:39:15 +01:00
  • b729b62e26 EP11: Fix possible memory leak Ingo Franzki 2019-10-30 12:32:20 +01:00
  • 2923285fa9 TESTCASE: Change EC public keys to use DER encoded OCTET STRING Ingo Franzki 2019-10-23 11:47:30 +02:00
  • 780f159073 EP11: Fix CKA_EC_POINT handling Ingo Franzki 2019-10-24 12:41:26 +02:00
  • 7cc59b109d CCA: Fix CKA_EC_POINT handling Ingo Franzki 2019-10-24 10:24:33 +02:00
  • dd558ed776 ICA: Fix CKA_EC_POINT handling Ingo Franzki 2019-10-23 09:34:07 +02:00
  • 3e9862832d COMMON: Fix CKA_EC_POINT handling Ingo Franzki 2019-10-23 12:17:51 +02:00
  • 3756138fc3 API: Lock API against concurrent use from other threads Ingo Franzki 2019-10-08 10:26:21 +02:00
  • 64730c36da API: remove unused mutexes Ingo Franzki 2019-10-08 09:34:07 +02:00
  • 499e854f73 COMMON: A cross-process lock should also lock against threads Ingo Franzki 2019-10-02 12:39:10 +02:00
  • e856aff526 COMMON: Fix btree node free race condition Ingo Franzki 2019-10-01 15:46:29 +02:00
  • fd1766319e EP11: Correct extraction of unwrapped key bit length Ingo Franzki 2019-10-18 13:35:30 +02:00
  • 2b4c7bc7e5 EP11: Extract public key attributes during C_UnwrapKey Ingo Franzki 2019-10-18 12:31:12 +02:00
  • 8c31d0c42f Move function ecdsa_priv_unwrap_get_data to key.c Ingo Franzki 2019-10-18 12:16:50 +02:00
  • 5be3b5c02b Add functions to decode RSA, DSA, and DH public keys Ingo Franzki 2019-10-18 12:05:14 +02:00
  • 185cb7474d Simplify der_decode_ECPublicKey with new ber_decode_SPKI Ingo Franzki 2019-10-18 11:01:20 +02:00
  • ce390fafa9 Move BER-decode of SPKI to common code Ingo Franzki 2019-10-18 10:25:47 +02:00
  • c036611b6d Move functions for DER-encoding of public keys to common code Ingo Franzki 2019-10-18 09:38:17 +02:00
  • d023fa0fb0 Inform the user about required pkcs11 group membership Patrick Steuer 2019-02-08 19:10:57 +01:00
  • ac50293f40 TESTCASE: Enhance CKM_ECDH1_DERIVE tests for EP11 Ingo Franzki 2019-09-23 14:28:40 +02:00
  • b08148155d EP11: Allow importing of compressed EC public keys Ingo Franzki 2019-09-23 17:42:41 +02:00
  • 63122c1f3c EP11: Special handling for CKM_ECDH1_DERIVE with CEX7 Ingo Franzki 2019-09-27 10:26:57 +02:00