From 11ce2e89c5872903743da37daa4c8e91acc3113f Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 28 Aug 2001 12:20:44 +0000 Subject: Getting closer to working userland MAC. --- sys/crypto/xform.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'sys/crypto/xform.c') diff --git a/sys/crypto/xform.c b/sys/crypto/xform.c index 9730e779f13..e498c869a60 100644 --- a/sys/crypto/xform.c +++ b/sys/crypto/xform.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xform.c,v 1.15 2001/08/24 15:59:42 markus Exp $ */ +/* $OpenBSD: xform.c,v 1.16 2001/08/28 12:20:43 ben Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -192,6 +192,18 @@ struct auth_hash auth_hash_key_sha1 = { (void (*)(u_int8_t *, void *)) SHA1Final }; +struct auth_hash auth_hash_md5 = { + CRYPTO_MD5, "MD5", + 0, 16, 0, 0, + NULL, NULL, NULL +}; + +struct auth_hash auth_hash_sha1 = { + CRYPTO_SHA1, "SHA1", + 0, 20, 0, 0, + NULL, NULL, NULL +}; + /* Compression instance */ struct comp_algo comp_algo_deflate = { CRYPTO_DEFLATE_COMP, "Deflate", -- cgit v1.2.3