Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dsha2.c103 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8) macro
511 if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) { in SHA256_Pad()
514 SHA256_SHORT_BLOCK_LENGTH - usedspace); in SHA256_Pad()
524 memset(context->buffer, 0, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Pad()
528 memset(context->buffer, 0, SHA256_SHORT_BLOCK_LENGTH); in SHA256_Pad()
534 BE_64_TO_8(&context->buffer[SHA256_SHORT_BLOCK_LENGTH], in SHA256_Pad()
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.c149 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8) macro
584 if (usedspace <= SHA256_SHORT_BLOCK_LENGTH) { in SHA256_Final()
586 bzero(&context->buffer[usedspace], SHA256_SHORT_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()
605 *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount; in SHA256_Final()