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

Commit Graph

  • dba6d50c75 Remove definition of MAX_SLOT_ID and use NUMBER_SLOTS_MANAGED instead Ingo Franzki 2018-10-16 15:45:19 +02:00
  • 390eb38f78 cca token: Fix lower range limit for HMAC key sizes Harald Freudenberger 2018-10-08 11:57:21 +02:00
  • 286c4e3eef ep11 token: Fix cardname selection for sysfs fetch Harald Freudenberger 2018-10-16 13:30:46 +02:00
  • d564f35901 CCA: Return CKR_CURVE_NOT_SUPPORTED for unsupported EC curves Ingo Franzki 2018-10-09 15:36:28 +02:00
  • 52c8b42f96 ICA: Return CKR_CURVE_NOT_SUPPORTED for unsupported EC curves Ingo Franzki 2018-10-09 14:47:23 +02:00
  • 80b511714d EP11: Add helper function to check for required firmware version Ingo Franzki 2018-10-10 16:34:45 +02:00
  • dd91046750 EP11: Enhance version query to support mixed card types Ingo Franzki 2018-10-10 16:15:43 +02:00
  • 36ccf795a2 EP11: Fix memory leak when token initialization fails Ingo Franzki 2018-10-11 10:21:10 +02:00
  • 2726d91de3 TESTCASE: Correct testcase cleanup handling Ingo Franzki 2018-10-09 16:53:51 +02:00
  • f3e162321b TESTCASE: Harden argument parsing Ingo Franzki 2018-10-09 16:49:31 +02:00
  • 0d2098cd5d CCA: Remove left over debug code Ingo Franzki 2018-10-09 10:22:44 +02:00
  • e6d7071e89 Autotools rework: get rid of recursive make Patrick Steuer 2018-09-28 17:06:14 +02:00
  • 94ea4ea04b EP11: Supply EP11 lib and firmware versions in CK_TOKEN_INFO Ingo Franzki 2018-10-01 16:57:57 +02:00
  • 17436b9e9f EP11: add support for querying the EP11 lib and firmware version Ingo Franzki 2018-09-19 13:20:28 +02:00
  • c0891fb999 TESTCASE: RSA-OAEP without any source data must specify NULL Ingo Franzki 2018-10-01 13:17:58 +02:00
  • 6323791482 Add missing return codes Ingo Franzki 2018-09-28 09:37:37 +02:00
  • e7edebbfc8 EP11: Correct typedefs for EP11 dll_m_* functions Ingo Franzki 2018-10-01 11:04:40 +02:00
  • d4c08749da EP11: Call error translation routine after every EP11 call Ingo Franzki 2018-09-27 10:37:51 +02:00
  • 7097bc4569 pkcsslotd: adapt pid file creation on demonize for systemd Harald Freudenberger 2018-09-27 12:22:49 +02:00
  • 18b27fec45 TESTCASES: Correct test vector numbering Ingo Franzki 2018-09-27 11:29:49 +02:00
  • 2b930ae8b1 TESTCASES: Stop the test after a testcase_error Ingo Franzki 2018-09-26 11:19:04 +02:00
  • d78f417db8 Fix dist and distcheck make targets Patrick Steuer 2018-09-25 13:55:34 +02:00
  • c7916cda87 User per-object CFLAGS Patrick Steuer 2018-09-25 00:36:31 +02:00
  • d076b23d9c Dont use CPPFLAGS instead of CFLAGS Patrick Steuer 2018-09-25 00:24:25 +02:00
  • ac111e1c31 Add cleanup script Patrick Steuer 2018-09-24 23:38:38 +02:00
  • 011ec50bcc Add no-dependencies option to AM_INIT_AUTOMAKE Patrick Steuer 2018-09-24 23:33:26 +02:00
  • b0852694d3 Use PATH_MAX define instead of hard-coded size Patrick Steuer 2018-09-24 17:21:14 +02:00
  • 49e8aa4268 Fix warnings in no DEBUG build Patrick Steuer 2018-09-24 16:39:40 +02:00
  • d21124b3fa Appease -Wunused-function Patrick Steuer 2018-09-24 16:33:48 +02:00
  • a08f63be07 autotools update Patrick Steuer 2018-09-22 22:09:37 +02:00
  • ed589f43ae Add symbol versioning for libopencryptoki and the tokens Patrick Steuer 2018-09-22 11:53:25 +02:00
  • 7d2d65f742 Remove unneeded pragma Patrick Steuer 2018-09-22 02:04:54 +02:00
  • e2b8ffb2c9 Appease -Woverflow Patrick Steuer 2018-09-22 01:29:31 +02:00
  • d51414f44c Appease -Wmissing-field-initializers Patrick Steuer 2018-09-22 01:18:42 +02:00
  • 56a3955d26 travis: add -std=c99 -pedantic Patrick Steuer 2018-09-22 01:08:01 +02:00
  • f34e82bf95 Fix redefinition of typedefs Patrick Steuer 2018-09-22 01:06:15 +02:00
  • 09a2d0d810 Appease dlsym warnings Patrick Steuer 2018-09-22 00:24:02 +02:00
  • 79eb6dcf14 Appease -Wgnu-zero-variadic-macro-arguments Patrick Steuer 2018-09-21 14:50:31 +02:00
  • dc2147520e Appease -Wformat-pedantic Patrick Steuer 2018-09-21 09:41:04 +02:00
  • 9f701a3f88 Appease -Wgnu-empty-initializer Patrick Steuer 2018-09-21 00:04:31 +02:00
  • 58aa6f834e Appease -Wzero-length-array Patrick Steuer 2018-09-20 22:21:47 +02:00
  • 41e60f839d Appease -Wpointer-arith Patrick Steuer 2018-09-20 22:14:14 +02:00
  • fbacfa1a7e Appease -Wpedantic Patrick Steuer 2018-09-20 21:46:46 +02:00
  • 4337060ecd travis: remove superfluous --enable debug Patrick Steuer 2018-09-19 18:35:32 +02:00
  • c38561b02b Appease -Wtautological-pointer-compare Patrick Steuer 2018-09-19 18:17:37 +02:00
  • 6b58053e0d Appease -Wmissing-braces Patrick Steuer 2018-09-19 18:12:49 +02:00
  • 658dcc068d lrt is a linker flag Patrick Steuer 2018-09-19 18:12:05 +02:00
  • 380da88697 Appease -Wmissing-field-initializers Patrick Steuer 2018-09-19 18:01:09 +02:00
  • b1244182da __FUNCTION__ ---> _func_ Patrick Steuer 2018-09-18 00:08:15 +02:00
  • cf48c600cd Remove second semi-colon Patrick Steuer 2018-09-17 23:56:39 +02:00
  • 4fa5af564b Appease -Wpointer-sign Patrick Steuer 2018-09-17 18:35:20 +02:00
  • e49eafca67 Enable -Wextra, dont disable -Wpointer-sign Patrick Steuer 2018-09-17 15:46:19 +02:00
  • 566c2d61b3 travis: Turn on -Wextra. Patrick Steuer 2018-09-17 15:06:28 +02:00
  • ea99b624d2 c99 does not allow empty initializers Patrick Steuer 2018-09-17 14:14:33 +02:00
  • 30f460e4db Turn off -Wsign-compare for autogenerated lex/yacc code Patrick Steuer 2018-09-17 13:01:10 +02:00
  • 1d91f6c08f Appease -Wsign-compare Patrick Steuer 2018-09-15 00:28:09 +02:00
  • da83c5fb09 Cleanse PINs Patrick Steuer 2018-09-15 10:10:12 +02:00
  • 3b7560c069 travis: also build debug code Patrick Steuer 2018-09-14 22:44:16 +02:00
  • f2391da4bb Appease -Wtype-limits Patrick Steuer 2018-09-14 22:42:53 +02:00
  • c6ef49a4c7 Appease -Wcast-function-type Patrick Steuer 2018-09-14 22:06:04 +02:00
  • 4c26b9fedc ep11cpfilter.conf: fix typo Patrick Steuer 2018-09-13 16:59:30 +02:00
  • a934a56559 Appease -Wunused-parameter Patrick Steuer 2018-09-10 19:08:18 +02:00
  • 7152895024 TESTCASE: Enhance SKIP message with human readable mechanism Ingo Franzki 2018-09-19 17:15:00 +02:00
  • ec469b69fa ec_func.c: fix double free Patrick Steuer 2018-09-19 17:26:53 +02:00
  • 87f166c361 TESTCASE: Use CKM_ECDH1_DERIVE in PKCS#11 flavor Ingo Franzki 2018-09-19 13:51:01 +02:00
  • e6a6e1a120 EP11: Support CKM_ECDH1_DERIVE in PKCS#11 flavor Ingo Franzki 2018-09-19 13:49:30 +02:00
  • e49f06d647 TESTCASES: Add twisted versions of brainpool curves Ingo Franzki 2018-09-18 14:36:49 +02:00
  • f0cbedb97e Add twisted versions of brainpool curves to common code Ingo Franzki 2018-09-18 14:36:20 +02:00
  • f3e676c55c EP11: Fix C_Sign/VerifyInit state with single-ops optimization Ingo Franzki 2018-09-17 13:14:13 +02:00
  • aa286984e3 Revert: Compare check for token min and max keysize correction Ingo Franzki 2018-09-17 12:50:30 +02:00
  • b3514138c2 EP11: Correct inconsistent min/max key size for HMAC mechs Ingo Franzki 2018-09-14 17:23:27 +02:00
  • df9c35c203 EP11: Add error translation routine Ingo Franzki 2018-09-11 10:42:19 +02:00
  • 93bd00d1d3 EP11: Fix C_GetMechanismList Ingo Franzki 2018-09-11 09:56:26 +02:00
  • 1c8e8e3db7 CCA token: fix/rework static declarations within cca token code Harald Freudenberger 2018-09-13 16:34:36 +02:00
  • 577a950694 ICA token: fix/rework static declarations within ica token code Harald Freudenberger 2018-09-13 11:56:19 +02:00
  • 74bd25946f Soft token: fix/rework static declarations within the soft token code Harald Freudenberger 2018-09-13 11:51:35 +02:00
  • edad3cfb7a EP11 token: fix/rework static declarations within ep11 token code Harald Freudenberger 2018-09-13 11:48:33 +02:00
  • e8e5af00ae rsa verify must assume an invalid signature if rsa op fails 3 Patrick Steuer 2018-09-10 16:47:32 +02:00
  • 365d13ae14 rsa verify must assume an invalid signature if rsa op fails 2 Patrick Steuer 2018-09-07 20:36:27 +02:00
  • 99721606b6 rsa verify must assume an invalid signature if rsa op fails Patrick Steuer 2018-09-07 20:02:05 +02:00
  • 19a975a4df CCA Token: fix double entry CKM_SHA_1 in mechanism list Harald Freudenberger 2018-09-10 16:14:09 +02:00
  • 3b1bff322a CCA Token: fix misleading trace statement Harald Freudenberger 2018-09-10 13:37:10 +02:00
  • a4e4bcc5dc CCA token: remove MD5 HMAC support from list of supported mechanisms Harald Freudenberger 2018-09-10 07:45:52 +02:00
  • 4cdd5038e7 testcases: Compare check for token min and max keysize correction Harald Freudenberger 2018-09-10 07:43:03 +02:00
  • 5d7fe9049e CCA: CKM_MD5_HMAC correct required key bit range Harald Freudenberger 2018-09-07 12:20:22 +02:00
  • 8f84ca5a13 Appease warnings Patrick Steuer 2018-09-10 10:55:19 +02:00
  • d8b87dcb5f travis: enable -Werror Patrick Steuer 2018-09-09 23:12:18 +02:00
  • 07f46ce490 travis: add ppc64le target Patrick Steuer 2018-09-09 22:57:13 +02:00
  • 5c14c77c86 travis: add clang build Patrick Steuer 2018-09-09 22:32:45 +02:00
  • dd46b017d7 travis: build all tokens that build on x86 Patrick Steuer 2018-09-09 22:12:14 +02:00
  • bd181a9113 Appease -Wsometimes-uninitialized Patrick Steuer 2018-09-09 23:55:22 +02:00
  • 88f59f2859 Appease -Wtautological-constant-out-of-range-compare Patrick Steuer 2018-09-09 23:43:01 +02:00
  • 07b863719c Appease -Wtautological-compare Patrick Steuer 2018-09-09 23:17:00 +02:00
  • f3fa76b702 Appease -Wheader-guard Patrick Steuer 2018-09-09 23:14:05 +02:00
  • 1938a588f9 Appease -Wformat Patrick Steuer 2018-09-07 22:51:20 +02:00
  • 27467da482 EP11: Cleanup context after failing C_Encrypt/DecryptInit Ingo Franzki 2018-09-07 17:20:07 +02:00
  • 115cec38e9 EP11: Return CKR_KEY_SIZE_RANGE when importing a key with invalid size Ingo Franzki 2018-09-07 14:06:16 +02:00
  • 95d71228ec EP11: Return CKR_KEY_HANDLE_INVALID for invalid key handle Ingo Franzki 2018-09-04 17:42:43 +02:00
  • 4190509b1c Correctly distinguish single- and multi-part sign/verify operations Ingo Franzki 2018-09-04 17:29:48 +02:00
  • baabade15e EP11: Correctly distinguish single- and multi-part sign/verify operations Ingo Franzki 2018-09-04 17:14:10 +02:00