Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/compat/
H A Dsha512.c167 #define MEMCPY_BCOPY(d,s,l) memcpy((d), (s), (l)) macro
171 #define MEMCPY_BCOPY(d,s,l) bcopy((s), (d), (l)) macro
266 MEMCPY_BCOPY(context->state, sha512_initial_hash_value, SHA512_DIGEST_LENGTH); in SHA512_Init()
367 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); in SHA512_Update()
374 MEMCPY_BCOPY(&context->buffer[usedspace], data, len); in SHA512_Update()
390 MEMCPY_BCOPY(context->buffer, data, len); in SHA512_Update()
461 MEMCPY_BCOPY(d, context->state, SHA512_DIGEST_LENGTH); in SHA512_Final()
/freebsd/contrib/ldns/
H A Dsha2.c173 #define MEMCPY_BCOPY(d,s,l) memcpy((d), (s), (l)) macro
177 #define MEMCPY_BCOPY(d,s,l) bcopy((s), (d), (l)) macro
319 MEMCPY_BCOPY(context->state, ldns_sha256_initial_hash_value, LDNS_SHA256_DIGEST_LENGTH); in ldns_sha256_init()
520 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); in ldns_sha256_update()
527 MEMCPY_BCOPY(&context->buffer[usedspace], data, len); in ldns_sha256_update()
544 MEMCPY_BCOPY(context->buffer, data, len); in ldns_sha256_update()
613 MEMCPY_BCOPY(d, context->state, LDNS_SHA256_DIGEST_LENGTH); in ldns_sha256_final()
638 MEMCPY_BCOPY(context->state, sha512_initial_hash_value, LDNS_SHA512_DIGEST_LENGTH); in ldns_sha512_init()
833 MEMCPY_BCOPY(&context->buffer[usedspace], data, freespace); in ldns_sha512_update()
840 MEMCPY_BCOPY(&context->buffer[usedspace], data, len); in ldns_sha512_update()
[all …]