/freebsd-current/contrib/xz/src/liblzma/common/ |
H A D | index_hash.c | 49 lzma_index_hash_info blocks; member in struct:lzma_index_hash_s 83 index_hash->blocks.blocks_size = 0; 84 index_hash->blocks.uncompressed_size = 0; 85 index_hash->blocks.count = 0; 86 index_hash->blocks.index_list_size = 0; 97 (void)lzma_check_init(&index_hash->blocks.check, LZMA_CHECK_BEST); 116 // Get the size of the Index from ->blocks instead of ->records for 119 return index_size(index_hash->blocks.count, 120 index_hash->blocks.index_list_size); 155 hash_append(&index_hash->blocks, unpadded_siz [all...] |
/freebsd-current/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_chacha20_hw.c | 70 size_t blocks = inl / CHACHA_BLK_SIZE; local 77 if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28)) 78 blocks = (1U << 28); 84 * amount of blocks to the exact overflow point... 86 ctr32 += (unsigned int)blocks; 87 if (ctr32 < blocks) { 88 blocks -= ctr32; 91 blocks *= CHACHA_BLK_SIZE; 92 ChaCha20_ctr32(out, in, blocks, ctx->key.d, ctx->counter); 93 inl -= blocks; [all...] |
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 36 int aesni_cbc_sha256_enc(const void *inp, void *out, size_t blocks, 112 int blocks; member in struct:__anon4111 118 int blocks; member in struct:__anon4112 139 } blocks[8]; local 150 if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4, 0) <= 0) 182 memcpy(blocks[0].c, sctx->md.data, 8); 183 seqnum = BSWAP8(blocks[0].q[0]); 203 blocks[i].q[0] = BSWAP8(seqnum + i); 206 blocks[i].c[j] = ((u8 *)sctx->md.data)[j] + carry; 207 carry = (blocks[ 404 size_t aes_off = 0, blocks; local [all...] |
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 36 void aesni_cbc_sha1_enc(const void *inp, void *out, size_t blocks, 108 int blocks; member in struct:__anon4105 114 int blocks; member in struct:__anon4106 135 } blocks[8]; local 146 if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4, 0) <= 0) 178 memcpy(blocks[0].c, sctx->md.data, 8); 179 seqnum = BSWAP8(blocks[0].q[0]); 195 blocks[i].q[0] = BSWAP8(seqnum + i); 198 blocks[i].c[j] = ((u8 *)sctx->md.data)[j] + carry; 199 carry = (blocks[ 381 size_t aes_off = 0, blocks; local [all...] |
H A D | cipher_rc4_hmac_md5_hw.c | 58 size_t md5_off = MD5_CBLOCK - ctx->md.num, blocks; local 75 && (blocks = (plen - md5_off) / MD5_CBLOCK) 81 &ctx->md, in + md5_off, blocks); 82 blocks *= MD5_CBLOCK; 83 rc4_off += blocks; 84 md5_off += blocks; 85 ctx->md.Nh += blocks >> 29; 86 ctx->md.Nl += blocks <<= 3; 87 if (ctx->md.Nl < (unsigned int)blocks) 121 && (blocks [all...] |
/freebsd-current/contrib/wpa/src/crypto/ |
H A D | aes-cbc.c | 29 int i, j, blocks; local 39 blocks = data_len / AES_BLOCK_SIZE; 40 for (i = 0; i < blocks; i++) { 65 int i, j, blocks; local 75 blocks = data_len / AES_BLOCK_SIZE; 76 for (i = 0; i < blocks; i++) {
|
H A D | crypto_internal-cipher.c | 106 size_t i, j, blocks; local 119 blocks = len / AES_BLOCK_SIZE; 120 for (i = 0; i < blocks; i++) { 133 blocks = len / 8; 134 for (i = 0; i < blocks; i++) { 147 blocks = len / 8; 148 for (i = 0; i < blocks; i++) { 169 size_t i, j, blocks; local 183 blocks = len / AES_BLOCK_SIZE; 184 for (i = 0; i < blocks; [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/block_cloning/ |
H A D | block_cloning_copyfilerange_fallback.ksh | 61 typeset blocks=$(get_same_blocks $TESTPOOL file $TESTPOOL clone) 62 log_must [ "$blocks" = "0 1 2 3" ] 72 typeset blocks=$(get_same_blocks $TESTPOOL file $TESTPOOL clone) 73 log_must [ "$blocks" = "1 2 3" ] 83 typeset blocks=$(get_same_blocks $TESTPOOL file $TESTPOOL clone) 84 log_must [ "$blocks" = "1" ]
|
H A D | block_cloning_ficlonerange_partial.ksh | 53 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2) 54 log_must [ "$blocks" = "" ] 61 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2) 62 log_must [ "$blocks" = "1 2" ]
|
H A D | block_cloning_copyfilerange_partial.ksh | 57 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2) 58 log_must [ "$blocks" = "" ] 65 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2) 66 log_must [ "$blocks" = "1 2" ]
|
H A D | block_cloning_ficlone.ksh | 53 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2) 54 log_must [ "$blocks" = "0 1 2 3" ]
|
H A D | block_cloning_ficlonerange.ksh | 53 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2) 54 log_must [ "$blocks" = "0 1 2 3" ]
|
H A D | block_cloning_disabled_copyfilerange.ksh | 57 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2) 58 log_must [ "$blocks" = "" ]
|
H A D | block_cloning_copyfilerange.ksh | 57 typeset blocks=$(get_same_blocks $TESTPOOL file1 $TESTPOOL file2) 58 log_must [ "$blocks" = "0 1 2 3" ]
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_property/ |
H A D | zfs_written_property_001_pos.ksh | 58 typeset -l blocks=50 74 count=$blocks 77 ((expected_written=blocks * mb_block)) 80 ((total = total + blocks)) 81 ((blocks = blocks + 50)) 85 blocks=0 88 if [[ $blocks -eq 0 ]]; then 94 ((expected_written = blocks * mb_block)) 98 ((blocks [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmap/ |
H A D | mmap_mixed.ksh | 54 blocks=64 55 size=$((bs * blocks)) 58 log_must dd if=/dev/zero of=$tmp_file bs=$bs count=$blocks
|
/freebsd-current/crypto/openssl/crypto/modes/ |
H A D | ctr128.c | 168 size_t blocks = len / 16; local 174 if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28)) 175 blocks = (1U << 28); 180 * amount of blocks to the exact overflow point... 182 ctr32 += (u32)blocks; 183 if (ctr32 < blocks) { 184 blocks -= ctr32; 187 (*func) (in, out, blocks, key, ivec); 193 blocks *= 16; 194 len -= blocks; [all...] |
/freebsd-current/crypto/openssl/crypto/evp/ |
H A D | e_rc4_hmac_md5.c | 40 MD5_CTX *ctx, const void *inp, size_t blocks); 83 md5_off = MD5_CBLOCK - key->md.num, blocks; local 99 if (plen > md5_off && (blocks = (plen - md5_off) / MD5_CBLOCK) && 105 &key->md, in + md5_off, blocks); 106 blocks *= MD5_CBLOCK; 107 rc4_off += blocks; 108 md5_off += blocks; 109 key->md.Nh += blocks >> 29; 110 key->md.Nl += blocks <<= 3; 111 if (key->md.Nl < (unsigned int)blocks) [all...] |
H A D | e_aes_cbc_hmac_sha1.c | 59 void aesni_cbc_sha1_enc(const void *inp, void *out, size_t blocks, 63 void aesni256_cbc_sha1_dec(const void *inp, void *out, size_t blocks, 146 int blocks; member in struct:__anon3918 154 int blocks; member in struct:__anon3919 172 } blocks[8]; local 183 if (RAND_bytes((IVs = blocks[0].c), 16 * x4) <= 0) 215 memcpy(blocks[0].c, key->md.data, 8); 216 seqnum = BSWAP8(blocks[0].q[0]); 232 blocks[i].q[0] = BSWAP8(seqnum + i); 235 blocks[ 417 size_t aes_off = 0, blocks; local [all...] |
H A D | e_aes_cbc_hmac_sha256.c | 59 int aesni_cbc_sha256_enc(const void *inp, void *out, size_t blocks, 141 int blocks; member in struct:__anon3926 149 int blocks; member in struct:__anon3927 167 } blocks[8]; local 178 if (RAND_bytes((IVs = blocks[0].c), 16 * x4) <= 0) 211 memcpy(blocks[0].c, key->md.data, 8); 212 seqnum = BSWAP8(blocks[0].q[0]); 231 blocks[i].q[0] = BSWAP8(seqnum + i); 234 blocks[i].c[j] = ((u8 *)key->md.data)[j] + carry; 235 carry = (blocks[ 432 size_t aes_off = 0, blocks; local [all...] |
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | ecore_cxt_api.h | 45 u8 *blocks[MAX_TID_BLOCKS]; /* 4K */ member in struct:ecore_tid_mem
|
/freebsd-current/sys/net/route/ |
H A D | nhop_utils.c | 57 bh->blocks = _ITEMS_TO_BLOCKS(num_items); 64 if ((bh->items_count * 2 > _BLOCKS_TO_ITEMS(bh->blocks)) && bh->items_count < 65536) 65 return (_BLOCKS_TO_ITEMS(bh->blocks) * 2); 121 if (bi->blocks < new_blocks) { 122 /* extend current blocks */ 123 if (bi->blocks > 0) 124 memcpy(new_idx, bi->idx, _BLOCKS_TO_SZ(bi->blocks)); 127 /* XXX: ensure all other blocks are non-zero */ 128 for (int i = new_blocks; i < bi->blocks; i++) { 143 bh->blocks [all...] |
/freebsd-current/crypto/openssl/include/crypto/ |
H A D | cmll_platform.h | 42 size_t blocks, const CAMELLIA_KEY *key, 45 size_t blocks, const CAMELLIA_KEY *key,
|
/freebsd-current/sys/dev/usb/ |
H A D | usb_msctest.h | 50 uint8_t iface_index, uint32_t lba, uint32_t blocks, 53 uint8_t iface_index, uint32_t lba, uint32_t blocks,
|
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/ |
H A D | base_structs.h | 13 /* Next block in list of base's blocks. */ 45 /* Chain of all blocks associated with base. */ 46 base_block_t *blocks; member in struct:base_s 48 /* Heap of extents that track unused trailing space within blocks. */
|