summaryrefslogtreecommitdiff
path: root/sys/crypto/xform.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-12-28 10:02:38 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-12-28 10:02:38 +0000
commite43eb395fda42f410b0e54303cb52afe2fcaec90 (patch)
tree2667ab3c1c610803a9dac5feb1678065f593f809 /sys/crypto/xform.c
parent3842ebbf1fb15e7d8241c7758b5b8d1b553e5b42 (diff)
remove KPDK. not really used, and a bad choice anyway. ok naddy
Diffstat (limited to 'sys/crypto/xform.c')
-rw-r--r--sys/crypto/xform.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/crypto/xform.c b/sys/crypto/xform.c
index 475ee21bebf..55957518b3f 100644
--- a/sys/crypto/xform.c
+++ b/sys/crypto/xform.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xform.c,v 1.44 2013/08/25 14:26:56 jsing Exp $ */
+/* $OpenBSD: xform.c,v 1.45 2014/12/28 10:02:37 tedu Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr),
@@ -314,22 +314,6 @@ struct auth_hash auth_hash_gmac_aes_256 = {
(void (*)(u_int8_t *, void *)) AES_GMAC_Final
};
-struct auth_hash auth_hash_key_md5 = {
- CRYPTO_MD5_KPDK, "Keyed MD5",
- 0, 16, 16, sizeof(MD5_CTX), 0,
- (void (*)(void *)) MD5Init, NULL, NULL,
- MD5Update_int,
- (void (*)(u_int8_t *, void *)) MD5Final
-};
-
-struct auth_hash auth_hash_key_sha1 = {
- CRYPTO_SHA1_KPDK, "Keyed SHA1",
- 0, 20, 20, sizeof(SHA1_CTX), 0,
- (void (*)(void *)) SHA1Init, NULL, NULL,
- SHA1Update_int,
- (void (*)(u_int8_t *, void *)) SHA1Final
-};
-
struct auth_hash auth_hash_md5 = {
CRYPTO_MD5, "MD5",
0, 16, 16, sizeof(MD5_CTX), 0,