Home
last modified time | relevance | path

Searched refs:MEMCPY_BCOPY (Results 1 – 1 of 1) sorted by relevance

/net-tools-latest/tinydtls-0.8.2/sha2/
Dsha2.c203 #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()
[all …]