Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/crypto/axtls/
Dsha1.c44 ctx->Message_Block_Index = 0; in SHA1Init()
59 ctx->Message_Block[ctx->Message_Block_Index++] = (*msg & 0xFF); in SHA1Update()
67 if (ctx->Message_Block_Index == 64) in SHA1Update()
180 ctx->Message_Block_Index = 0; in SHA1ProcessMessageBlock()
203 if (ctx->Message_Block_Index > 55) in SHA1PadMessage()
205 ctx->Message_Block[ctx->Message_Block_Index++] = 0x80; in SHA1PadMessage()
206 while(ctx->Message_Block_Index < 64) in SHA1PadMessage()
208 ctx->Message_Block[ctx->Message_Block_Index++] = 0; in SHA1PadMessage()
213 while (ctx->Message_Block_Index < 56) in SHA1PadMessage()
215 ctx->Message_Block[ctx->Message_Block_Index++] = 0; in SHA1PadMessage()
[all …]
Dcrypto.h88 uint16_t Message_Block_Index; /* Index into message block array */ member
/external/libvncserver/common/
Dsha1.c96 context->Message_Block_Index = 0; in SHA1Reset()
211 context->Message_Block[context->Message_Block_Index++] = in SHA1Input()
225 if (context->Message_Block_Index == 64) in SHA1Input()
339 context->Message_Block_Index = 0; in SHA1ProcessMessageBlock()
374 if (context->Message_Block_Index > 55) in SHA1PadMessage()
376 context->Message_Block[context->Message_Block_Index++] = 0x80; in SHA1PadMessage()
377 while(context->Message_Block_Index < 64) in SHA1PadMessage()
379 context->Message_Block[context->Message_Block_Index++] = 0; in SHA1PadMessage()
384 while(context->Message_Block_Index < 56) in SHA1PadMessage()
386 context->Message_Block[context->Message_Block_Index++] = 0; in SHA1PadMessage()
[all …]
Dsha1.h84 int_least16_t Message_Block_Index; member