diff options
author | ben <ben@cvs.openbsd.org> | 2001-08-28 12:20:44 +0000 |
---|---|---|
committer | ben <ben@cvs.openbsd.org> | 2001-08-28 12:20:44 +0000 |
commit | 11ce2e89c5872903743da37daa4c8e91acc3113f (patch) | |
tree | a16fe9490f4118353c2e1d30a5240d7bbdb0af68 /sys/crypto/xform.c | |
parent | 2bfaabeb4bbcde09c7f481379268a5acd248fdec (diff) |
Getting closer to working userland MAC.
Diffstat (limited to 'sys/crypto/xform.c')
-rw-r--r-- | sys/crypto/xform.c | 14 |
1 files changed, 13 insertions, 1 deletions
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", |