/* -*-c-*-
*
- * $Id: hash.h,v 1.2 1999/12/10 23:16:40 mdw Exp $
+ * $Id: hash.h,v 1.3 2000/06/17 11:23:27 mdw Exp $
*
* Generic handling for message digest functions
*
/*----- Revision history --------------------------------------------------*
*
* $Log: hash.h,v $
+ * Revision 1.3 2000/06/17 11:23:27 mdw
+ * Portability fix for broken compilers.
+ *
* Revision 1.2 1999/12/10 23:16:40 mdw
* Split mode macros into interface and implementation.
*
*/ \
\
{ \
- uint32 _l = U32(_bsz), _h = (_bsz >> 16) >> 16; \
+ uint32 _l = U32(_bsz); \
+ uint32 _h = ((_bsz & ~MASK32) >> 16) >> 16; \
_bctx->nh += _h; \
_bctx->nl += _l; \
if (_bctx->nl < _l || _bctx->nl & ~MASK32) \