1
0
mirror of https://github.com/opencryptoki/opencryptoki.git synced 2026-10-25 17:39:16 +03:00

Commit Graph

  • 01ff1ada18 TESTCASE: Enhance testcase to test attribute-array attributes Ingo Franzki 2021-01-27 12:42:01 +01:00
  • d19c461364 Fix attribute-array flatten and unflatten Ingo Franzki 2021-01-26 15:22:54 +01:00
  • caa4bbba51 A slot ID has nothing to do with the number of slots Patrick Steuer 2021-01-19 14:29:57 +01:00
  • d3f0ebc000 travis: Fix SO pin in travis config Ingo Franzki 2021-01-19 11:43:28 +01:00
  • febe642bd8 Fix -Wmissing-braces compile error Ingo Franzki 2021-01-19 11:08:20 +01:00
  • 41bb270afa Fix -Wmaybe-uninitialized compile warning Ingo Franzki 2021-01-19 10:45:39 +01:00
  • 4123c3cc71 Fix -Wformat compile warning Ingo Franzki 2021-01-19 10:34:55 +01:00
  • 7d5188407d Don't allow to set CKA_PUBLIC_KEY_INFO for private keys Ingo Franzki 2021-01-19 09:51:20 +01:00
  • e207df6fd5 TESTCASES: Fix testcases to no use C_SignFinal directly after C_SignInit Ingo Franzki 2021-01-15 14:45:21 +01:00
  • 7fe01fb5b0 Do not allow C_SignFinal directly following C_SignInit Ingo Franzki 2021-01-15 14:43:53 +01:00
  • 6c833045dd Some attributes can not be modified after object creation Ingo Franzki 2021-01-14 10:43:43 +01:00
  • 4121c5acce TPM: Fix C_SetPIN always fais with CKR_FUNCTION_FAILED Ingo Franzki 2021-01-13 11:47:09 +01:00
  • 13f7435e3b TPM: Allow user login although user pin is not initialized Ingo Franzki 2021-01-13 11:35:25 +01:00
  • c851a4a0de TPM: remove loading and generation of MK_PRIVATE Mantas Mikulėnas 2021-01-04 19:19:49 +02:00
  • bdc37ee217 Added patch to remove small inconsistency in the output when removing a key with and without a --force option Matthias Reumann 2020-12-10 12:39:07 +01:00
  • 821bc7ab46 Added error message handling for p11sak remove-key command. Matthias Reumann 2020-11-24 15:52:16 +01:00
  • 0be4a5cbfe Remove superfluous code Joerg Schmidbauer 2020-12-09 10:09:54 +01:00
  • 260eefc3ea EP11: Pass CKA_MODIFIABLE to EP11 when importing keys Ingo Franzki 2020-11-26 13:28:35 +01:00
  • 860d94a1c6 EP11: Update attributes in opaque key blob on C_SetAttributeValues Ingo Franzki 2020-11-19 16:45:02 +01:00
  • 44e50fa96f Add token specific set_attribute_values function Ingo Franzki 2020-11-19 15:19:51 +01:00
  • 1b16c5a565 TESTCASES: new testcase to test CCA opaque key token export and import Harald Freudenberger 2020-11-24 10:41:30 +01:00
  • dc851deba4 CCA: support import of raw cca tokens with C_ObjectCreate via CKA_IBM_OPAQUE Harald Freudenberger 2020-11-24 14:39:54 +01:00
  • 3c48f15534 CCA: store only public token in IBM_OPAQUE attribute Harald Freudenberger 2020-11-24 13:07:12 +01:00
  • ce13c5ce0a DEBUG: new debug functions Harald Freudenberger 2020-11-29 11:34:41 +01:00
  • cd0c2e8a70 PKCSCCA: Remove duplicated common code Ingo Franzki 2020-11-17 13:57:46 +01:00
  • 062b062c01 Correct optimize_single_ops handling of NULL mech param Joerg Schmidbauer 2020-11-26 15:59:42 +01:00
  • 68f85a6e75 Fix comment and return code Joerg Schmidbauer 2020-11-26 15:41:55 +01:00
  • aa7fb8d247 Fix cpp_test Patrick Steuer 2020-11-27 17:02:47 +01:00
  • e4b5cf26ac Add C++ build test Patrick Steuer 2020-11-26 10:29:16 +01:00
  • 2d16f00391 Fix compiling with c++ Bjar Ne 2020-11-25 09:13:57 +00:00
  • 867c526a6a TESTCASES: Test CKA_WRAP_TEMPLATE and CKA_UNWRAP_TEMPLATE Ingo Franzki 2020-11-16 11:25:29 +01:00
  • 46ceaf85a5 Support CKA_UNWRAP_TEMPLATE attribute Ingo Franzki 2020-11-16 10:01:21 +01:00
  • 2d0f20be4a Support CKA_WRAP_TEMPLATE attribute Ingo Franzki 2020-11-16 09:55:17 +01:00
  • c4f46cbfc9 Add support for attribute-array attributes Ingo Franzki 2020-11-13 13:35:04 +01:00
  • bde5dcd1ea API: Move certain parameter checking into the token DLLs Ingo Franzki 2020-11-12 15:11:32 +01:00
  • 7261d95776 Don't allow to set attribute CKA_ALWAYS_AUTHENTICATE to TRUE Ingo Franzki 2020-11-11 16:41:59 +01:00
  • de468367c1 Add support for CKA_ALLOWED_MECHANISMS to restrict key usage Ingo Franzki 2020-11-11 16:33:54 +01:00
  • 00c689b211 TESTCASE: Test CKM_ECDH1_DERIVE without CKA_VALUE_LEN Ingo Franzki 2020-11-11 13:49:48 +01:00
  • 075902a641 Key derivation via CKM_ECDH1_DERIVE: Make CKA_VALUE_LEN optional Ingo Franzki 2020-11-10 14:32:39 +01:00
  • 4486a9f4fd Correct error handling of C_Sign/Verify/Update/Final Ingo Franzki 2020-11-10 16:40:57 +01:00
  • df982a9e4d SOFT: Enable CKM_SHAx_RSA_PKCS mechanisms Ingo Franzki 2020-11-10 15:54:58 +01:00
  • 8695fcfa63 EP11: Use EP11 host library header files as-is Ingo Franzki 2020-10-12 17:17:02 +02:00
  • a7fd22034c Add template_update_attribute error checking Ingo Franzki 2020-11-09 17:47:39 +01:00
  • ec114bec7d Fill CKA_KEY_GEN_MECHANISM at key generation Ingo Franzki 2020-10-30 16:15:53 +01:00
  • fe2855947b Don't trim attributes that are not big integers Ingo Franzki 2020-10-30 15:38:28 +01:00
  • 6f7d304afa ICA: Allow trimmed EC private keys Ingo Franzki 2020-10-30 15:30:54 +01:00
  • 61f92a4b28 EP11: Support CKA_PUBLIC_KEY_INFO and CKA_CHECK_VALUE Ingo Franzki 2020-10-30 11:03:10 +01:00
  • 3981b6564e COMMON: Add support to wrap DH keys Ingo Franzki 2020-10-30 09:08:35 +01:00
  • db97b5bd9b Support CKA_PUBLIC_KEY_INFO for public and private keys Ingo Franzki 2020-10-29 17:30:22 +01:00
  • 3f14b0a74c Allow to specify CKA_CHECK_VALUE for a secret key Ingo Franzki 2020-10-29 17:06:15 +01:00
  • ee994bfc14 Add missing attributes for certificate objects Ingo Franzki 2020-10-29 16:35:06 +01:00
  • e5fc87dde2 Support CKA_OBJECT_ID for CKO_DATA objects Ingo Franzki 2020-10-29 15:12:24 +01:00
  • dfc0d3ae45 Check CKA_DERIVE for C_DeriveKey function Ingo Franzki 2020-10-29 13:46:29 +01:00
  • cd1cdcb928 Check CKA_WRAP and CKA_UNWRAP also for token specific wrap/unwrap Ingo Franzki 2020-10-29 13:09:17 +01:00
  • 16413bcd28 Trace object handle at creation an usage Ingo Franzki 2020-10-29 11:19:35 +01:00
  • 18b9d14ca4 Fix return codes in attribute validation Ingo Franzki 2020-10-28 16:36:31 +01:00
  • 3d2579cef8 SOFT: Support raw EC Point with CKM_ECDH1_DERIVE Ingo Franzki 2020-10-28 15:30:55 +01:00
  • 6195e57e40 Fix trace messages Ingo Franzki 2020-10-28 14:55:59 +01:00
  • 3e29bcd065 Check access to attributes more precisely Ingo Franzki 2020-10-23 18:03:33 +02:00
  • a3c002397e TESTCASES: Avoid NULL dereference in case of missing argument Ingo Franzki 2020-10-28 14:15:51 +01:00
  • 515c5138ac TESTCASES: Add tests for special attributes Ingo Franzki 2020-10-23 10:42:41 +02:00
  • 5b907b1c21 EP11: Fix out of bounds access Ingo Franzki 2020-10-22 17:35:53 +02:00
  • 682d98ebbb Remove superfluous code Ingo Franzki 2020-10-22 17:25:33 +02:00
  • a0379df0d4 Support CKA_DESTROYABLE and CKA_COPYABLE Ingo Franzki 2020-10-22 17:22:38 +02:00
  • f1e85c0e07 Support CKA_TRUSTED and CKA_WRAP_WITH_TRUSTED attributes Ingo Franzki 2020-10-22 14:15:07 +02:00
  • ccfd8b494b Add missing attributes Ingo Franzki 2020-10-21 10:37:48 +02:00
  • 8bf0576d61 Fix return codes for CKM_ECDH1_DERIVE Ingo Franzki 2020-10-20 09:27:58 +02:00
  • 950de57292 Add missing return codes Ingo Franzki 2020-10-21 10:24:15 +02:00
  • 13dce842b5 Check base key type for CKM_ECDH1_DERIVE Ingo Franzki 2020-10-20 09:06:56 +02:00
  • 03610bea17 Return code fixes for C_CreateObject with improper template Ingo Franzki 2020-10-19 15:01:18 +02:00
  • ce3f715b05 Fix return code if CKA_VALUE_LEN is missing in derive template Ingo Franzki 2020-10-19 14:22:14 +02:00
  • 017021b924 SOFT: Return CKR_SIGNATURE_INVALID when RSA verify fails Ingo Franzki 2020-10-19 14:02:11 +02:00
  • b7a2306b62 Fix sign/verify of empty message Ingo Franzki 2020-10-19 11:56:56 +02:00
  • e57442258b Fix RSA signature/decryption of empty message with CKM_RSA_PKCS Ingo Franzki 2020-11-12 17:43:32 +01:00
  • af7e1384bf Wrong function name in trace message Ingo Franzki 2020-10-19 11:33:13 +02:00
  • bf40996e5e Add more tests to be executed in ock_tests.sh Ingo Franzki 2020-11-19 11:32:08 +01:00
  • 304bac3eca Add ci-installcheck make target Juergen Christ 2020-11-13 10:10:59 +01:00
  • d2cabc7fb4 Make testcases-folder world writable for su tests Juergen Christ 2020-10-31 22:27:43 +01:00
  • 4f7bf05eba Bumping up to version 3.15.1 v3.15.1 Patrick Steuer 2020-10-28 15:29:45 +01:00
  • e1b8da5e1b Remove ep11 configuration on uninstall Juergen Christ 2020-10-26 17:25:18 +01:00
  • 454ba34598 TESTCASES: Use FIPS conforming keys for 3DES CBC-MAC test vectors Ingo Franzki 2020-10-23 09:53:22 +02:00
  • 7bbc62514a Remove now unused header timeb.h Ingo Franzki 2020-10-20 08:47:24 +02:00
  • 743217cead TPM: Fix double free in openssl_gen_key Ingo Franzki 2020-10-20 10:06:52 +02:00
  • 1190f0ac2d Fix buffer overrun in C_CopyObject Ingo Franzki 2020-10-19 17:07:01 +02:00
  • dea20c645c Don't delete the map-btree entry if destroying an object is not allowed Ingo Franzki 2020-10-19 16:25:45 +02:00
  • 0d09a5d47c CCA: Zeroize key buffer to avoid CCA 8/32 error Ingo Franzki 2020-10-19 13:03:49 +02:00
  • 0c62b3bc2c Free generated key in all error cases Ingo Franzki 2020-10-19 10:02:32 +02:00
  • 7f53d5b3c8 Bumping up to version-3.15.0 v3.15.0 Patrick Steuer 2020-10-14 00:25:15 +02:00
  • 64081602f0 Appease -Wstringop-truncation Patrick Steuer 2020-10-16 13:52:55 +02:00
  • ff0ee03eb5 Fix endian bug in X9.63 KDF Patrick Steuer 2020-10-16 12:31:09 +02:00
  • 7a7c7b8a71 Fix segfault if early error is detected in sign/verify Ingo Franzki 2020-10-16 11:13:30 +02:00
  • 70e379e0ed TRACE: Print trace level and OCK version as first line in trace Ingo Franzki 2020-10-16 10:24:38 +02:00
  • 61988c197d Trace more information for attribute type and value errors Ingo Franzki 2020-10-16 10:13:27 +02:00
  • 4f415b53b2 Return code fixes Ingo Franzki 2020-10-16 09:52:07 +02:00
  • a547ff40d4 Remove superfluous parser rule Juergen Christ 2020-10-15 17:04:28 +02:00
  • e0205a93d7 EP11/TESTCASES: Fix ECDH with montgomery curves Ingo Franzki 2020-10-15 16:22:07 +02:00
  • 970233bf77 Check for read-only session when destroying an object Ingo Franzki 2020-10-15 11:48:46 +02:00
  • 1e4bfa6e3b Return CKR_TEMPLATE_INCOMPLETE if template does not contain derive key type Ingo Franzki 2020-10-15 11:37:24 +02:00
  • 1ce57398f6 SOFT: EC Verify: Return CKR_SIGNATURE_LEN_RANGE if signature is too short Ingo Franzki 2020-10-15 11:14:56 +02:00
  • c6d0ead357 Fix segfault when in_data = NULL, and in_data_len = 0 Ingo Franzki 2020-10-15 11:05:56 +02:00