Lines Matching refs:data

480 	REVERSE32(*data++, W256[j]); \
492 K256[j] + (W256[j] = *data++); \
510 static void SHA256_Transform(SHA256_CTX* sha, const sha2_word32* data) {
568 static void SHA256_Transform(SHA256_CTX* sha, const sha2_word32* data) {
588 /* Copy data while converting to host byte order */
589 REVERSE32(*data++,W256[j]);
594 T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] + (W256[j] = *data++);
652 sha2_byte* data = (sha2_byte*)s;
664 MEMCPY_BCOPY(&sha->buffer[usedspace], data, freespace);
667 data += freespace;
671 MEMCPY_BCOPY(&sha->buffer[usedspace], data, len);
680 SHA256_Transform(sha, (sha2_word32*)data);
683 data += SHA256_BLOCK_LENGTH;
687 MEMCPY_BCOPY(sha->buffer, data, len);
785 /* Clean up state data: */
807 sha256_data(Sum_t* p, Sumdata_t* data)
811 data->size = SHA256_DIGEST_LENGTH;
812 data->num = 0;
813 data->buf = sha->digest;
848 REVERSE64(*data++, W512[j]); \
860 K512[j] + (W512[j] = *data++); \
878 static void SHA512_Transform(SHA512_CTX* sha, const sha2_word64* data) {
933 static void SHA512_Transform(SHA512_CTX* sha, const sha2_word64* data) {
952 REVERSE64(*data++, W512[j]);
957 T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + (W512[j] = *data++);
1015 sha2_byte* data = (sha2_byte*)s;
1027 MEMCPY_BCOPY(&sha->buffer[usedspace], data, freespace);
1030 data += freespace;
1034 MEMCPY_BCOPY(&sha->buffer[usedspace], data, len);
1043 SHA512_Transform(sha, (sha2_word64*)data);
1046 data += SHA512_BLOCK_LENGTH;
1050 MEMCPY_BCOPY(sha->buffer, data, len);
1122 /* Store the length of input data (in bits): */
1147 /* Clean up state data: */
1169 sha512_data(Sum_t* p, Sumdata_t* data)
1173 data->size = SHA512_DIGEST_LENGTH;
1174 data->num = 0;
1175 data->buf = sha->digest;
1238 sha384_data(Sum_t* p, Sumdata_t* data)
1242 data->size = SHA384_DIGEST_LENGTH;
1243 data->num = 0;
1244 data->buf = sha->digest;