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

Commit Graph

  • 6267b8fae5 Correct aes ctr key wrapping. Also include CBC and ECB key wrapping. Richa Marwaha 2011-05-16 18:03:54 -05:00
  • 123e179201 Ensure modular bits are valid. Kent Yoder 2011-05-16 17:42:33 -05:00
  • 31a01017de SF #3301770 Due to a common function being used for unwrap, des and 3des key unwrapping was looking for a specific template required only for AES keys, and additionally were being unpacked into the CKA_VALUE attribute instead of the CKA_IBM_OPAQUE attribute. Kent Yoder 2011-05-16 17:32:57 -05:00
  • ca86e08288 CCA AES128 keygen fix. Kent Yoder 2011-05-16 17:27:02 -05:00
  • 7f52b1ac5e Cleanup logging. Debug messages now go to a debug file that is identified with OPENCRYPTOKI_DEBUG_FILE environ variable when debug is enabled. syslog messages are logged regardless. Joy Latten 2011-05-16 12:57:23 -05:00
  • ac8df4e876 Remove unnecessary rsa testcases. Kent Yoder 2011-05-13 13:43:05 -05:00
  • e3ddaa6f47 Allow pkcsconf to print supported mechanisms for a slot. Also add testcases/driver/ec_tests to the git ignore list. Kent Yoder 2011-05-12 16:37:42 -05:00
  • d42505c679 Cleanup and remove unsupported mechanisms from the various stdlls. Kent Yoder 2011-05-12 16:30:22 -05:00
  • 2701e1fe86 Add aes ctr to token specific structure for the STDLLs. Also check that token supports aes ctr mechanism for encrypt and decrypt before calling. Kent Yoder 2011-05-12 16:15:57 -05:00
  • 9182a45a13 Added decrypt in AES-Counter Mode testcase Richa Marwaha 2011-05-12 15:55:24 -05:00
  • db6b9679b9 Added support for AES-Counter Mode Richa Marwaha 2011-05-12 15:40:06 -05:00
  • ef0ec85a58 Added Elliptic Curve support Ashley Lai 2011-05-11 15:17:08 -05:00
  • 3ae4839504 Add gdb command to dump ECC key token generated by CCA Joy Latten 2011-05-11 13:47:54 -05:00
  • 0fbb73ef94 Add a gdb command script with helpful commands for debugging opencryptoki. Useful commands are prefixed with "ock_" to make easier to callup. Internal functions are prefixed with "__ock_". i.e. ock_dump_obj_template <OBJECT *> - dumps and object's template Joy Latten 2011-05-03 11:06:22 -05:00
  • 4642b81f35 SF1415656 - Update PKCS#11 API version number to 2.20. Joy Latten 2011-05-03 10:57:51 -05:00
  • 7def346e5d Fixes issue where public exponent passed to software token became corrupt on s390x. Fix memcpy's public exponent into a CK_ULONG (size of the openssl RSA_generate_key argument) and call correct endianess macro. Joy Latten 2011-05-03 10:20:51 -05:00
  • 8c00420f7d SF3196229 This fixes an issue in object mgmt rewrite in which the wrong handle was being returned by object_mgr_find_in_map2. Joy Latten 2011-05-02 16:36:46 -05:00
  • 684acad6f3 SF3196229 TPM has a custom logout that was being missed. Joy Latten 2011-05-02 16:13:59 -05:00
  • 7f0c29dede SF3131950: The public exponent needs to be added to the private key for rsa. Also includes a new testcase to test for this. Joy Latten 2011-05-02 15:15:38 -05:00
  • 039dabd216 Fix for SF3196185. template_check_exportability should return TRUE/FALSE (CK_BBOOL) instead of CKR_ATTRIBUTE_VALUE_INVALID. Joy Latten 2011-04-28 11:31:50 -05:00
  • 517c7fcb36 Testcases hung when public exponent was omitted. A side effect from reverting 08fe158617. Joy Latten 2011-04-28 11:17:20 -05:00
  • cbd1f6d494 Revert "Soft token: Better public-exponent validation" The memcpy can blow away the app's public exponent, so reverting the patch. Joy Latten 2011-04-27 14:48:01 -05:00
  • 96ee90cb56 Prior patches allowed sessions to be stored in a btree. This patch leverages that to also store pkcs#11 objects in a btree. Joy Latten 2011-04-19 12:25:12 -05:00
  • 80c8b46d2c Two additional fixes for session odject handle found during testing. Joy Latten 2011-04-18 17:03:30 -05:00
  • 47b3f49649 pkcs_slot should create missing directories and ensure group pkcs11 perms. Joy Latten 2011-04-18 16:09:03 -05:00
  • ccedbebc22 Remove an invalid test in login_test.sh. Joy Latten 2011-04-18 15:07:08 -05:00
  • fa601fd599 Add a .gitignore to opencryptoki project for v2.4. Joy Latten 2011-04-18 14:54:12 -05:00
  • f3dabf9817 Forgot to add Kent's btree.c file for his session object handle changes. Joy Latten 2011-04-18 12:35:50 -05:00
  • 1fc76cd39a SF Bug #3196229 session handle issue Change from using a reference to memory to using a handle which references a binary tree node. Joy Latten 2011-04-15 15:48:18 -05:00
  • 106d0eb301 strip_pkcs_padding() was missing parenthesis, thus always resulting in an error message. Joy Latten 2011-04-14 17:10:15 -05:00
  • a40f2f3573 Run autoupdate for update sake. Diego Elio Pettenò 2011-01-15 01:50:45 +01:00
  • 9a6cf5d8e1 Cleanup and simply configure.in. Diego Elio Pettenò 2011-01-15 01:50:44 +01:00
  • 8012e21645 Fix implicit declarations in p11util.c Diego Elio Pettenò 2011-01-14 01:17:56 +01:00
  • cde6502885 opencryptoki 2.3.3 release v2.3.3 Klaus Heinrich Kiwi 2011-01-13 15:07:04 -02:00
  • 5dd800c05f Minor TPM token build fix Klaus Heinrich Kiwi 2011-01-13 15:24:59 -02:00
  • a9941483df Merge branch 'master' into log-refactor log-refactor Klaus Heinrich Kiwi 2011-01-13 10:59:01 -02:00
  • 3ebee4d44f Make sure to create directories before trying to install anything. Diego Elio Pettenò 2011-01-07 23:59:25 +01:00
  • eaf724913d Patch out the recursive chmod -R in pkcs_slot Nathan Williams 2011-01-07 23:59:24 +01:00
  • 64a9232029 Make pkcsslotd grab the shared memory it needs, even if it wasnt freed by a previous instance Chris Masone 2011-01-07 23:59:22 +01:00
  • e61b4fa153 Define 64-bit unsigned integer Petre Rodan 2011-01-07 23:59:21 +01:00
  • fda2f3a54a Introducing ock_log_debug() Klaus Heinrich Kiwi 2010-12-17 14:16:42 -02:00
  • 7e523b03cc Introducing ock_log_err_ex(OCK_E_GENERIC, ...) Klaus Heinrich Kiwi 2010-12-17 14:16:25 -02:00
  • ae59ddf2ef Introduce ock_log_warn_ex(OCK_E_GENERIC, ...) Klaus Heinrich Kiwi 2010-12-17 14:11:23 -02:00
  • b288d75f58 Consolidate logging: Introduce log.h, get rid of local logging Klaus Heinrich Kiwi 2010-12-17 14:09:33 -02:00
  • 0456adaa72 Marked err_mgs not being used Klaus Heinrich Kiwi 2010-12-14 19:57:00 -02:00
  • 3642fa2bf8 Introducing ock_log_err(OCK_E_CANT_OPEN_FILE) - FINALLY Klaus Heinrich Kiwi 2010-12-14 19:56:16 -02:00
  • 9f09476645 Introducing ock_log_err(OCK_E_DOMAIN_PARAM) Klaus Heinrich Kiwi 2010-12-14 19:51:47 -02:00
  • bdc9114601 Introducing ock_log_err(OCK_E_AES_WRAP_FORMAT) Klaus Heinrich Kiwi 2010-12-14 19:51:05 -02:00
  • 962337e2dc Introducing ock_log_err(OCK_E_AES_WRAP_GET_DATA) Klaus Heinrich Kiwi 2010-12-14 19:50:20 -02:00
  • 5a6e455b90 Introducing ock_log_err(OCK_E_DERIVE) Klaus Heinrich Kiwi 2010-12-14 19:49:52 -02:00
  • 642b395ef6 Introducing ock_log_err(OCK_E_UNWRAP_KEY2) Klaus Heinrich Kiwi 2010-12-14 19:49:22 -02:00
  • fc7b397821 Introducing ock_log_err(OCK_E_WRAP_KEY) Klaus Heinrich Kiwi 2010-12-14 19:48:19 -02:00
  • 189aa60a62 Introducing ock_log_err(OCK_E_VERIFY_RECOVER) Klaus Heinrich Kiwi 2010-12-14 19:47:49 -02:00
  • a83f35f1c4 Introducing ock_log_err(OCK_E_SIGN_RECOVER) Klaus Heinrich Kiwi 2010-12-14 19:47:15 -02:00
  • 438a3762d6 Introducing ock_log_err(OCK_E_OBJ_MGR_FIND_INIT) Klaus Heinrich Kiwi 2010-12-14 19:46:46 -02:00
  • daf41ead30 Introducing ock_log_err(OCK_E_OBJ_MGR_GET_SIZE) Klaus Heinrich Kiwi 2010-12-14 19:46:19 -02:00
  • 4f196a5010 Introducing ock_log_err(OCK_E_ATTR_UNDEF) Klaus Heinrich Kiwi 2010-12-14 19:45:45 -02:00
  • 3e686cf018 Introducing ock_log_err(OCK_E_OBJ_MGR_DESTROY) Klaus Heinrich Kiwi 2010-12-14 19:45:23 -02:00
  • 2a0585d241 Introducing ock_log_err(OCK_E_DECRYPT_MGR_FINAL) Klaus Heinrich Kiwi 2010-12-14 19:45:00 -02:00
  • 792d6a2c5c Introducing ock_log_err(OCK_E_DECRYPT_MGR_UPDATE) Klaus Heinrich Kiwi 2010-12-14 19:44:32 -02:00
  • 29ffe61a5d Introducing ock_log_err(OCK_E_DECRYPT_MGR_INIT) Klaus Heinrich Kiwi 2010-12-14 19:39:34 -02:00
  • 97749df329 Introducing ock_log_err(OCK_E_UPDATE_ATTR) Klaus Heinrich Kiwi 2010-12-14 19:39:10 -02:00
  • 20fc6faef9 Introducing ock_log_err(OCK_E_ENCRYPT_MGR_ENCRYPT_FINAL) Klaus Heinrich Kiwi 2010-12-14 19:38:15 -02:00
  • 71b6695cca Introducing ock_log_err(OCK_E_ENCRYPT_MGR_ENCRYPT_UPDATE) Klaus Heinrich Kiwi 2010-12-14 19:37:37 -02:00
  • 45a3833098 Introducing ock_log_err(OCK_E_SESS_MGR) Klaus Heinrich Kiwi 2010-12-14 19:36:49 -02:00
  • 9b652814fb Introducing ock_log_err(OCK_E_UNWRAP_KEY) Klaus Heinrich Kiwi 2010-12-14 19:36:05 -02:00
  • 07ad392792 Introducing ock_log_err(OCK_E_SET_DEFAULT_ATTR) Klaus Heinrich Kiwi 2010-12-14 19:34:47 -02:00
  • 084196eadd Introducing ock_log_err(OCK_E_SIGN) Klaus Heinrich Kiwi 2010-12-14 19:34:15 -02:00
  • 4cab32ce1e Introducing ock_log_err(OCK_E_VERIFY_FINAL) Klaus Heinrich Kiwi 2010-12-14 19:33:42 -02:00
  • b37c35be30 Introducing ock_log_err(OCK_E_VERIFY_UPDATE) Klaus Heinrich Kiwi 2010-12-14 19:33:08 -02:00
  • 19a520a3a8 Introducing ock_log_err(OCK_E_VERIFY) Klaus Heinrich Kiwi 2010-12-14 19:32:26 -02:00
  • b72f340cda Introducing ock_log_err(OCK_E_VERIFY_INIT) Klaus Heinrich Kiwi 2010-12-14 19:31:27 -02:00
  • 3a7b307967 Introducing ock_log_err(OCK_E_UNFLATTEN_TMPL) Klaus Heinrich Kiwi 2010-12-14 19:30:53 -02:00
  • e1809fd0fa Introducing ock_log_err(OCK_E_CHECK_REQUIRED_ATTR) Klaus Heinrich Kiwi 2010-12-14 19:30:24 -02:00
  • b035f0f0c8 Introducing ock_log_err(OCK_E_ADD_ATTR) Klaus Heinrich Kiwi 2010-12-14 19:29:14 -02:00
  • 55f977c909 Introducing ock_log_err(OCK_E_COPY_TMPL) Klaus Heinrich Kiwi 2010-12-14 19:27:59 -02:00
  • 040dd9a2ae Introducing ock_log_err(OCK_E_OBJ_MGR_SEARCH_OBJ) Klaus Heinrich Kiwi 2010-12-14 19:27:17 -02:00
  • eecdaa74f4 Introducing ock_log_err(OCK_E_OBJ_SET_ATTR) Klaus Heinrich Kiwi 2010-12-14 19:26:06 -02:00
  • fb232dfb38 Introducing ock_log_err(OCK_E_OBJ_RESTORE_DATA) Klaus Heinrich Kiwi 2010-12-14 19:25:22 -02:00
  • 8dcccf2053 Introducing ock_log_err(OCK_E_OBJ_GET_ATTR_VALUE) Klaus Heinrich Kiwi 2010-12-14 19:24:30 -02:00
  • 78365f6b5d Introducing ock_log_err(OCK_E_OBJ_COPY) Klaus Heinrich Kiwi 2010-12-14 19:23:54 -02:00
  • 9ce51ca6ce Introducing ock_log_err(OCK_E_OBJ_MGR_ADD_TO_MAP) Klaus Heinrich Kiwi 2010-12-14 19:23:20 -02:00
  • dc0922058d Introducing ock_log_err(OCK_E_LOAD_MASTERKEY) Klaus Heinrich Kiwi 2010-12-14 19:22:10 -02:00
  • 90e4e333d7 Introducing ock_log_err(OCK_E_SESS_MGR_GET_OK_STATE) Klaus Heinrich Kiwi 2010-12-14 19:20:52 -02:00
  • 9686844057 Introducing ock_log_err(OCK_E_CLOSE_ALL_SESS) Klaus Heinrich Kiwi 2010-12-14 19:20:06 -02:00
  • 9231683748 Introducing ock_log_err(OCK_E_SESS_MGR_NEW) Klaus Heinrich Kiwi 2010-12-14 19:19:33 -02:00
  • 9ad5c1f5a7 Introducing ock_log_err(OCK_E_PROCESS_LOCK) Klaus Heinrich Kiwi 2010-12-14 19:18:28 -02:00
  • ac391223f8 Introducing ock_log_err(OCK_E_SAVE_MASTERKEY) Klaus Heinrich Kiwi 2010-12-14 19:17:57 -02:00
  • 42c0d24208 Introducing ock_log_err(OCK_E_HASH) Klaus Heinrich Kiwi 2010-12-14 19:17:20 -02:00
  • 3b1490efc7 Introducing ock_log_err(OCK_E_MUTEX_UNLOCK) Klaus Heinrich Kiwi 2010-12-14 19:16:39 -02:00
  • a1a667ee30 Introducing ock_log_err(OCK_E_MUTEX_LOCK) Klaus Heinrich Kiwi 2010-12-14 19:16:10 -02:00
  • 3295812858 Introducing ock_log_err(OCK_E_TOKEN_SPECIFIC_INIT) Klaus Heinrich Kiwi 2010-12-14 19:15:41 -02:00
  • 59c42c33e4 Introducing ock_log_err(OCK_E_CANNOT_ATTACH_SHMEM) Klaus Heinrich Kiwi 2010-12-14 19:15:10 -02:00
  • 0539476ee6 Introducing ock_log_err(OCK_E_TOKEN_ALREADY_INIT) Klaus Heinrich Kiwi 2010-12-14 19:14:41 -02:00
  • 6f3b7734e7 Introducing ock_log_err(OCK_E_FUNCTION_NOT_SUPP) Klaus Heinrich Kiwi 2010-12-14 19:13:53 -02:00
  • dacc0155fc Introducing ock_log_err(OCK_E_VALIDATE_ATTR) Klaus Heinrich Kiwi 2010-12-14 19:12:35 -02:00
  • 7092163543 Introducing ock_log_err(OCK_E_SSL3_PROCESS_WRITE_KEYS) Klaus Heinrich Kiwi 2010-12-14 19:11:57 -02:00
  • 5513ed5614 Introducing ock_log_err(OCK_E_SSL3_PROCESS_MAC_KEYS) Klaus Heinrich Kiwi 2010-12-14 19:11:28 -02:00
  • c19f007e59 Introducing ock_log_err(OCK_E_SSL3_MD5) Klaus Heinrich Kiwi 2010-12-14 19:10:51 -02:00
  • 33138cdcd8 Introducing ock_log_err(OCK_E_SSL_SHA) Klaus Heinrich Kiwi 2010-12-14 19:10:24 -02:00