Lines Matching refs:count
71 #define expand(count) { \
72 W[count] = W[count - 3] ^ W[count - 8] ^ W[count - 14] ^ W[count - 16]; \
73 W[count] = S(1, W[count]); \
78 #define subRound1(count) \
80 temp = S( 5, A ) + f1( B, C, D ) + E + W[ count ] + K1; \
88 #define subRound2(count) \
90 temp = S( 5, A ) + f2( B, C, D ) + E + W[ count ] + K2; \
98 #define subRound3(count) \
100 temp = S( 5, A ) + f3( B, C, D ) + E + W[ count ] + K3; \
108 #define subRound4(count) \
110 temp = S( 5, A ) + f4( B, C, D ) + E + W[ count ] + K4; \
129 /* Initialise bit count */
233 int count;
236 for( count = 0; count < byteCount; count++ )
238 value = ( buffer[ count ] << 16 ) | ( buffer[ count ] >> 16 );
239 buffer[ count ] = ( ( value & 0xFF00FF00L ) >> 8 ) | ( ( value & 0x00FF00FFL ) << 8 );
261 int count)
265 if( ( shsInfo->countLo + ( ( LONG ) count << 3 ) ) < shsInfo->countLo )
267 shsInfo->countLo += ( ( LONG ) count << 3 );
268 shsInfo->countHi += ( ( LONG ) count >> 29 );
271 while( count >= SHS_BLOCKSIZE )
277 count -= SHS_BLOCKSIZE;
282 memcpy( shsInfo->data, buffer, count );
287 int count;
291 count = ( int ) ( ( shsInfo->countLo >> 3 ) & 0x3F );
295 ( ( BYTE * ) shsInfo->data )[ count++ ] = 0x80;
298 if( count > 56 )
301 memset( ( BYTE * ) &shsInfo->data + count, 0, 64 - count );
310 memset( ( BYTE * ) &shsInfo->data + count, 0, 56 - count );