Searched refs:bsize (Results 1 - 25 of 26) sorted by relevance

12

/arch/s390/crypto/
H A Dsha_common.c24 unsigned int bsize = crypto_shash_blocksize(desc->tfm); local
29 index = ctx->count & (bsize - 1);
32 if ((index + len) < bsize)
37 memcpy(ctx->buf + index, data, bsize - index);
38 ret = crypt_s390_kimd(ctx->func, ctx->state, ctx->buf, bsize);
39 if (ret != bsize)
41 data += bsize - index;
42 len -= bsize - index;
47 if (len >= bsize) {
49 len & ~(bsize
66 unsigned int bsize = crypto_shash_blocksize(desc->tfm); local
[all...]
/arch/x86/crypto/
H A Dblowfish_glue.c85 unsigned int bsize = BF_BLOCK_SIZE; local
96 if (nbytes >= bsize * 4) {
100 wsrc += bsize * 4;
101 wdst += bsize * 4;
102 nbytes -= bsize * 4;
103 } while (nbytes >= bsize * 4);
105 if (nbytes < bsize)
113 wsrc += bsize;
114 wdst += bsize;
115 nbytes -= bsize;
147 unsigned int bsize = BF_BLOCK_SIZE; local
188 unsigned int bsize = BF_BLOCK_SIZE; local
284 unsigned int bsize = BF_BLOCK_SIZE; local
[all...]
H A Ddes3_ede_glue.c89 unsigned int bsize = DES3_EDE_BLOCK_SIZE; local
100 if (nbytes >= bsize * 3) {
105 wsrc += bsize * 3;
106 wdst += bsize * 3;
107 nbytes -= bsize * 3;
108 } while (nbytes >= bsize * 3);
110 if (nbytes < bsize)
118 wsrc += bsize;
119 wdst += bsize;
120 nbytes -= bsize;
154 unsigned int bsize = DES3_EDE_BLOCK_SIZE; local
195 unsigned int bsize = DES3_EDE_BLOCK_SIZE; local
290 unsigned int bsize = DES3_EDE_BLOCK_SIZE; local
[all...]
H A Dcast5_avx_glue.c65 const unsigned int bsize = CAST5_BLOCK_SIZE; local
82 if (nbytes >= bsize * CAST5_PARALLEL_BLOCKS) {
86 wsrc += bsize * CAST5_PARALLEL_BLOCKS;
87 wdst += bsize * CAST5_PARALLEL_BLOCKS;
88 nbytes -= bsize * CAST5_PARALLEL_BLOCKS;
89 } while (nbytes >= bsize * CAST5_PARALLEL_BLOCKS);
91 if (nbytes < bsize)
101 wsrc += bsize;
102 wdst += bsize;
103 nbytes -= bsize;
136 const unsigned int bsize = CAST5_BLOCK_SIZE; local
177 const unsigned int bsize = CAST5_BLOCK_SIZE; local
270 const unsigned int bsize = CAST5_BLOCK_SIZE; local
[all...]
H A Dglue_helper.c40 const unsigned int bsize = 128 / 8; local
51 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit,
55 func_bytes = bsize * gctx->funcs[i].num_blocks;
68 if (nbytes < bsize)
97 const unsigned int bsize = 128 / 8; local
110 nbytes -= bsize;
111 } while (nbytes >= bsize);
143 const unsigned int bsize = 128 / 8; local
152 src += nbytes / bsize - 1;
153 dst += nbytes / bsize
196 const unsigned int bsize = 128 / 8; local
241 const unsigned int bsize = 128 / 8; local
280 const unsigned int bsize = 128 / 8; local
312 const unsigned int bsize = 128 / 8; local
350 const unsigned int bsize = 128 / 8; local
[all...]
H A Dcamellia_aesni_avx2_glue.c212 const unsigned int bsize = CAMELLIA_BLOCK_SIZE; local
218 if (nbytes >= CAMELLIA_AESNI_AVX2_PARALLEL_BLOCKS * bsize) {
220 srcdst += bsize * CAMELLIA_AESNI_AVX2_PARALLEL_BLOCKS;
221 nbytes -= bsize * CAMELLIA_AESNI_AVX2_PARALLEL_BLOCKS;
224 if (nbytes >= CAMELLIA_AESNI_PARALLEL_BLOCKS * bsize) {
226 srcdst += bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS;
227 nbytes -= bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS;
230 while (nbytes >= CAMELLIA_PARALLEL_BLOCKS * bsize) {
232 srcdst += bsize * CAMELLIA_PARALLEL_BLOCKS;
233 nbytes -= bsize * CAMELLIA_PARALLEL_BLOCK
242 const unsigned int bsize = CAMELLIA_BLOCK_SIZE; local
[all...]
H A Dcamellia_aesni_avx_glue.c216 const unsigned int bsize = CAMELLIA_BLOCK_SIZE; local
222 if (nbytes >= CAMELLIA_AESNI_PARALLEL_BLOCKS * bsize) {
224 srcdst += bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS;
225 nbytes -= bsize * CAMELLIA_AESNI_PARALLEL_BLOCKS;
228 while (nbytes >= CAMELLIA_PARALLEL_BLOCKS * bsize) {
230 srcdst += bsize * CAMELLIA_PARALLEL_BLOCKS;
231 nbytes -= bsize * CAMELLIA_PARALLEL_BLOCKS;
234 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
240 const unsigned int bsize local
[all...]
H A Dserpent_avx2_glue.c190 const unsigned int bsize = SERPENT_BLOCK_SIZE; local
196 if (nbytes >= SERPENT_AVX2_PARALLEL_BLOCKS * bsize) {
198 srcdst += bsize * SERPENT_AVX2_PARALLEL_BLOCKS;
199 nbytes -= bsize * SERPENT_AVX2_PARALLEL_BLOCKS;
202 while (nbytes >= SERPENT_PARALLEL_BLOCKS * bsize) {
204 srcdst += bsize * SERPENT_PARALLEL_BLOCKS;
205 nbytes -= bsize * SERPENT_PARALLEL_BLOCKS;
208 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
214 const unsigned int bsize local
[all...]
H A Dtwofish_avx_glue.c225 const unsigned int bsize = TF_BLOCK_SIZE; local
231 if (nbytes == bsize * TWOFISH_PARALLEL_BLOCKS) {
236 for (i = 0; i < nbytes / (bsize * 3); i++, srcdst += bsize * 3)
239 nbytes %= bsize * 3;
241 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
247 const unsigned int bsize = TF_BLOCK_SIZE; local
253 if (nbytes == bsize * TWOFISH_PARALLEL_BLOCKS) {
258 for (i = 0; i < nbytes / (bsize *
[all...]
H A Dtwofish_glue_3way.c188 const unsigned int bsize = TF_BLOCK_SIZE; local
192 if (nbytes == 3 * bsize) {
197 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
203 const unsigned int bsize = TF_BLOCK_SIZE; local
207 if (nbytes == 3 * bsize) {
212 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
H A Dcast6_avx_glue.c211 const unsigned int bsize = CAST6_BLOCK_SIZE; local
217 if (nbytes == bsize * CAST6_PARALLEL_BLOCKS) {
222 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
228 const unsigned int bsize = CAST6_BLOCK_SIZE; local
234 if (nbytes == bsize * CAST6_PARALLEL_BLOCKS) {
239 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
H A Dserpent_avx_glue.c224 const unsigned int bsize = SERPENT_BLOCK_SIZE; local
230 if (nbytes == bsize * SERPENT_PARALLEL_BLOCKS) {
235 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
241 const unsigned int bsize = SERPENT_BLOCK_SIZE; local
247 if (nbytes == bsize * SERPENT_PARALLEL_BLOCKS) {
252 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
H A Dserpent_sse2_glue.c192 const unsigned int bsize = SERPENT_BLOCK_SIZE; local
198 if (nbytes == bsize * SERPENT_PARALLEL_BLOCKS) {
203 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
209 const unsigned int bsize = SERPENT_BLOCK_SIZE; local
215 if (nbytes == bsize * SERPENT_PARALLEL_BLOCKS) {
220 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
H A Dcamellia_glue.c1410 const unsigned int bsize = CAMELLIA_BLOCK_SIZE; local
1414 while (nbytes >= 2 * bsize) {
1416 srcdst += bsize * 2;
1417 nbytes -= bsize * 2;
1420 for (i = 0; i < nbytes / bsize; i++, srcdst += bsize)
1426 const unsigned int bsize = CAMELLIA_BLOCK_SIZE; local
1430 while (nbytes >= 2 * bsize) {
1432 srcdst += bsize * 2;
1433 nbytes -= bsize *
[all...]
/arch/m68k/emu/
H A Dnfblock.c56 u32 blocks, bsize; member in struct:nfhd_device
98 static int __init nfhd_init_one(int id, u32 blocks, u32 bsize) argument
104 blocks, bsize);
106 if (bsize < 512 || (bsize & (bsize - 1))) {
117 dev->bsize = bsize;
118 dev->bshift = ffs(bsize) - 10;
126 blk_queue_logical_block_size(dev->queue, bsize);
156 u32 blocks, bsize; local
[all...]
/arch/alpha/include/uapi/asm/
H A Da.out.h30 __u64 bsize; member in struct:aouthdr
67 #define a_bss ah.bsize
/arch/mips/boot/
H A Decoff.h38 long bsize; /* uninitialized data " " */ member in struct:aouthdr
H A Delf2ecoff.c235 a->bsize = swab32(a->bsize);
418 eah.bsize = bss.len;
461 esecs[2].s_size = eah.bsize;
/arch/x86/include/asm/crypto/
H A Dglue_helper.h46 static inline bool glue_fpu_begin(unsigned int bsize, int fpu_blocks_limit, argument
60 if (nbytes < bsize * (unsigned int)fpu_blocks_limit)
/arch/powerpc/boot/
H A Drs6000.h44 unsigned char bsize[4]; /* uninitialized data " " */ member in struct:__anon2296
/arch/arm/mach-msm/
H A Dsmd_debug.c202 int bsize = fill(debug_buffer, DEBUG_BUFMAX); local
203 return simple_read_from_buffer(buf, count, ppos, debug_buffer, bsize);
/arch/mips/include/asm/
H A Dsgiarcs.h279 unsigned char bsize; member in struct:linux_cache_key::param
281 unsigned char bsize;
/arch/alpha/boot/tools/
H A Dobjstrip.c215 mem_size = fil_size + aout->ah.bsize;
/arch/mips/include/asm/octeon/
H A Dcvmx-npi-defs.h342 uint64_t bsize:16; member in struct:cvmx_npi_buff_size_outputx::cvmx_npi_buff_size_outputx_s
344 uint64_t bsize:16;
H A Dcvmx-npei-defs.h3886 uint64_t bsize:16; member in struct:cvmx_npei_pkt_slist_id_size::cvmx_npei_pkt_slist_id_size_s
3888 uint64_t bsize:16;

Completed in 388 milliseconds

12