diff options
author | Damien Miller <djm@mindrot.org> | 2007-06-11 06:01:42 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2007-06-11 06:01:42 +0200 |
commit | e45796f7b425c04b6ba2d1f72e22c0cb6b3322ef (patch) | |
tree | 4882ccdb6184b1cf259ff916c2f716f3d1238f93 /mac.h | |
parent | - (djm) Bugzilla #1306: silence spurious error messages from hang-on-exit (diff) | |
download | openssh-e45796f7b425c04b6ba2d1f72e22c0cb6b3322ef.tar.xz openssh-e45796f7b425c04b6ba2d1f72e22c0cb6b3322ef.zip |
- pvalchev@cvs.openbsd.org 2007/06/07 19:37:34
[kex.h mac.c mac.h monitor_wrap.c myproposal.h packet.c ssh.1]
[ssh_config.5 sshd.8 sshd_config.5]
Add a new MAC algorithm for data integrity, UMAC-64 (not default yet,
must specify umac-64@openssh.com). Provides about 20% end-to-end speedup
compared to hmac-md5. Represents a different approach to message
authentication to that of HMAC that may be beneficial if HMAC based on
one of its underlying hash algorithms is found to be vulnerable to a
new attack. http://www.ietf.org/rfc/rfc4418.txt
in conjunction with and OK djm@
Diffstat (limited to 'mac.h')
-rw-r--r-- | mac.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: mac.h,v 1.5 2007/06/05 06:52:37 djm Exp $ */ +/* $OpenBSD: mac.h,v 1.6 2007/06/07 19:37:34 pvalchev Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * @@ -25,6 +25,6 @@ int mac_valid(const char *); int mac_setup(Mac *, char *); -void mac_init(Mac *); +int mac_init(Mac *); u_char *mac_compute(Mac *, u_int32_t, u_char *, int); void mac_clear(Mac *); |