Home
last modified time | relevance | path

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

/net-tools-3.5.0/tinydtls-0.8.2/sha2/
Dsha2.c151 #define SHA512_SHORT_BLOCK_LENGTH (SHA512_BLOCK_LENGTH - 16) macro
938 if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) { in SHA512_Last()
940 MEMSET_BZERO(&context->buffer[usedspace], SHA512_SHORT_BLOCK_LENGTH - usedspace); in SHA512_Last()
953 MEMSET_BZERO(context->buffer, SHA512_SHORT_BLOCK_LENGTH); in SHA512_Last()
959 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1]; in SHA512_Last()
960 *(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0]; in SHA512_Last()