Lines Matching refs:data

386 	REVERSE32(*data++, W256[j]); \
398 K256[j] + (W256[j] = *data++); \
416 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { in SHA256_Transform() argument
474 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { in SHA256_Transform() argument
495 REVERSE32(*data++,W256[j]); in SHA256_Transform()
500 T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] + (W256[j] = *data++); in SHA256_Transform()
554 void SHA256_Update(SHA256_CTX* context, const sha2_byte *data, size_t len) { in SHA256_Update() argument
563 assert(context != (SHA256_CTX*)0 && data != (sha2_byte*)0); in SHA256_Update()
572 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); in SHA256_Update()
575 data += freespace; in SHA256_Update()
579 MEMCPY_BCOPY(&context->buffer[usedspace], data, len); in SHA256_Update()
588 SHA256_Transform(context, (sha2_word32*)data); in SHA256_Update()
591 data += SHA256_BLOCK_LENGTH; in SHA256_Update()
595 MEMCPY_BCOPY(context->buffer, data, len); in SHA256_Update()
688 char* SHA256_Data(const sha2_byte* data, size_t len, char digest[SHA256_DIGEST_STRING_LENGTH]) { in SHA256_Data() argument
692 SHA256_Update(&context, data, len); in SHA256_Data()
714 REVERSE64(*data++, W512[j]); \
726 K512[j] + (W512[j] = *data++); \
744 void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { in SHA512_Transform() argument
799 void SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) { in SHA512_Transform() argument
818 REVERSE64(*data++, W512[j]); in SHA512_Transform()
823 T1 = h + Sigma1_512(e) + Ch(e, f, g) + K512[j] + (W512[j] = *data++); in SHA512_Transform()
877 void SHA512_Update(SHA512_CTX* context, const sha2_byte *data, size_t len) { in SHA512_Update() argument
886 assert(context != (SHA512_CTX*)0 && data != (sha2_byte*)0); in SHA512_Update()
895 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); in SHA512_Update()
898 data += freespace; in SHA512_Update()
902 MEMCPY_BCOPY(&context->buffer[usedspace], data, len); in SHA512_Update()
911 SHA512_Transform(context, (sha2_word64*)data); in SHA512_Update()
914 data += SHA512_BLOCK_LENGTH; in SHA512_Update()
918 MEMCPY_BCOPY(context->buffer, data, len); in SHA512_Update()
1018 char* SHA512_Data(const sha2_byte* data, size_t len, char digest[SHA512_DIGEST_STRING_LENGTH]) { in SHA512_Data() argument
1022 SHA512_Update(&context, data, len); in SHA512_Data()
1038 void SHA384_Update(SHA384_CTX* context, const sha2_byte* data, size_t len) { in SHA384_Update() argument
1039 SHA512_Update((SHA512_CTX*)context, data, len); in SHA384_Update()
1094 char* SHA384_Data(const sha2_byte* data, size_t len, char digest[SHA384_DIGEST_STRING_LENGTH]) { in SHA384_Data() argument
1098 SHA384_Update(&context, data, len); in SHA384_Data()