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

Commit Graph

  • 47b0326dfd Updates for mech list functions in token-specific structs. mhalcrow 2005-09-13 20:17:46 +00:00
  • 6fbc9d4bdd Updates for mech list functions in token-specific structs. mhalcrow 2005-09-13 20:17:46 +00:00
  • c2608df0da Update PIN settings for new values in 2.2.x mhalcrow 2005-09-13 18:43:13 +00:00
  • 5288c29d36 Update PIN settings for new values in 2.2.x mhalcrow 2005-09-13 18:43:13 +00:00
  • ce5253ab03 mech_aes needs to be compiled in too mhalcrow 2005-09-13 18:26:46 +00:00
  • bc4b2d82ba mech_aes needs to be compiled in too mhalcrow 2005-09-13 18:26:46 +00:00
  • f5004829cb Remove reference to mech_dh in build list (included by accident) mhalcrow 2005-09-12 20:09:37 +00:00
  • 72078d485b Remove reference to mech_dh in build list (included by accident) mhalcrow 2005-09-12 20:09:37 +00:00
  • c58354ce6a Make sure that the directory exists before we try to operate within it. mhalcrow 2005-09-12 14:46:23 +00:00
  • 93766b061c Make sure that the directory exists before we try to operate within it. mhalcrow 2005-09-12 14:46:23 +00:00
  • 69e72b38bc Remove patch from 2.1.6 branch mhalcrow 2005-09-07 13:13:42 +00:00
  • 256cd77d45 Removing diff from 2.1.6 branch mhalcrow 2005-09-07 13:10:42 +00:00
  • 99f37f107d Backport Steve Bade's performance bugfix wrt cache update checks. mhalcrow 2005-09-06 19:57:52 +00:00
  • 8e2636c394 Thread lock fix. mhalcrow 2005-09-06 19:31:58 +00:00
  • 73ae225b29 Make the list sane from the get-go to resolve bogus free() calls. mhalcrow 2005-09-06 16:53:31 +00:00
  • 194a2189e7 Mystery issue w/ end-of-list not being set to NULL, resulting in illegal free operation. This is not a problem if we just don't free the memory, but that may result in a memory leak. We need to look at this a little closer. mhalcrow 2005-09-06 15:23:06 +00:00
  • 28a54f530f Backport locking fix mhalcrow 2005-09-06 14:41:45 +00:00
  • 2656286d5e Build fixes; include aes test in driver testcase. mhalcrow 2005-09-02 15:28:56 +00:00
  • e05964d30a Script to automate test setup mhalcrow 2005-09-02 15:10:46 +00:00
  • a9eb1985e5 Script to automate test setup mhalcrow 2005-09-02 15:10:46 +00:00
  • 61e8162a0d Forward-port SHA-256, AES, and mechanism list updates. It builds, but it requires more testing. mhalcrow 2005-09-01 22:57:04 +00:00
  • 7656496fa6 Forward-port SHA-256, AES, and mechanism list updates. It builds, but it requires more testing. mhalcrow 2005-09-01 22:57:04 +00:00
  • a3f59e1d22 Testcase update, build fix w/ CFLAGS mhalcrow 2005-08-31 22:23:19 +00:00
  • 2429eb3068 configure fix for machines w/ multiple OpenSSL installations mhalcrow 2005-08-30 15:52:11 +00:00
  • 2398a9edb7 Comment out syslog calls in preparation for release candidate mhalcrow 2005-08-29 19:05:39 +00:00
  • f9f668bd1d Mechanism list helper functions mhalcrow 2005-08-29 14:06:42 +00:00
  • 26e5733817 ICA_KEY_AES_SINGLE is cast to its real value in libICA mhalcrow 2005-08-27 20:41:28 +00:00
  • 8bc096b8f9 AES key size testing mhalcrow 2005-08-26 23:27:42 +00:00
  • 5a758b5ad1 Working toward AES support mhalcrow 2005-08-26 21:49:06 +00:00
  • 3f00b2eda8 Instructions for token initialization mhalcrow 2005-08-26 20:30:33 +00:00
  • f25e813b53 Expect script to initialize token for testing mhalcrow 2005-08-26 20:13:39 +00:00
  • c53ac67e79 Move pin change flag from sess to tok mhalcrow 2005-08-26 15:42:24 +00:00
  • 9b554f5454 Mech list function name fix; inclusion of mech list array in ICA s390 token. mhalcrow 2005-08-25 19:49:38 +00:00
  • 5421b8cba3 configure flag to add the -m31 option to the CFLAGS. mhalcrow 2005-08-25 18:49:30 +00:00
  • b584a448bc Backport of SetPIN fix from main branch. mhalcrow 2005-08-24 22:00:30 +00:00
  • 9652b93457 More updates to facilitate dynamic mechanism list support. mhalcrow 2005-08-24 21:36:18 +00:00
  • 20631d1b70 Some types are duplicated right now. It is not clear if this should be an error condition, so for now, the last type is the one returned by GetMechanismInfo in the ICS s390 token. mhalcrow 2005-08-23 20:46:02 +00:00
  • 6a5fa1ac3b Typo fix; mech_list declaration. mhalcrow 2005-08-23 19:17:17 +00:00
  • e154f64c03 Get the names right. mhalcrow 2005-08-23 16:55:13 +00:00
  • 03a2a56528 Token-specific NULL pointers for the mech lists in the non-ICA/s390 tokens. mhalcrow 2005-08-23 16:51:56 +00:00
  • 36036d28a5 Finished up the mechanism calls; testing required. mhalcrow 2005-08-23 16:41:17 +00:00
  • 7615c3df2e Code for getting the mechanism info. mhalcrow 2005-08-23 15:43:03 +00:00
  • 0bf832254b Correct build instructions. mhalcrow 2005-08-23 14:53:29 +00:00
  • a288fe8b9c Correct build instructions. mhalcrow 2005-08-23 14:43:56 +00:00
  • 54fd97d147 Correct build instructions. mhalcrow 2005-08-23 14:43:56 +00:00
  • f0b3472629 Partial implementation of mechanism list code. mhalcrow 2005-08-22 22:47:08 +00:00
  • 85283b9010 Completion of support for AES CBC mode in ICA S390 token. mhalcrow 2005-08-22 17:02:52 +00:00
  • dae4a3d288 Partial support for AES CBC mode w/ a quick bugfix for AES ECB. mhalcrow 2005-08-22 16:53:56 +00:00
  • e4b9898cb2 Support for AES ECB encrypt/decrypt in ICA S390 token. mhalcrow 2005-08-22 16:46:59 +00:00
  • 56bbc2f0f4 This code is likely to never be hit at this point; in case a future change does enable it, I am changing the return codes to be compatible with the spec. mhalcrow 2005-08-22 15:47:25 +00:00
  • 39c3d77df3 These SHA-256 updates gets the operation into libICA. Need testing w/ good hardware setup. mhalcrow 2005-08-19 22:13:56 +00:00
  • 0e993cb328 Updated testcase for SHA256. mhalcrow 2005-08-19 20:38:47 +00:00
  • 4683daf0ec SHA256 mechanism functions. mhalcrow 2005-08-19 20:18:31 +00:00
  • 491ff36201 Support for SHA256 in the mechanisms. mhalcrow 2005-08-19 19:30:43 +00:00
  • d8ace0596d #define's for the SHA256-related functions mhalcrow 2005-08-19 19:05:50 +00:00
  • 765cd015e6 Initial changes to support SHA-256. mhalcrow 2005-08-19 18:52:07 +00:00
  • 7cea886be5 removed unneeded code kyoder 2005-08-19 16:40:42 +00:00
  • 8c1f8de443 removed unneeded code kyoder 2005-08-19 16:40:42 +00:00
  • 4f91307904 fixed help message kyoder 2005-08-19 16:39:00 +00:00
  • 97315c634b fixed help message kyoder 2005-08-19 16:39:00 +00:00
  • 8094041a4f Create a helper macro for the TSS key type check tlendacky 2005-08-18 22:03:21 +00:00
  • bec21a2798 Create a helper macro for the TSS key type check tlendacky 2005-08-18 22:03:21 +00:00
  • e57d4a55f8 Add support for the CKA_HIDDEN attr to the object manager tlendacky 2005-08-18 22:02:40 +00:00
  • 8e339dc98b Add support for the CKA_HIDDEN attr to the object manager tlendacky 2005-08-18 22:02:40 +00:00
  • 9cb051f37b Replace trousers header dependent function tlendacky 2005-08-18 21:23:59 +00:00
  • 40561ed0c4 Replace trousers header dependent function tlendacky 2005-08-18 21:23:59 +00:00
  • f87c05b243 Make the TPM token use the tss headers instead of trousers headers tlendacky 2005-08-18 19:46:24 +00:00
  • ab396d2801 Make the TPM token use the tss headers instead of trousers headers tlendacky 2005-08-18 19:46:24 +00:00
  • 70953f6813 Fix testcases build errors when openCryptoki isn't installed tlendacky 2005-08-18 19:44:49 +00:00
  • 7074be0708 Fix testcases build errors when openCryptoki isn't installed tlendacky 2005-08-18 19:44:49 +00:00
  • a84fbf9310 BUGFIX: R/W Public sessions will set the USER pin on a SetPIN call. Previously, it looks like the R/W Public sessions would return CKR_SESSION_READ_ONLY from a C_SetPIN call. kyoder 2005-08-18 15:01:16 +00:00
  • 24a8aba573 BUGFIX: R/W Public sessions will set the USER pin on a SetPIN call. Previously, it looks like the R/W Public sessions would return CKR_SESSION_READ_ONLY from a C_SetPIN call. kyoder 2005-08-18 15:01:16 +00:00
  • 77c51aafe1 Added a comment that clarifies why R/W Public sessions will set the USER pin on a SetPIN call. kyoder 2005-08-18 14:53:48 +00:00
  • 9e4f54b9a3 Added a comment that clarifies why R/W Public sessions will set the USER pin on a SetPIN call. kyoder 2005-08-18 14:53:48 +00:00
  • c666034ab2 Backport various bugfixes mhalcrow 2005-08-15 22:26:03 +00:00
  • ff3dc18f8d in C_GetSlotList, set *pulCount everywhere kyoder 2005-08-12 19:54:51 +00:00
  • f63917b3de in C_GetSlotList, set *pulCount everywhere kyoder 2005-08-12 19:54:51 +00:00
  • 7cde259e4c intial add of login testcases kyoder 2005-08-12 16:17:12 +00:00
  • d670a4ff3a intial add of login testcases kyoder 2005-08-12 16:17:12 +00:00
  • 142686d070 added login directory kyoder 2005-08-12 16:15:58 +00:00
  • d363df55d5 added login directory kyoder 2005-08-12 16:15:58 +00:00
  • fde1d6768f added default_user_pin_sha kyoder 2005-08-12 16:15:42 +00:00
  • 693246bed7 added default_user_pin_sha kyoder 2005-08-12 16:15:42 +00:00
  • 9aba6bacb8 added AC_OUTPUT for new login testcase kyoder 2005-08-12 16:15:27 +00:00
  • 7ca1e31c46 added AC_OUTPUT for new login testcase kyoder 2005-08-12 16:15:27 +00:00
  • 891e0809f8 backported per-user data store from tpm_stdll kyoder 2005-08-12 15:57:22 +00:00
  • f2f176a33e backported per-user data store from tpm_stdll kyoder 2005-08-12 15:57:22 +00:00
  • 476f11e97f imported mmap code from tpm_stdll for per-user data stores kyoder 2005-08-12 15:54:31 +00:00
  • 196afd36f3 imported mmap code from tpm_stdll for per-user data stores kyoder 2005-08-12 15:54:31 +00:00
  • 01ecb88bfd moved default_user_pin_sha out to globals.c kyoder 2005-08-12 15:51:49 +00:00
  • 65fd975d36 moved default_user_pin_sha out to globals.c kyoder 2005-08-12 15:51:49 +00:00
  • 10ce019612 moved default_user_pin_sha in from h_extern.h kyoder 2005-08-12 15:51:22 +00:00
  • 174aa51e95 moved default_user_pin_sha in from h_extern.h kyoder 2005-08-12 15:51:22 +00:00
  • eb554ce341 print out more informative slot info flags kyoder 2005-08-11 21:00:57 +00:00
  • 44d3f7af1b print out more informative slot info flags kyoder 2005-08-11 21:00:57 +00:00
  • 417fcb1959 print out more informative token info flags kyoder 2005-08-11 20:53:51 +00:00
  • d0dad781ad print out more informative token info flags kyoder 2005-08-11 20:53:51 +00:00
  • 92b1208e68 Only set the PIN flags when an incorrect PIN error occurs. kyoder 2005-08-11 20:52:59 +00:00
  • aaab69d816 Only set the PIN flags when an incorrect PIN error occurs. kyoder 2005-08-11 20:52:59 +00:00
  • 9ec9ff9f11 BUGFIX: New TSS headers means the old check for key type is now wrong kyoder 2005-08-08 18:04:38 +00:00