Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/crypto/opencrypto Add the test cases for sha1_hmac
details: https://anonhg.NetBSD.org/src/rev/e5e7b0f2c59c
branches: trunk
changeset: 326099:e5e7b0f2c59c
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Sat Jan 18 15:15:16 2014 +0000
description:
Add the test cases for sha1_hmac
diffstat:
tests/crypto/opencrypto/t_opencrypto.sh | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r fd366fe4b137 -r e5e7b0f2c59c tests/crypto/opencrypto/t_opencrypto.sh
--- a/tests/crypto/opencrypto/t_opencrypto.sh Sat Jan 18 09:51:08 2014 +0000
+++ b/tests/crypto/opencrypto/t_opencrypto.sh Sat Jan 18 15:15:16 2014 +0000
@@ -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 @@
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_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
}
Home |
Main Index |
Thread Index |
Old Index