Module Name:    src
Committed By:   pgoyette
Date:           Sat Jan 18 15:15:16 UTC 2014

Modified Files:
        src/tests/crypto/opencrypto: t_opencrypto.sh

Log Message:
Add the test cases for sha1_hmac


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/crypto/opencrypto/t_opencrypto.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/crypto/opencrypto/t_opencrypto.sh
diff -u src/tests/crypto/opencrypto/t_opencrypto.sh:1.3 src/tests/crypto/opencrypto/t_opencrypto.sh:1.4
--- src/tests/crypto/opencrypto/t_opencrypto.sh:1.3	Fri Jan 17 19:35:33 2014
+++ src/tests/crypto/opencrypto/t_opencrypto.sh	Sat Jan 18 15:15:16 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: t_opencrypto.sh,v 1.3 2014/01/17 19:35:33 pgoyette Exp $
+#	$NetBSD: t_opencrypto.sh,v 1.4 2014/01/18 15:15:16 pgoyette Exp $
 #
 # Copyright (c) 2014 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -226,6 +226,19 @@ null_cleanup() {
 	common_cleanup
 }
 
+atf_test_case sha1_hmac cleanup
+sha1_hmac_head() {
+	common_head "Test SHA1_HMAC crypto"
+}
+
+sha1_hmac_body() {
+	common_body h_sha1hmac
+}
+
+sha1_hmac_cleanup() {
+	common_cleanup
+}
+
 atf_test_case xcbcmac cleanup
 xcbcmac_head() {
 	common_head "Test XCBC_MAC_96 crypto"
@@ -254,5 +267,6 @@ atf_init_test_cases() {
 	atf_add_test_case md5
 	atf_add_test_case md5_hmac
 	atf_add_test_case null
+	atf_add_test_case sha1_hmac
 	atf_add_test_case xcbcmac
 }

Reply via email to