Lines Matching refs:fillsize
924 if (ctx->fillsize >= STREEBOG_BLOCK_SIZE) in streebog_pad()
927 memset(ctx->buffer + ctx->fillsize, 0, in streebog_pad()
928 sizeof(ctx->buffer) - ctx->fillsize); in streebog_pad()
930 ctx->buffer[ctx->fillsize] = 1; in streebog_pad()
991 buf.qword[0] = cpu_to_le64(ctx->fillsize << 3); in streebog_stage3()
1008 if (ctx->fillsize) { in streebog_update()
1009 chunksize = STREEBOG_BLOCK_SIZE - ctx->fillsize; in streebog_update()
1012 memcpy(&ctx->buffer[ctx->fillsize], data, chunksize); in streebog_update()
1013 ctx->fillsize += chunksize; in streebog_update()
1017 if (ctx->fillsize == STREEBOG_BLOCK_SIZE) { in streebog_update()
1019 ctx->fillsize = 0; in streebog_update()
1031 ctx->fillsize = len; in streebog_update()
1041 ctx->fillsize = 0; in streebog_final()