diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-08-14 14:56:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:15:35 -0500 |
commit | 1935ef0d5446bf372ee570ee20da703eaab65718 (patch) | |
tree | 94f4510be7d096ea543ae4ba312f191a144d4651 /source4/torture | |
parent | 8c6cb8f09b02a599891c97028a28be0336f1e05c (diff) | |
download | samba-1935ef0d5446bf372ee570ee20da703eaab65718.tar.gz samba-1935ef0d5446bf372ee570ee20da703eaab65718.tar.bz2 samba-1935ef0d5446bf372ee570ee20da703eaab65718.zip |
r17539: add HMAC-MD5 test code based on the example values from rfc 2104, 2202
metze
(This used to be commit 200b1a5c81bd61320ac6b7e79880411920e3f432)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/local/config.mk | 1 | ||||
-rw-r--r-- | source4/torture/local/local.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/local/config.mk b/source4/torture/local/config.mk index 4165de4b56..85bf715632 100644 --- a/source4/torture/local/config.mk +++ b/source4/torture/local/config.mk @@ -10,6 +10,7 @@ OBJ_FILES = \ ../../lib/talloc/testsuite.o \ ../../lib/crypto/md4test.o \ ../../lib/crypto/md5test.o \ + ../../lib/crypto/hmacmd5test.o \ ../../lib/crypto/sha1test.o \ ../../lib/crypto/hmacsha1test.o \ messaging.o \ diff --git a/source4/torture/local/local.c b/source4/torture/local/local.c index 455d29d2ee..4c18803d23 100644 --- a/source4/torture/local/local.c +++ b/source4/torture/local/local.c @@ -53,6 +53,7 @@ NTSTATUS torture_local_init(void) register_torture_op("LOCAL-TALLOC", torture_local_talloc); register_torture_op("LOCAL-CRYPTO-MD4", torture_local_crypto_md4); register_torture_op("LOCAL-CRYPTO-MD5", torture_local_crypto_md5); + register_torture_op("LOCAL-CRYPTO-HMACMD5", torture_local_crypto_hmacmd5); register_torture_op("LOCAL-CRYPTO-SHA1", torture_local_crypto_sha1); register_torture_op("LOCAL-CRYPTO-HMACSHA1", torture_local_crypto_hmacsha1); for (i = 0; suite_generators[i]; i++) |