Lines Matching defs:data
50 SHA_BYTE data[SHA_BLOCKSIZE]; /* SHA data buffer */
51 int local; /* unprocessed amount in data */
90 memcpy(dest->data, src->data, sizeof(src->data));
138 memcpy(W, sha_info->data, sizeof(sha_info->data));
140 longReverse(W, (int)sizeof(sha_info->data));
289 memcpy(((SHA_BYTE *) sha_info->data) + sha_info->local, buffer, i);
301 memcpy(sha_info->data, buffer, SHA_BLOCKSIZE);
306 memcpy(sha_info->data, buffer, count);
321 ((SHA_BYTE *) sha_info->data)[count++] = 0x80;
323 memset(((SHA_BYTE *) sha_info->data) + count, 0,
326 memset((SHA_BYTE *) sha_info->data, 0, SHA_BLOCKSIZE - 8);
329 memset(((SHA_BYTE *) sha_info->data) + count, 0,
335 sha_info->data[56] = (hi_bit_count >> 24) & 0xff;
336 sha_info->data[57] = (hi_bit_count >> 16) & 0xff;
337 sha_info->data[58] = (hi_bit_count >> 8) & 0xff;
338 sha_info->data[59] = (hi_bit_count >> 0) & 0xff;
339 sha_info->data[60] = (lo_bit_count >> 24) & 0xff;
340 sha_info->data[61] = (lo_bit_count >> 16) & 0xff;
341 sha_info->data[62] = (lo_bit_count >> 8) & 0xff;
342 sha_info->data[63] = (lo_bit_count >> 0) & 0xff;