manpagez: man pages & more
info gcrypt
Home | html | info | man
[ << ] [ < ] [ 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
  1. A known answer test using 9 byte of data and a 20 byte key is run.
  2. A known answer test using 9 byte of data and a 100 byte key is run.
  3. 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
  1. A known answer test using 9 byte of data and a 20 byte key is run.
  2. A known answer test using 50 byte of data and a 20 byte key is run.
  3. A known answer test using 50 byte of data and a 26 byte key is run.
  4. A known answer test using 54 byte of data and a 131 byte key is run.
  5. 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.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.