Power Up Selftests: Difference between revisions
No edit summary |
|||
Line 11: | Line 11: | ||
Algorithm | Algorithm | ||
! | ! | ||
Tests | |||
|- | |- | ||
| RC2|| | | RC2|| | ||
RC2-ECB Single-Round Known Answer Encryption<br> | |||
RC2-ECB Single-Round Known Answer Decryption<br> | |||
RC2-CBC Single-Round Known Answer Encryption<br> | |||
RC2-CBC Single-Round Known Answer Decryption | |||
|- | |- | ||
| RC4|| | | RC4|| | ||
RC4 Single-Round Known Answer Encryption<br> | |||
RC4 Single-Round Known Answer Decryption | |||
|- | |- | ||
| DES|| | | DES|| | ||
DES-ECB Single-Round Known Answer Encryption<br> | |||
DES-ECB Single-Round Known Answer Decryption<br> | |||
DES-CBC Single-Round Known Answer Encryption<br> | |||
DES-CBC Single-Round Known Answer Decryption | |||
|- | |- | ||
| Triple DES|| | | Triple DES|| | ||
DES3-ECB Single-Round Known Answer Encryption<br> | |||
DES3-ECB Single-Round Known Answer Decryption<br> | |||
DES3-CBC Single-Round Known Answer Encryption<br> | |||
DES3-CBC Single-Round Known Answer Decryption | |||
|- | |- | ||
| AES-128|| | | AES-128, AES-192, AES-256|| | ||
AES-ECB Single-Round Known Answer Encryption<br> | |||
AES-ECB Single-Round Known Answer Decryption<br> | |||
AES-CBC Single-Round Known Answer Encryption<br> | |||
AES-CBC Single-Round Known Answer Decryption | |||
|- | |- | ||
| MD2|| | | MD2|| | ||
MD2 Single-Round Known Answer Hashing | |||
|- | |- | ||
| MD5|| | | MD5|| |
Revision as of 22:01, 3 August 2006
The module can perform the following self-tests:
Power-Up Selftests
- Cryptographic algorithm tests
A known-answer test is conducted for all cryptographic functions (e.g., encryption, decryption, authentication and random number generation) of each Approved cryptographic algorithm implemented by the cryptographic module:
(see the power-up self-tests source code).
Algorithm |
Tests |
---|---|
RC2 |
RC2-ECB Single-Round Known Answer Encryption |
RC4 |
RC4 Single-Round Known Answer Encryption |
DES |
DES-ECB Single-Round Known Answer Encryption |
Triple DES |
DES3-ECB Single-Round Known Answer Encryption |
AES-128, AES-192, AES-256 |
AES-ECB Single-Round Known Answer Encryption |
MD2 |
MD2 Single-Round Known Answer Hashing |
MD5 | |
SHA-1 | |
SHA-256 | |
SHA-384 | |
SHA-512 | |
HMAC-SHA-1 | |
HMAC-SHA-256 | |
HMAC-SHA-384 | |
HMAC-SHA-512 | |
RSA | |
DSA | |
RNG | |
ECDSA |
- Software integrity test
Conditional self-tests
- Pair-wise consistency test (for public and private keys)
- Continous random number generator test
These tests are mandatory for the FIPS 140-2 mode of operation.