Lines Matching refs:bzero
56 #define bzero(a, b) memset((a), 0, (b)) macro
339 bzero(context->buffer, SHA256_BLOCK_LENGTH); in SHA256_Init()
586 bzero(&context->buffer[usedspace], SHA256_SHORT_BLOCK_LENGTH - usedspace); in SHA256_Final()
589 bzero(&context->buffer[usedspace], SHA256_BLOCK_LENGTH - usedspace); in SHA256_Final()
595 bzero(context->buffer, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Final()
599 bzero(context->buffer, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Final()
625 bzero(context, sizeof(*context)); in SHA256_Final()
646 bzero(context, sizeof(*context)); in SHA256_End()
648 bzero(digest, SHA256_DIGEST_LENGTH); in SHA256_End()
667 bzero(context->buffer, SHA512_BLOCK_LENGTH); in SHA512_Init()
903 bzero(&context->buffer[usedspace], SHA512_SHORT_BLOCK_LENGTH - usedspace); in SHA512_Last()
906 bzero(&context->buffer[usedspace], SHA512_BLOCK_LENGTH - usedspace); in SHA512_Last()
912 bzero(context->buffer, SHA512_BLOCK_LENGTH - 2); in SHA512_Last()
916 bzero(context->buffer, SHA512_SHORT_BLOCK_LENGTH); in SHA512_Last()
955 bzero(context, sizeof(*context)); in SHA512_Final()
975 bzero(context, sizeof(*context)); in SHA512_End()
977 bzero(digest, SHA512_DIGEST_LENGTH); in SHA512_End()
996 bzero(context->buffer, SHA384_BLOCK_LENGTH); in SHA384_Init()
1030 bzero(context, sizeof(*context)); in SHA384_Final()
1050 bzero(context, sizeof(*context)); in SHA384_End()
1052 bzero(digest, SHA384_DIGEST_LENGTH); in SHA384_End()