Lines Matching refs:MEMCPY_BCOPY
203 #define MEMCPY_BCOPY(d,s,l) memcpy((d), (s), (l)) macro
207 #define MEMCPY_BCOPY(d,s,l) bcopy((s), (d), (l)) macro
374 MEMCPY_BCOPY(context->state, sha256_initial_hash_value, SHA256_DIGEST_LENGTH); in SHA256_Init()
572 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); in SHA256_Update()
579 MEMCPY_BCOPY(&context->buffer[usedspace], data, len); in SHA256_Update()
595 MEMCPY_BCOPY(context->buffer, data, len); in SHA256_Update()
656 MEMCPY_BCOPY(d, context->state, SHA256_DIGEST_LENGTH); in SHA256_Final()
703 MEMCPY_BCOPY(context->state, sha512_initial_hash_value, SHA512_DIGEST_LENGTH); in SHA512_Init()
895 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); in SHA512_Update()
902 MEMCPY_BCOPY(&context->buffer[usedspace], data, len); in SHA512_Update()
918 MEMCPY_BCOPY(context->buffer, data, len); in SHA512_Update()
987 MEMCPY_BCOPY(d, context->state, SHA512_DIGEST_LENGTH); in SHA512_Final()
1033 MEMCPY_BCOPY(context->state, sha384_initial_hash_value, SHA512_DIGEST_LENGTH); in SHA384_Init()
1063 MEMCPY_BCOPY(d, context->state, SHA384_DIGEST_LENGTH); in SHA384_Final()