If the system runs in fips mode, RSA-1024 is blocked. Just use
an RSA-2048 key so that the key length is ok in any case.
Signed-off-by: Joerg Schmidbauer <jschmidb@de.ibm.com>
If at least one test step ends with ERROR or FAILURE, exit the
process with a non-zero return code to let the caller easily detect
if the testcase showed any errors.
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
Open sessions on two different tokens within one process. Ensure that
both tokens operate independently, and that sessions of objects opened
with one token can not be used with the other one.
To test multi-instance support of a token, the Opencryptoi configuration
must be set up that way that 2 tokens of the same type (e.g. 2 EP11 tokens),
exist.
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>