[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
A.1.1 Symmetric Cipher Algorithm Power-Up Tests
The following symmetric encryption algorithm tests are run during power-up:
- 3DES
To test the 3DES 3-key EDE encryption in ECB mode these tests are run:
- A known answer test is run on a 64 bit test vector processed by 64 rounds of Single-DES block encryption and decryption using a key changed with each round.
- A known answer test is run on a 64 bit test vector processed by 16 rounds of 2-key and 3-key Triple-DES block encryption and decryptions using a key changed with each round.
- 10 known answer tests using 3-key Triple-DES EDE encryption, comparing the ciphertext to the known value, then running a decryption and comparing it to the initial plaintext.
(
cipher/des.c:selftest
)- AES-128
A known answer tests is run using one test vector and one test key with AES in ECB mode. (
cipher/rijndael.c:selftest_basic_128
)- AES-192
A known answer tests is run using one test vector and one test key with AES in ECB mode. (
cipher/rijndael.c:selftest_basic_192
)- AES-256
A known answer tests is run using one test vector and one test key with AES in ECB mode. (
cipher/rijndael.c:selftest_basic_256
)
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on February 9, 2014 using texi2html 5.0.