Lines Matching defs:data
51 SHA_BYTE data[SHA_BLOCKSIZE]; /* SHA data buffer */
52 int local; /* unprocessed amount in data */
78 memcpy(dest->data, src->data, sizeof(src->data));
126 memcpy(W, sha_info->data, sizeof(sha_info->data));
128 longReverse(W, (int)sizeof(sha_info->data));
293 memcpy(((SHA_BYTE *) sha_info->data) + sha_info->local, buffer, i);
305 memcpy(sha_info->data, buffer, SHA_BLOCKSIZE);
310 memcpy(sha_info->data, buffer, count);
325 ((SHA_BYTE *) sha_info->data)[count++] = 0x80;
327 memset(((SHA_BYTE *) sha_info->data) + count, 0,
330 memset((SHA_BYTE *) sha_info->data, 0, SHA_BLOCKSIZE - 16);
333 memset(((SHA_BYTE *) sha_info->data) + count, 0,
339 sha_info->data[112] = 0;
340 sha_info->data[113] = 0;
341 sha_info->data[114] = 0;
342 sha_info->data[115] = 0;
343 sha_info->data[116] = 0;
344 sha_info->data[117] = 0;
345 sha_info->data[118] = 0;
346 sha_info->data[119] = 0;
347 sha_info->data[120] = (hi_bit_count >> 24) & 0xff;
348 sha_info->data[121] = (hi_bit_count >> 16) & 0xff;
349 sha_info->data[122] = (hi_bit_count >> 8) & 0xff;
350 sha_info->data[123] = (hi_bit_count >> 0) & 0xff;
351 sha_info->data[124] = (lo_bit_count >> 24) & 0xff;
352 sha_info->data[125] = (lo_bit_count >> 16) & 0xff;
353 sha_info->data[126] = (lo_bit_count >> 8) & 0xff;
354 sha_info->data[127] = (lo_bit_count >> 0) & 0xff;