Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
gsk_perform_kat() z/OS Cryptographic Services System SSL Programming SC14-7495-00 |
|
Conducts a set of known answer tests for the System SSL algorithms validated by NIST. The caller must set FIPS mode (see gsk_fips_state_set()) before calling this function. Format
ResultsThe function return value will be 0 if no error is detected. Otherwise, it will be one of the return codes listed in the gskcms.h include file. These are some possible errors:
UsageThe gsk_perform_kat() routine
can be used whenever an application, in order to meet security requirements,
needs to check the correctness of cryptographic algorithms that are
part of the product. The routine performs Known Answer Tests on the
following cryptographic algorithms:
If an error is encountered during testing, the gsk_perform_kat() routine will terminate and return the appropriate error code. The gsk_perform_kat() routine will test software or hardware cryptographic algorithms depending on the value of the GSK_HW_CRYPTO environment variable at the time the CMS DLL (GSKCMS31 or GSKCMS64) is loaded. |
Copyright IBM Corporation 1990, 2014
|