f704e4f23e
Option --use-locking has C_Initialize pass in parameters with the CKF_OS_LOCKING_OK to tell module to use threads. The default is it passes NULL which says threads are not needed. The following is not designed to be used by the general user. There are for debugging and test scripts and only compiled if the system has threads. Option --test-threads <arg> can be passed multiple times. Each one starts a thread. <arg> is a list of 2 byte commands seperated by ":". The thread will execute these. Current commands are: IN - C_Initialize(NULL) IL - C_Initialize with CKF_OS_LOCKING_OK Pn - Pause for n seconds GI - C_GetInfo SL - C_GetSlotList Tn - C_GetTokenInfo from slot_index n These are just enough calls to see if threads are working in the module. Output is written to stderr. Changes to be committed: modified: doc/tools/pkcs11-tool.1.xml modified: src/tools/Makefile.am modified: src/tools/pkcs11-tool.c |
||
---|---|---|
.. | ||
Makefile.am | ||
cardos-tool.1.xml | ||
completion-template | ||
cryptoflex-tool.1.xml | ||
dnie-tool.1.xml | ||
egk-tool.1.xml | ||
eidenv.1.xml | ||
gids-tool.1.xml | ||
goid-tool.1.xml | ||
iasecc-tool.1.xml | ||
netkey-tool.1.xml | ||
npa-tool.1.xml | ||
openpgp-tool.1.xml | ||
opensc-asn1.1.xml | ||
opensc-explorer.1.xml | ||
opensc-notify.1.xml | ||
opensc-tool.1.xml | ||
piv-tool.1.xml | ||
pkcs11-register.1.xml | ||
pkcs11-tool.1.xml | ||
pkcs15-crypt.1.xml | ||
pkcs15-init.1.xml | ||
pkcs15-tool.1.xml | ||
sc-hsm-tool.1.xml | ||
tools.html | ||
tools.xml | ||
westcos-tool.1.xml |