[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
A.3.3 MAC Algorithm Tests
The following MAC algorithm tests are run in addition to the power-up tests:
- HMAC SHA-1
- A known answer test using 9 byte of data and a 20 byte key is run.
- A known answer test using 9 byte of data and a 100 byte key is run.
- A known answer test using 9 byte of data and a 49 byte key is run.
(
cipher/hmac-tests.c:selftests_sha1
)- HMAC SHA-224
- HMAC SHA-256
- HMAC SHA-384
- HMAC SHA-512
- A known answer test using 9 byte of data and a 20 byte key is run.
- A known answer test using 50 byte of data and a 20 byte key is run.
- A known answer test using 50 byte of data and a 26 byte key is run.
- A known answer test using 54 byte of data and a 131 byte key is run.
- A known answer test using 152 byte of data and a 131 byte key is run.
(
cipher/hmac-tests.c:selftests_sha224
,cipher/hmac-tests.c:selftests_sha256
,cipher/hmac-tests.c:selftests_sha384
,cipher/hmac-tests.c:selftests_sha512
)
This document was generated on February 9, 2014 using texi2html 5.0.