kptest
Only supported in FIPS 140-2 Level 2 Security Worlds. |
kptest [options]
Tests the consistency of encryption and decryption, or of signature and verification, with the RSA and DSA algorithms.
If skew or threshold checking is enabled (they are mutually exclusive), the average number of operations per second is recorded at TIME.
If skew checking is enabled, each subsequent operation must be within SKEW of the recorded average. If the condition is not met, the application terminates
If threshold checking is enabled, the average must stay above COUNT after checking starts. If the condition is not met, the application terminates.
Option | Description |
---|---|
Program options |
|
|
Tests the encrypt and decrypt operations. |
|
Uses plaintext of |
|
Regenerates the key for every |
|
Sets the |
|
Sets the maximum number of jobs. |
|
Tests the sign and verify operations. |
|
Sets the maximum time to run, in seconds. |
Key options |
|
|
Uses the curve named NAME. |
|
Sets the key size (default 1024). |
|
Uses mechanism MECH. |
|
Uses plaintext type TYPE (Bignum, Hash or Bytes). The mechanism and plaintext types must be compatible with the key type. |
|
Sets |
|
Selects the key type to use — RSA (default), DSA, KCDSA, or ECDSA |
` --strong` |
For RSA, uses strong (ANSI X9.31) primes.
For DSA, uses the |
Automatic checking options |
|
|
Specifies when skew or threshold checking commences, in seconds, rounded up to nearest multiple of INTERVAL. |
|
Turns on skew checking. |
|
Turns on threshold checking. |
Output options |
|
|
Prints the results all on one line, using \r rather than \n. |
|
Sends the output to a named file as well as to |
` -r, --report-interval=INTERVAL` |
Sets the statistics reporting interval in seconds. |
Module selection |
|
|
Specifies the number ID to use. |
Help options |
|
|
Displays help for |
|
Displays a brief usage summary for |
|
Displays the version number of the Security World Software that deploys |