/arch/x86/crypto/ |
D | cast5_avx_glue.c | 53 const unsigned int bsize = CAST5_BLOCK_SIZE; in ecb_crypt() local 67 if (nbytes >= bsize * CAST5_PARALLEL_BLOCKS) { in ecb_crypt() 72 wsrc += bsize * CAST5_PARALLEL_BLOCKS; in ecb_crypt() 73 wdst += bsize * CAST5_PARALLEL_BLOCKS; in ecb_crypt() 74 nbytes -= bsize * CAST5_PARALLEL_BLOCKS; in ecb_crypt() 75 } while (nbytes >= bsize * CAST5_PARALLEL_BLOCKS); in ecb_crypt() 77 if (nbytes < bsize) in ecb_crypt() 87 wsrc += bsize; in ecb_crypt() 88 wdst += bsize; in ecb_crypt() 89 nbytes -= bsize; in ecb_crypt() [all …]
|
D | blowfish_glue.c | 75 unsigned int bsize = BF_BLOCK_SIZE; in ecb_crypt() local 89 if (nbytes >= bsize * 4) { in ecb_crypt() 93 wsrc += bsize * 4; in ecb_crypt() 94 wdst += bsize * 4; in ecb_crypt() 95 nbytes -= bsize * 4; in ecb_crypt() 96 } while (nbytes >= bsize * 4); in ecb_crypt() 98 if (nbytes < bsize) in ecb_crypt() 106 wsrc += bsize; in ecb_crypt() 107 wdst += bsize; in ecb_crypt() 108 nbytes -= bsize; in ecb_crypt() [all …]
|
D | des3_ede_glue.c | 78 const unsigned int bsize = DES3_EDE_BLOCK_SIZE; in ecb_crypt() local 90 if (nbytes >= bsize * 3) { in ecb_crypt() 95 wsrc += bsize * 3; in ecb_crypt() 96 wdst += bsize * 3; in ecb_crypt() 97 nbytes -= bsize * 3; in ecb_crypt() 98 } while (nbytes >= bsize * 3); in ecb_crypt() 100 if (nbytes < bsize) in ecb_crypt() 108 wsrc += bsize; in ecb_crypt() 109 wdst += bsize; in ecb_crypt() 110 nbytes -= bsize; in ecb_crypt() [all …]
|
D | glue_helper.c | 25 const unsigned int bsize = 128 / 8; in glue_ecb_req_128bit() local 39 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, in glue_ecb_req_128bit() 42 func_bytes = bsize * gctx->funcs[i].num_blocks; in glue_ecb_req_128bit() 55 if (nbytes < bsize) in glue_ecb_req_128bit() 70 const unsigned int bsize = 128 / 8; in glue_cbc_encrypt_req_128bit() local 88 nbytes -= bsize; in glue_cbc_encrypt_req_128bit() 89 } while (nbytes >= bsize); in glue_cbc_encrypt_req_128bit() 102 const unsigned int bsize = 128 / 8; in glue_cbc_decrypt_req_128bit() local 117 fpu_enabled = glue_fpu_begin(bsize, gctx->fpu_blocks_limit, in glue_cbc_decrypt_req_128bit() 120 src += nbytes / bsize - 1; in glue_cbc_decrypt_req_128bit() [all …]
|
/arch/s390/crypto/ |
D | sha_common.c | 19 unsigned int bsize = crypto_shash_blocksize(desc->tfm); in s390_sha_update() local 23 index = ctx->count % bsize; in s390_sha_update() 26 if ((index + len) < bsize) in s390_sha_update() 31 memcpy(ctx->buf + index, data, bsize - index); in s390_sha_update() 32 cpacf_kimd(ctx->func, ctx->state, ctx->buf, bsize); in s390_sha_update() 33 data += bsize - index; in s390_sha_update() 34 len -= bsize - index; in s390_sha_update() 39 if (len >= bsize) { in s390_sha_update() 40 n = (len / bsize) * bsize; in s390_sha_update() 75 unsigned int bsize = crypto_shash_blocksize(desc->tfm); in s390_sha_final() local [all …]
|
/arch/m68k/emu/ |
D | nfblock.c | 56 u32 blocks, bsize; member 100 static int __init nfhd_init_one(int id, u32 blocks, u32 bsize) in nfhd_init_one() argument 106 blocks, bsize); in nfhd_init_one() 108 if (bsize < 512 || (bsize & (bsize - 1))) { in nfhd_init_one() 119 dev->bsize = bsize; in nfhd_init_one() 120 dev->bshift = ffs(bsize) - 10; in nfhd_init_one() 126 blk_queue_logical_block_size(dev->queue, bsize); in nfhd_init_one() 137 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one() 156 u32 blocks, bsize; in nfhd_init() local 174 if (nfhd_get_capacity(i, 0, &blocks, &bsize)) in nfhd_init() [all …]
|
/arch/arm64/crypto/ |
D | aes-ce-ccm-glue.c | 193 u32 bsize = AES_BLOCK_SIZE; in ccm_crypt_fallback() local 196 bsize = nbytes; in ccm_crypt_fallback() 202 crypto_xor(mac, src, bsize); in ccm_crypt_fallback() 203 crypto_xor_cpy(dst, src, buf, bsize); in ccm_crypt_fallback() 205 crypto_xor(mac, dst, bsize); in ccm_crypt_fallback() 206 dst += bsize; in ccm_crypt_fallback() 207 src += bsize; in ccm_crypt_fallback() 208 nbytes -= bsize; in ccm_crypt_fallback()
|
/arch/alpha/include/uapi/asm/ |
D | a.out.h | 31 __u64 bsize; member 68 #define a_bss ah.bsize
|
/arch/powerpc/kernel/ |
D | setup_64.c | 502 u32 bsize, u32 sets) in init_cache_info() argument 507 info->block_size = bsize; in init_cache_info() 508 info->log_block_size = __ilog2(bsize); in init_cache_info() 509 if (bsize) in init_cache_info() 510 info->blocks_per_page = PAGE_SIZE / bsize; in init_cache_info() 538 u32 size, lsize, bsize, sets; in parse_cache_info() local 543 lsize = bsize = cur_cpu_spec->dcache_bsize; in parse_cache_info() 559 bsize = be32_to_cpu(*bsizep); in parse_cache_info() 574 init_cache_info(info, size, lsize, bsize, sets); in parse_cache_info()
|
/arch/x86/include/asm/crypto/ |
D | glue_helper.h | 42 static inline bool glue_fpu_begin(unsigned int bsize, int fpu_blocks_limit, in glue_fpu_begin() argument 56 if (nbytes < bsize * (unsigned int)fpu_blocks_limit) in glue_fpu_begin()
|
/arch/mips/boot/ |
D | ecoff.h | 42 int32_t bsize; /* uninitialized data " " */ member
|
D | elf2ecoff.c | 238 a->bsize = swab32(a->bsize); in convert_ecoff_aouthdr() 424 eah.bsize = bss.len; in main() 467 esecs[2].s_size = eah.bsize; in main()
|
/arch/powerpc/boot/ |
D | rs6000.h | 45 unsigned char bsize[4]; /* uninitialized data " " */ member
|
/arch/mips/include/asm/ |
D | sgiarcs.h | 281 unsigned char bsize; member 283 unsigned char bsize;
|
/arch/alpha/boot/tools/ |
D | objstrip.c | 219 mem_size = fil_size + aout->ah.bsize; in main()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-npi-defs.h | 323 uint64_t bsize:16; member 325 uint64_t bsize:16;
|
D | cvmx-npei-defs.h | 3645 uint64_t bsize:16; member 3647 uint64_t bsize:16;
|