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

11 Commits

Author SHA1 Message Date
Ingo Franzki
a3c002397e TESTCASES: Avoid NULL dereference in case of missing argument
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
2020-11-24 09:43:57 +01:00
Patrick Steuer
2749f80687 Conform to PKCS 11 v3.0 Baseline Provider profile - part 1
Add required constants and declarations and implement the
required functions.

Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
2020-10-14 10:59:54 +02:00
Ingo Franzki
33e58bc69b Fix build issue with gcc 10 and -fno-common
With gcc 10 -fno-common is the default.

Fixes: https://github.com/opencryptoki/opencryptoki/issues/271

Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
2020-02-03 13:08:59 +01:00
Patrick Steuer
c6ef49a4c7 Appease -Wcast-function-type
Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
2018-09-25 17:40:31 +02:00
Patrick Steuer
a934a56559 Appease -Wunused-parameter
Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
2018-09-25 17:40:31 +02:00
Eduardo Barretto
c9abc3c055 Testcases/misc_test: Fix coding style
Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com>
2018-08-08 17:27:53 +02:00
Eduardo Barretto
ecf145ec74 Fix some warnings regarding unused results
Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com>
2017-10-19 15:53:39 -02:00
Paulo Vital
54eb5f946a Add CPL-1.0 license header to source code files.
Add the license header in those source code files are missing it.

Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
2017-03-15 16:37:46 -03:00
Harald Freudenberger
6b8682fdb1 Fixes on testcases found during test on ep11 token.
Wrong file attributes fixed on all the *.c files which had
the executable bit switched on.
tok_des.c does not use DES any more, instead an AES key
is now used. tok_rsa.c checks the lower and upper key size
requirements for the token when trying to generate RSA key pairs
and may skip the generation if not supported (e.g. ep11 token
does not support 512 bit RSA).

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com>
2017-02-03 15:42:07 -02:00
Harald Freudenberger
d91cbb4bea Removed securekey option from DES and AES testcases as there is now the
required key import available.
Fixed some compile warnings.
Unified all testcases to print out a summary line and not just something
like 'looks ok'.
Fixed digest test to have a look onto the required key sizes for the cca token.

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
2015-08-26 16:28:42 -05:00
Joy Latten
9f2b30fc1f Removed old testcases and restructured testcase subdirectories.
Signed-off-by: Joy Latten <jmlatten@users.sourceforge.net>
2012-01-25 11:52:55 -06:00