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

Commit Graph

  • b41ac67fd5 Encryption Manager modularity patch. cca and tpm changed to use the common encr_mgr.c Debora V Babb 2012-08-30 18:28:30 -05:00
  • 2ae1e5e71d Task4: update mech_list for ica_s390_stdll Marcelo Cerri 2012-08-30 15:48:57 -03:00
  • 45510a1d8f Task4: Update CCA mechanism check to consider the type of operation. Marcelo Cerri 2012-08-25 01:06:33 -03:00
  • 73090140aa Task4: Update TPM mechanism check to consider the type of operation. Marcelo Cerri 2012-08-24 22:32:14 -03:00
  • 7b1b47ccaa Task4: Update mechanism check to consider the type of operation. Marcelo Cerri 2012-08-24 21:46:48 -03:00
  • ec8cd79ee0 Task4: add token_specific_get_mechanism_{list,info} functions for TPM. Marcelo Cerri 2012-08-24 21:39:40 -03:00
  • 30fd9778bd Task4: refactor globals.c for CCA token. This patch replaces "tpm_stdll/globals.c" with "common/globals.c" for CCA. Marcelo Cerri 2012-08-23 17:29:21 -03:00
  • 6b3311678d Task4: refactor globals.c for TPM token. Marcelo Cerri 2012-08-23 17:17:02 -03:00
  • a250a1febc Task4: TPM's mech_list moved from globals.c to tpm_specific.c Marcelo Cerri 2012-08-23 15:54:37 -03:00
  • 3d4ebd8904 Task4: refactor verify_mgr for CCA token. Marcelo Cerri 2012-08-23 10:21:55 -03:00
  • 544ee953a9 Task4: update common/verify_mgr.c with mechanisms supported by CCA Marcelo Cerri 2012-08-23 14:56:56 -03:00
  • eb7983cb15 Task4: refactor verify_mgr for TPM token. Marcelo Cerri 2012-08-22 23:44:56 -03:00
  • 6f5d9cdc86 Task4: update CCA token to use common/sign_mgr.c Marcelo Cerri 2012-08-22 23:29:41 -03:00
  • bee34e2e25 Task4: update common/sign_mgr.c with mechanisms supported by CCA Marcelo Cerri 2012-08-22 22:07:01 -03:00
  • 6034c44786 Fix formatting of cca_stdll/Makefile.am Marcelo Cerri 2012-08-22 22:10:10 -03:00
  • a7a3fe64fd Task4: refactor sign_mgr for TPM token. Marcelo Cerri 2012-08-22 18:06:28 -03:00
  • 9c9dfaa89e Task4: refactor dig_mgr for TPM token. Marcelo Cerri 2012-08-22 17:29:55 -03:00
  • 4849a61b0e Fix formatting of tpm_stdll/Makefile.am Marcelo Cerri 2012-08-16 16:12:09 -03:00
  • 24a96a91a7 Fix: infinite loop when a test case fails to login Marcelo Cerri 2012-08-09 13:33:01 -03:00
  • 8af11479d4 Task4: refactor decr_mgr for cca token. Marcelo Cerri 2012-08-09 13:31:49 -03:00
  • bbc0c96281 Task4: refactor decr_mgr for tpm token. Marcelo Cerri 2012-08-09 13:30:46 -03:00
  • dba78ea0e7 mech_dh.c modularity patch. cca and tpm changed to use the common mech_dh.c Debora V Babb 2012-07-26 09:51:07 -07:00
  • 90eaf38e4c Task3: moved mech_ec to common directory. Joy Latten 2012-07-30 16:15:20 -05:00
  • 0889c377f6 Task3: tokenize mech_rng to fit new scheme. Joy Latten 2012-07-30 15:54:35 -05:00
  • ac00f296fb Task3: Re-factor mech_des and mech_des3 so that all tokens may use the one set of files. Joy Latten 2012-07-30 14:12:29 -05:00
  • 44ce16a5c8 Task3: re-factor mech_sha.c for all tokens to use. Debora Babb 2012-07-27 13:16:13 -05:00
  • ff30d28783 Task3: refactor mech_aes for all tokens to use. Joy Latten 2012-07-27 12:23:31 -05:00
  • 66592f14cd Task3: testcase correction so that rsa test work with tpm. tpm only allows public exponent 65537 and modbits 512, 1024, and 2048. Joy Latten 2012-07-26 14:41:09 -05:00
  • f0e197fd69 1.Removed ckm_rsa_* calls. Instead make token specfic calls directly. 2.Also replaced code to find modulus and keyclass with a function. Joy Latten 2012-07-26 14:23:02 -05:00
  • e745e536f7 Task3: Refactored mech_rsa such for all tokens. Joy Latten 2012-08-24 14:44:43 -05:00
  • 8365f6e040 Commented all NULLs in token specific structs. Debora Babb 2012-07-24 17:34:59 -05:00
  • 9809eb093d Task2: Modify token_specific definition for ica and tpm to include the new token_spec_t. Joy Latten 2012-07-24 16:29:10 -05:00
  • bd4094e168 Task1: re-factor token specific structure. Joy Latten 2012-07-24 15:13:23 -05:00
  • 8a032423cb Bump up version to 2.4.3.1 v2.4.3.1 Joy Latten 2013-05-17 14:36:51 -05:00
  • 961b024b91 Allow private keys imported into cca token to decrypt. Joy Latten 2013-05-16 11:22:05 -05:00
  • f85fc72295 Bump up to version 2.4.3 v2.4.3 Joy Latten 2013-04-30 14:29:41 -05:00
  • 2068e7a359 Dont creat a key object in the testcase. Joy Latten 2013-04-29 17:45:26 -05:00
  • 9a1d9858ec Add sha2, sha3 and sha5 test vectors. Joy Latten 2013-04-17 12:30:54 -05:00
  • e9662c9917 token_specific_sha2_final gets called for a single part digest and it calls CSNBOWH again which messes up the already computed hash. After calling CSNBOWH the first time, copy hash to output buffer. Joy Latten 2013-04-17 12:29:34 -05:00
  • 54d638ffd7 Allow cca token to import rsa keys via createobject. Rajiv Andrade 2013-04-17 12:28:13 -05:00
  • 1f24b224d4 Add CKM_SHAXXX_RSA_PKCS support to ica token. Ingo Tuchscherer 2013-04-09 12:48:44 -05:00
  • 18f23ebcf8 Add sha2, sha3 and sha5 test vectors. v2.4.1 Joy Latten 2013-04-17 12:30:54 -05:00
  • 26a9aa0995 token_specific_sha2_final gets called for a single part digest and it calls CSNBOWH again which messes up the already computed hash. After calling CSNBOWH the first time, copy hash to output buffer. Joy Latten 2013-04-17 12:29:34 -05:00
  • 707010d88b Allow cca token to import rsa keys via createobject. Rajiv Andrade 2013-04-17 12:28:13 -05:00
  • 9e0138da36 Add CKM_SHAXXX_RSA_PKCS support to ica token. Ingo Tuchscherer 2013-04-09 12:48:44 -05:00
  • 7c9c1e9e1c Fix ock_err_msg array. Ross McIlroy 2013-02-05 19:35:39 -06:00
  • 33dc7d2031 Fix ock_err_msg array. Ross McIlroy 2013-02-05 19:29:54 -06:00
  • a590966792 Fix ock_test.sh.in so that make installcheck will work. Joy Latten 2012-08-07 17:34:01 -05:00
  • f024c678fe As reported by David Woodhouse in Redhat bugzilla 830129, there are unresolved symbols in the common mech_ssl3.c code. This patch also fixes an unresolved symbol in the TPM token logging code. Kent Yoder 2012-06-11 14:13:52 -05:00
  • 824c7448d7 As reported by David Woodhouse in Redhat bugzilla 830129, there are unresolved symbols in the common mech_ssl3.c code. This patch also fixes an unresolved symbol in the TPM token logging code. Kent Yoder 2012-06-11 13:56:58 -05:00
  • 036ee35bac use DESTDIR when creating the locks directory Dan Horák 2012-05-07 12:17:05 -05:00
  • 5667edb52c use DESTDIR when creating the locks directory Dan Horák 2012-05-07 12:17:05 -05:00
  • 2ea2208baf Bump up version to 2.4.2 v2.4.2 Joy Latten 2012-04-27 10:38:15 -05:00
  • 5e690287d1 Add footnote to info about configuring new env vars for tpm in ChangeLog. Kent Yoder 2012-04-16 15:16:56 -05:00
  • b5317f1211 Add footnote to info about configuring new env vars for tpm in ChangeLog. Kent Yoder 2012-04-16 14:53:54 -05:00
  • 788a1bb0e0 Add support for systemd Joy Latten 2012-04-12 17:24:34 -05:00
  • 8a63b3b17d lock per token to access shared memory; tpm per user; api and pkcsslotd acquire same lock to access shared memory. locks moved to $prefix/var/lock/opencryptoki. Joy Latten 2012-04-12 16:55:06 -05:00
  • 8a2cc954fa lock per token to access shared memory; tpm per user; api and pkcsslotd acquire same lock to access shared memory. locks moved to $prefix/var/lock/opencryptoki. Joy Latten 2012-03-29 16:03:34 -05:00
  • 3350c275b5 Add missing whatis entries to manpages. Joy Latten 2012-04-03 16:51:43 -05:00
  • 3d084b30e8 Add man-page for pkcs_slot.1 Joy Latten 2012-04-03 16:19:07 -05:00
  • 7eb7b8d045 Updated the version number to 2.4.1 to reflect new release. Joy Latten 2012-02-22 10:18:12 -06:00
  • 40076b45ae Update various information files. Joy Latten 2012-02-21 11:47:23 -06:00
  • ccbe5c8ffc Allow tpm stdll to get SRK passwd from OCK_SRK_SECRET and the policy's secret mode from OCK_SRK_MODE env variables. Joy Latten 2012-02-20 16:05:55 -06:00
  • 2af4920e54 Spinlock tests segfault on CCA token. CCA token should check to see if it can read contents of an object or if object still exists before loading or restoring it. Joy Latten 2012-02-14 13:10:54 -06:00
  • 329f0f160c In tpm's SC_OpenSession, removed "sess" variable since declared and not used. Also corrected the debug statement. Joy Latten 2012-01-30 13:54:51 -06:00
  • 715960b689 Removed test vectors for PRF-HMAC-SHA-XXX. PRFs defined in rfc4868 work differently from regular HMAC-SHA-XXX so we cannot use them for testing regular hmac sha. Joy Latten 2012-01-30 11:46:44 -06:00
  • 9f2b30fc1f Removed old testcases and restructured testcase subdirectories. Joy Latten 2012-01-25 11:52:55 -06:00
  • 8f5665e335 Add SHA256 support to the CCA token. Kent Yoder 2012-01-20 16:47:25 -06:00
  • 87c8a0af5c The constant used to represent CKM_SHA256_RSA_PKCS does not match the upstream header files provided by RSA labs. This patch updates it to the correct value. Kent Yoder 2012-01-20 16:00:14 -06:00
  • 58345488c9 Renamed spinlocks are created in /var/lock. Also includes testcases. Joy Latten 2012-01-20 14:14:02 -06:00
  • b7fcb3eb03 Remove all the extra lock schemes for global shared memory and just use the spinlock. Joy Latten 2012-01-20 13:07:12 -06:00
  • 7744b6224e Make man pages more explicit that pkcs11 users are to be fully trusted. Tomas Hoger 2011-09-14 10:43:07 -05:00
  • 24950e95a8 Need to include terminating null when allocating memory and copying for args in pkcsconf. Kent Yoder 2011-08-30 12:26:18 -05:00
  • 51497ba85b Refactored RSA testcases. RSA testcases now include published test vectors. Fionnuala Gunter 2011-08-26 17:15:09 -05:00
  • c4efe2565d CCA now allows the outputted data len to be capped at 512. Fionnuala Gunter 2011-08-25 13:26:31 -05:00
  • 0bb6b0ce77 Add common testcase subroutines. Fionnuala Gunter 2011-08-24 16:58:27 -05:00
  • 79d74b43d2 Fixes looping through all the testcases when user pin is not set. Now we exit first time it occurs. Fionnuala Gunter 2011-08-18 11:31:42 -05:00
  • d340b631a5 Accept CKA_VALUE_LEN when unwrapping an aes key since wrapping mech may have added padding (for example aes mech adds padding for a 24 byte aes keysize so that it is a multiple of the block size also rsa_x_509 also adds padding) and we need to extract the key (aes has several possible keysizes) from the padding. Joy Latten 2011-07-25 15:43:05 -05:00
  • 926df852e9 Merge branch 'wrapkey' Joy Latten 2011-07-21 12:27:37 -05:00
  • 660f8076e7 Cleaned up rsa testcases when wrapping/unwrapping. Joy Latten 2011-07-21 12:13:37 -05:00
  • f9182033b6 Remove CKM_RSA_X_509 and CKM_RSA_PKCS_OAEP from tpm mech list since they are not supported. Joy Latten 2011-07-21 11:52:49 -05:00
  • cd4c83bf9f 1. pkcs11v2.20 spec says that CKA_VALUE_LEN should not be specified when an AES key object is unwrapped with C_Unwrapkey. But we need to make an exception when mechanism is CKM_RSA_X_509 because it does raw padding and we need length to extract the key correctly. An exception is made for cca too since hw stores key as a blob. 2. Unwrapped AES keys should set CKA_VALUE_LEN according to pkcs11 spec. Joy Latten 2011-07-21 11:23:52 -05:00
  • 5b741c094b Refactored Digest tests. Fionnuala Gunter 2011-07-08 17:10:55 -05:00
  • 7e2386659e Refactored DES3 tests. Fionnuala Gunter 2011-07-08 17:01:52 -05:00
  • 80048a9d78 Refactored DES tests. Fionnuala Gunter 2011-07-08 16:36:35 -05:00
  • fe35379587 Refactored AES tests. Fionnuala Gunter 2011-07-08 16:16:50 -05:00
  • e696654f01 Added t_error to count number of errors encountered. Errors are tallied, and included in summary results. Total number of tests don't need to be hardcoded; instead total = run + skipped. Fionnuala Gunter 2011-07-08 16:08:54 -05:00
  • ee8bb4ab56 Modified Makefile.am - to include /testcases/common Fionnuala Gunter 2011-07-08 16:03:47 -05:00
  • 96de27a4e3 Fixes SF #3349099 Wrapping a private key with a secret key fails. Joy Latten 2011-07-08 15:37:30 -05:00
  • 83e31ece6e Catch EOF in label input. Andreas Piesk 2011-06-27 12:09:53 -05:00
  • ff46af2147 Deprecated includes tss/tcpa_* removed, some casts to silence the compiler Andreas Piesk 2011-06-23 15:48:58 -05:00
  • 2caaa9ac6b Patch[1/6] lcv is uninitialized, replaced by slot_id. Andreas Piesk 2011-06-23 13:30:37 -05:00
  • af39e0855b Remove all references to a message catalog in pkcsconf. Joy Latten 2011-06-21 16:44:23 -05:00
  • 3400be830f Add ability to EC to combine both hash and sign. Also includes a check in EC to ensure the output buffer is big enough. v2.4 Kent Yoder 2011-05-17 15:32:15 -05:00
  • 12a8280869 Pass a pointer rather than copy of test suite to the different testcases in aes. Joy Latten 2011-05-17 15:16:16 -05:00
  • 8ecae97c7a Add the mode the debug file should be created with. Joy Latten 2011-05-17 14:39:32 -05:00
  • 24209a381c Mention new method to do debugging in opencryptoki version 2.4 in the FAQ. Joy Latten 2011-05-17 14:17:28 -05:00
  • b0c8cb0b77 Allow specifying target to opencryptoki to build and install 32bit or 64bit for ppc, x86, and s390. Kent Yoder 2011-05-17 13:00:16 -05:00
  • 0992aa4e85 Revert "dlopen(3) assumes relative path, but..." This patch prevents linux from having 32bit and 64bit apps on the same system. A more specific FreeBSD patch is required instead. Joy Latten 2011-05-17 11:27:01 -05:00
  • 625d1e67de changed version number in configure. Joy Latten 2011-05-16 18:24:58 -05:00