Home
last modified time | relevance | path

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

/freebsd/contrib/unbound/compat/
H A Dsha512.c166 #define MEMSET_BZERO(p,l) memset((p), 0, (l)) macro
170 #define MEMSET_BZERO(p,l) bzero((p), (l)) macro
267 MEMSET_BZERO(context->buffer, SHA512_BLOCK_LENGTH); in SHA512_Init()
413 MEMSET_BZERO(&context->buffer[usedspace], SHA512_SHORT_BLOCK_LENGTH - usedspace); in SHA512_Last()
416 MEMSET_BZERO(&context->buffer[usedspace], SHA512_BLOCK_LENGTH - usedspace); in SHA512_Last()
422 MEMSET_BZERO(context->buffer, SHA512_BLOCK_LENGTH - 2); in SHA512_Last()
426 MEMSET_BZERO(context->buffer, SHA512_SHORT_BLOCK_LENGTH); in SHA512_Last()
466 MEMSET_BZERO(context, sizeof(SHA512_CTX)); in SHA512_Final()
/freebsd/contrib/ldns/
H A Dsha2.c172 #define MEMSET_BZERO(p,l) memset((p), 0, (l)) macro
176 #define MEMSET_BZERO(p,l) bzero((p), (l)) macro
320 MEMSET_BZERO(context->buffer, LDNS_SHA256_BLOCK_LENGTH); in ldns_sha256_init()
578 MEMSET_BZERO(&context->buffer[usedspace], ldns_sha256_SHORT_BLOCK_LENGTH - usedspace); in ldns_sha256_final()
581 MEMSET_BZERO(&context->buffer[usedspace], LDNS_SHA256_BLOCK_LENGTH - usedspace); in ldns_sha256_final()
587 MEMSET_BZERO(context->buffer, ldns_sha256_SHORT_BLOCK_LENGTH); in ldns_sha256_final()
591 MEMSET_BZERO(context->buffer, ldns_sha256_SHORT_BLOCK_LENGTH); in ldns_sha256_final()
618 MEMSET_BZERO(context, sizeof(ldns_sha256_CTX)); in ldns_sha256_final()
639 MEMSET_BZERO(context->buffer, LDNS_SHA512_BLOCK_LENGTH); in ldns_sha512_init()
881 MEMSET_BZERO(&context->buffer[usedspace], ldns_sha512_SHORT_BLOCK_LENGTH - usedspace); in ldns_sha512_Last()
[all …]