/arch/s390/crypto/ |
H A D | sha_common.c | 24 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 D | blowfish_glue.c | 85 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 D | cast5_avx_glue.c | 65 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 D | glue_helper.c | 40 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 D | serpent_avx2_glue.c | 190 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 D | camellia_aesni_avx2_glue.c | 212 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 D | camellia_aesni_avx_glue.c | 216 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 D | cast6_avx_glue.c | 211 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 D | des3_ede_glue.c | 89 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 D | serpent_avx_glue.c | 224 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 D | serpent_sse2_glue.c | 192 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 D | twofish_avx_glue.c | 225 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 D | twofish_glue_3way.c | 188 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 D | camellia_glue.c | 1410 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/x86/include/asm/crypto/ |
H A D | glue_helper.h | 46 static inline bool glue_fpu_begin(unsigned int bsize, int fpu_blocks_limit, argument 60 if (nbytes < bsize * (unsigned int)fpu_blocks_limit)
|
/arch/alpha/include/uapi/asm/ |
H A D | a.out.h | 30 __u64 bsize; member in struct:aouthdr 67 #define a_bss ah.bsize
|
/arch/arm/mach-msm/ |
H A D | smd_debug.c | 202 int bsize = fill(debug_buffer, DEBUG_BUFMAX); local 203 return simple_read_from_buffer(buf, count, ppos, debug_buffer, bsize);
|
/arch/m68k/emu/ |
H A D | nfblock.c | 56 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/mips/boot/ |
H A D | ecoff.h | 38 long bsize; /* uninitialized data " " */ member in struct:aouthdr
|
/arch/powerpc/boot/ |
H A D | rs6000.h | 44 unsigned char bsize[4]; /* uninitialized data " " */ member in struct:__anon2296
|
/arch/mips/include/asm/ |
H A D | sgiarcs.h | 279 unsigned char bsize; member in struct:linux_cache_key::param 281 unsigned char bsize;
|
/arch/mips/include/asm/octeon/ |
H A D | cvmx-npi-defs.h | 342 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 D | cvmx-sli-defs.h | 2520 uint64_t bsize:16; member in struct:cvmx_sli_pktx_out_size::cvmx_sli_pktx_out_size_s 2522 uint64_t bsize:16;
|
H A D | cvmx-npei-defs.h | 3886 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;
|