Home
last modified time | relevance | path

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

/Linux-v5.4/crypto/
Dstreebog_generic.c924 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()
[all …]
/Linux-v5.4/fs/romfs/
Dsuper.c106 unsigned long fillsize, pos; in romfs_readpage() local
117 fillsize = 0; in romfs_readpage()
121 fillsize = size > PAGE_SIZE ? PAGE_SIZE : size; in romfs_readpage()
125 ret = romfs_dev_read(inode->i_sb, pos, buf, fillsize); in romfs_readpage()
128 fillsize = 0; in romfs_readpage()
133 if (fillsize < PAGE_SIZE) in romfs_readpage()
134 memset(buf + fillsize, 0, PAGE_SIZE - fillsize); in romfs_readpage()
/Linux-v5.4/include/crypto/
Dstreebog.h34 size_t fillsize; member