1
0
mirror of https://github.com/opencryptoki/opencryptoki.git synced 2026-10-24 05:39:17 +03:00
Files
Eduardo Barretto d51164d1b6 Fix copy object when template is null
When some application call C_CopyObject and passes a null template and a
count of 0 then we should be able to continue and execute the copy, but
this was failing because of some wrong checks.
As a consequence I've also added a testcase to copyobjects to try to
copy an object when we pass a null template and check if the new object
matches the old object.

Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com>
2018-05-25 15:51:31 -03:00
..
2018-01-31 10:20:07 -02:00

openCryptoki Test Programs

This directory contains programs designed to test the functionality of
openCryptoki and PKCS#11.  The rely on STDLL's installed to the standard system
location.  Many of the programs have command line options for passing the slot
number to use (default is slot 0) as well as other options.  All programs expect
that the a slot has been intialized using pkcsconf.  The expected user pin is
"01234567" and this can also be set using pkcsconf.  The expected PINs can also
be changed by modifying DEFAULT_USER_PIN and DEFAULT_SO_PIN in
include/regress.h.

For correct testcase execution, the token should be initialized before and
after running the testcases.

crypto
------
This directory contains testcases to test various crypto algorithms.

login
-----
This directory contains testcases to test login functionality in pkcs11
and opencryptoki.

pkcs11
------
This directory contains tests that tests various api/functionality in 
pkcs11 specification.

misc_tests
----------
This directory contains tests to test various functionality and operations
in opencryptoki.

ock_test.sh
-----------
This driver runs the various testcases on various tokens.
TODO: Needs to be modified and tested for new testcase structure.

For help, send mail to the openCryptoki mailing list at
opencryptoki-users@lists.sourceforge.net