svn commit: r219026 - head/sys/opencrypto

VANHULLEBUS Yvan vanhu at FreeBSD.org
Fri Feb 25 09:29:33 UTC 2011


Author: vanhu
Date: Fri Feb 25 09:29:32 2011
New Revision: 219026
URL: http://svn.freebsd.org/changeset/base/219026

Log:
  fixed size of AH_ALEN_MAX, which is 64 bytes for SHA-512.
  
  Obtained from:	Matthias Drochner <M.Drochner at fz-juelich.de>
  MFC after: 3d

Modified:
  head/sys/opencrypto/xform.h

Modified: head/sys/opencrypto/xform.h
==============================================================================
--- head/sys/opencrypto/xform.h	Fri Feb 25 09:07:17 2011	(r219025)
+++ head/sys/opencrypto/xform.h	Fri Feb 25 09:29:32 2011	(r219026)
@@ -43,7 +43,8 @@ struct auth_hash {
 	void (*Final) (u_int8_t *, void *);
 };
 
-#define	AH_ALEN_MAX	20	/* max authenticator hash length */
+/* XXX use a define common with other hash stuff ! */
+#define	AH_ALEN_MAX	64	/* max authenticator hash length */
 
 struct enc_xform {
 	int type;


More information about the svn-src-all mailing list