Lines Matching refs:count
67 #define expand(count) { \
68 W[count] = W[count - 3] ^ W[count - 8] ^ W[count - 14] ^ W[count - 16]; \
69 W[count] = S(1, W[count]); \
74 #define subRound1(count) \
76 temp = S( 5, A ) + f1( B, C, D ) + E + W[ count ] + K1; \
84 #define subRound2(count) \
86 temp = S( 5, A ) + f2( B, C, D ) + E + W[ count ] + K2; \
94 #define subRound3(count) \
96 temp = S( 5, A ) + f3( B, C, D ) + E + W[ count ] + K3; \
104 #define subRound4(count) \
106 temp = S( 5, A ) + f4( B, C, D ) + E + W[ count ] + K4; \
125 /* Initialise bit count */
227 int count;
230 for( count = 0; count < byteCount; count++ )
232 value = ( buffer[ count ] << 16 ) | ( buffer[ count ] >> 16 );
233 buffer[ count ] = ( ( value & 0xFF00FF00L ) >> 8 ) | ( ( value & 0x00FF00FFL ) << 8 );
255 int count)
259 if( ( shsInfo->countLo + ( ( LONG ) count << 3 ) ) < shsInfo->countLo )
261 shsInfo->countLo += ( ( LONG ) count << 3 );
262 shsInfo->countHi += ( ( LONG ) count >> 29 );
265 while( count >= SHS_BLOCKSIZE )
271 count -= SHS_BLOCKSIZE;
276 memcpy( shsInfo->data, buffer, count );
281 int count;
285 count = ( int ) ( ( shsInfo->countLo >> 3 ) & 0x3F );
289 ( ( BYTE * ) shsInfo->data )[ count++ ] = 0x80;
292 if( count > 56 )
295 memset( ( BYTE * ) &shsInfo->data + count, 0, 64 - count );
304 memset( ( BYTE * ) &shsInfo->data + count, 0, 56 - count );