Searched defs:SHA512_SHORT_BLOCK_LENGTH (Results 1 - 2 of 2) sorted by relevance

/external/openssh/openbsd-compat/
H A Dsha2.c100 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16) macro
787 if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) {
789 memset(&context->buffer[usedspace], 0, SHA512_SHORT_BLOCK_LENGTH - usedspace);
802 memset(context->buffer, 0, SHA512_SHORT_BLOCK_LENGTH);
808 BE_64_TO_8(&context->buffer[SHA512_SHORT_BLOCK_LENGTH],
810 BE_64_TO_8(&context->buffer[SHA512_SHORT_BLOCK_LENGTH + 8],
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
H A Dsha2.c151 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16) macro
901 if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) {
903 bzero(&context->buffer[usedspace], SHA512_SHORT_BLOCK_LENGTH - usedspace);
916 bzero(context->buffer, SHA512_SHORT_BLOCK_LENGTH);
922 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1];
923 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0];

Completed in 32 milliseconds