Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/fs/romfs/
Dsuper.c107 unsigned long fillsize, pos; in romfs_read_folio() local
118 fillsize = 0; in romfs_read_folio()
122 fillsize = size > PAGE_SIZE ? PAGE_SIZE : size; in romfs_read_folio()
126 ret = romfs_dev_read(inode->i_sb, pos, buf, fillsize); in romfs_read_folio()
129 fillsize = 0; in romfs_read_folio()
134 if (fillsize < PAGE_SIZE) in romfs_read_folio()
135 memset(buf + fillsize, 0, PAGE_SIZE - fillsize); in romfs_read_folio()
/linux-6.1.9/include/crypto/
Dstreebog.h34 size_t fillsize; member