Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2006 18:05:33 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 106566 for review
Message-ID:  <200609231805.k8NI5XkF006026@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=106566

Change 106566 by imp@imp_paco-paco on 2006/09/23 18:04:48

	compile fix

Affected files ...

.. //depot/projects/usb/src/sys/dev/ubsec/ubsec.c#2 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/ubsec/ubsec.c#2 (text+ko) ====

@@ -937,7 +937,7 @@
 			MD5Update(&md5ctx, macini->cri_key,
 			    macini->cri_klen / 8);
 			MD5Update(&md5ctx, hmac_ipad_buffer,
-			    HMAC_BLOCK_LEN - (macini->cri_klen / 8));
+			    MD5_HMAC_BLOCK_LEN - (macini->cri_klen / 8));
 			bcopy(md5ctx.state, ses->ses_hminner,
 			    sizeof(md5ctx.state));
 		} else {
@@ -945,7 +945,7 @@
 			SHA1Update(&sha1ctx, macini->cri_key,
 			    macini->cri_klen / 8);
 			SHA1Update(&sha1ctx, hmac_ipad_buffer,
-			    HMAC_BLOCK_LEN - (macini->cri_klen / 8));
+			    SHA1_HMAC_BLOCK_LEN - (macini->cri_klen / 8));
 			bcopy(sha1ctx.h.b32, ses->ses_hminner,
 			    sizeof(sha1ctx.h.b32));
 		}
@@ -958,7 +958,7 @@
 			MD5Update(&md5ctx, macini->cri_key,
 			    macini->cri_klen / 8);
 			MD5Update(&md5ctx, hmac_opad_buffer,
-			    HMAC_BLOCK_LEN - (macini->cri_klen / 8));
+			    MD5_HMAC_BLOCK_LEN - (macini->cri_klen / 8));
 			bcopy(md5ctx.state, ses->ses_hmouter,
 			    sizeof(md5ctx.state));
 		} else {
@@ -966,7 +966,7 @@
 			SHA1Update(&sha1ctx, macini->cri_key,
 			    macini->cri_klen / 8);
 			SHA1Update(&sha1ctx, hmac_opad_buffer,
-			    HMAC_BLOCK_LEN - (macini->cri_klen / 8));
+			    SHA1_HMAC_BLOCK_LEN - (macini->cri_klen / 8));
 			bcopy(sha1ctx.h.b32, ses->ses_hmouter,
 			    sizeof(sha1ctx.h.b32));
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609231805.k8NI5XkF006026>