| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | e_aes_cbc_hmac_sha1.c | 57 void aesni_cbc_sha1_enc(const void *inp, void *out, size_t blocks, 61 void aesni256_cbc_sha1_dec(const void *inp, void *out, size_t blocks, 145 int blocks; 153 int blocks; 171 } blocks[8]; in tls1_1_multi_block_encrypt() 181 if (RAND_bytes((IVs = blocks[0].c), 16 * x4) <= 0) in tls1_1_multi_block_encrypt() 213 memcpy(blocks[0].c, key->md.data, 8); in tls1_1_multi_block_encrypt() 214 seqnum = BSWAP8(blocks[0].q[0]); in tls1_1_multi_block_encrypt() 230 blocks[i].q[0] = BSWAP8(seqnum + i); in tls1_1_multi_block_encrypt() 233 blocks[ in tls1_1_multi_block_encrypt() 147 int blocks; global() member 155 int blocks; global() member 173 } blocks[8]; tls1_1_multi_block_encrypt() local 418 size_t aes_off = 0, blocks; aesni_cbc_hmac_sha1_cipher() local [all...] |
| H A D | e_aes_cbc_hmac_sha256.c | 57 int aesni_cbc_sha256_enc(const void *inp, void *out, size_t blocks, 139 int blocks; 147 int blocks; 165 } blocks[8]; in tls1_1_multi_block_encrypt() 175 if (RAND_bytes((IVs = blocks[0].c), 16 * x4) <= 0) in tls1_1_multi_block_encrypt() 208 memcpy(blocks[0].c, key->md.data, 8); in tls1_1_multi_block_encrypt() 209 seqnum = BSWAP8(blocks[0].q[0]); in tls1_1_multi_block_encrypt() 228 blocks[i].q[0] = BSWAP8(seqnum + i); in tls1_1_multi_block_encrypt() 231 blocks[i].c[j] = ((u8 *)key->md.data)[j] + carry; in tls1_1_multi_block_encrypt() 232 carry = (blocks[ in tls1_1_multi_block_encrypt() 141 int blocks; global() member 149 int blocks; global() member 167 } blocks[8]; tls1_1_multi_block_encrypt() local 432 size_t aes_off = 0, blocks; aesni_cbc_hmac_sha256_cipher() local [all...] |
| H A D | e_rc4_hmac_md5.c | 40 MD5_CTX *ctx, const void *inp, size_t blocks); 81 md5_off = MD5_CBLOCK - key->md.num, blocks; in rc4_hmac_md5_cipher() 97 if (plen > md5_off && (blocks = (plen - md5_off) / MD5_CBLOCK) && (OPENSSL_ia32cap_P[0] & (1 << 20)) == 0) { in rc4_hmac_md5_cipher() 102 &key->md, in + md5_off, blocks); in rc4_hmac_md5_cipher() 103 blocks *= MD5_CBLOCK; in rc4_hmac_md5_cipher() 104 rc4_off += blocks; in rc4_hmac_md5_cipher() 105 md5_off += blocks; in rc4_hmac_md5_cipher() 106 key->md.Nh += blocks >> 29; in rc4_hmac_md5_cipher() 107 key->md.Nl += blocks <<= 3; in rc4_hmac_md5_cipher() 108 if (key->md.Nl < (unsigned int)blocks) in rc4_hmac_md5_cipher() 83 md5_off = MD5_CBLOCK - key->md.num, blocks; rc4_hmac_md5_cipher() local [all...] |
| /freebsd/contrib/xz/src/liblzma/common/ |
| H A D | index_hash.c | 48 lzma_index_hash_info blocks; member 82 index_hash->blocks.blocks_size = 0; in lzma_index_hash_init() 83 index_hash->blocks.uncompressed_size = 0; in lzma_index_hash_init() 84 index_hash->blocks.count = 0; in lzma_index_hash_init() 85 index_hash->blocks.index_list_size = 0; in lzma_index_hash_init() 96 (void)lzma_check_init(&index_hash->blocks.check, LZMA_CHECK_BEST); in lzma_index_hash_init() 118 return index_size(index_hash->blocks.count, in lzma_index_hash_size() 119 index_hash->blocks.index_list_size); in lzma_index_hash_size() 154 hash_append(&index_hash->blocks, unpadded_size, uncompressed_size); in lzma_index_hash_append() 157 if (index_hash->blocks.blocks_size > LZMA_VLI_MAX in lzma_index_hash_append() [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_property/ |
| H A D | zfs_written_property_001_pos.ksh | 59 typeset -l blocks=50 75 count=$blocks 78 ((expected_written=blocks * mb_block)) 81 ((total = total + blocks)) 82 ((blocks = blocks + 50)) 86 blocks=0 89 if [[ $blocks -eq 0 ]]; then 95 ((expected_written = blocks * mb_block)) 99 ((blocks = blocks + 50)) 107 blocks=50 [all …]
|
| /freebsd/crypto/openssl/providers/implementations/ciphers/ |
| 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 114 int blocks; member 135 } blocks[8]; in tls1_multi_block_encrypt() local 146 if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4, 0) <= 0) in tls1_multi_block_encrypt() 178 memcpy(blocks[0].c, sctx->md.data, 8); in tls1_multi_block_encrypt() 179 seqnum = BSWAP8(blocks[0].q[0]); in tls1_multi_block_encrypt() 195 blocks[i].q[0] = BSWAP8(seqnum + i); in tls1_multi_block_encrypt() 198 blocks[i].c[j] = ((u8 *)sctx->md.data)[j] + carry; in tls1_multi_block_encrypt() 199 carry = (blocks[ in tls1_multi_block_encrypt() 381 size_t aes_off = 0, blocks; aesni_cbc_hmac_sha1_cipher() local [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 118 int blocks; member 139 } blocks[8]; in tls1_multi_block_encrypt() local 150 if (RAND_bytes_ex(ctx->base.libctx, (IVs = blocks[0].c), 16 * x4, 0) <= 0) in tls1_multi_block_encrypt() 182 memcpy(blocks[0].c, sctx->md.data, 8); in tls1_multi_block_encrypt() 183 seqnum = BSWAP8(blocks[0].q[0]); in tls1_multi_block_encrypt() 203 blocks[i].q[0] = BSWAP8(seqnum + i); in tls1_multi_block_encrypt() 206 blocks[i].c[j] = ((u8 *)sctx->md.data)[j] + carry; in tls1_multi_block_encrypt() 207 carry = (blocks[ in tls1_multi_block_encrypt() 404 size_t aes_off = 0, blocks; aesni_cbc_hmac_sha256_cipher() local [all...] |
| H A D | cipher_chacha20_hw.c | 70 size_t blocks = inl / CHACHA_BLK_SIZE; in chacha20_cipher() local 77 if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28)) in chacha20_cipher() 78 blocks = (1U << 28); in chacha20_cipher() 84 * amount of blocks to the exact overflow point... in chacha20_cipher() 86 ctr32 += (unsigned int)blocks; in chacha20_cipher() 87 if (ctr32 < blocks) { in chacha20_cipher() 88 blocks -= ctr32; in chacha20_cipher() 91 blocks *= CHACHA_BLK_SIZE; in chacha20_cipher() 92 ChaCha20_ctr32(out, in, blocks, ctx->key.d, ctx->counter); in chacha20_cipher() 93 inl -= blocks; in chacha20_cipher() [all...] |
| H A D | cipher_rc4_hmac_md5_hw.c | 58 size_t md5_off = MD5_CBLOCK - ctx->md.num, blocks; in cipher_hw_rc4_hmac_md5_cipher() local 75 && (blocks = (plen - md5_off) / MD5_CBLOCK) in cipher_hw_rc4_hmac_md5_cipher() 81 &ctx->md, in + md5_off, blocks); in cipher_hw_rc4_hmac_md5_cipher() 82 blocks *= MD5_CBLOCK; in cipher_hw_rc4_hmac_md5_cipher() 83 rc4_off += blocks; in cipher_hw_rc4_hmac_md5_cipher() 84 md5_off += blocks; in cipher_hw_rc4_hmac_md5_cipher() 85 ctx->md.Nh += blocks >> 29; in cipher_hw_rc4_hmac_md5_cipher() 86 ctx->md.Nl += blocks <<= 3; in cipher_hw_rc4_hmac_md5_cipher() 87 if (ctx->md.Nl < (unsigned int)blocks) in cipher_hw_rc4_hmac_md5_cipher() 121 && (blocks in cipher_hw_rc4_hmac_md5_cipher() [all...] |
| /freebsd/crypto/openssl/crypto/ml_dsa/ |
| H A D | ml_dsa_sample.c | 120 uint8_t blocks[SHAKE128_BLOCKSIZE], *b, *end = blocks + sizeof(blocks); in rej_ntt_poly() local 126 if (!shake_xof(g_ctx, md, seed, seed_len, blocks, sizeof(blocks))) in rej_ntt_poly() 130 for (b = blocks; b < end; b += 3) { in rej_ntt_poly() 136 if (!EVP_DigestSqueeze(g_ctx, blocks, sizeof(blocks))) in rej_ntt_poly() 164 uint8_t blocks[SHAKE256_BLOCKSIZE], *b, *end = blocks in rej_bounded_poly() local [all...] |
| /freebsd/crypto/openssl/crypto/modes/ |
| H A D | ctr128.c | 168 size_t blocks = len / 16; in CRYPTO_ctr128_encrypt_ctr32() local 174 if (sizeof(size_t) > sizeof(unsigned int) && blocks > (1U << 28)) in CRYPTO_ctr128_encrypt_ctr32() 175 blocks = (1U << 28); in CRYPTO_ctr128_encrypt_ctr32() 180 * amount of blocks to the exact overflow point... in CRYPTO_ctr128_encrypt_ctr32() 182 ctr32 += (u32)blocks; in CRYPTO_ctr128_encrypt_ctr32() 183 if (ctr32 < blocks) { in CRYPTO_ctr128_encrypt_ctr32() 184 blocks -= ctr32; in CRYPTO_ctr128_encrypt_ctr32() 187 (*func)(in, out, blocks, key, ivec); in CRYPTO_ctr128_encrypt_ctr32() 193 blocks *= 16; in CRYPTO_ctr128_encrypt_ctr32() 194 len -= blocks; in CRYPTO_ctr128_encrypt_ctr32() [all...] |
| /freebsd/sys/net/route/ |
| H A D | nhop_utils.c | 57 bh->blocks = _ITEMS_TO_BLOCKS(num_items); in bitmask_init() 64 if ((bh->items_count * 2 > _BLOCKS_TO_ITEMS(bh->blocks)) && bh->items_count < 65536) in bitmask_get_resize_items() 65 return (_BLOCKS_TO_ITEMS(bh->blocks) * 2); in bitmask_get_resize_items() 121 if (bi->blocks < new_blocks) { in bitmask_copy() 123 if (bi->blocks > 0) in bitmask_copy() 124 memcpy(new_idx, bi->idx, _BLOCKS_TO_SZ(bi->blocks)); in bitmask_copy() 128 for (int i = new_blocks; i < bi->blocks; i++) { in bitmask_copy() 143 bh->blocks = _ITEMS_TO_BLOCKS(new_items); in bitmask_swap() 162 for (i = off; i < bi->blocks; i++, mask++) { in bitmask_alloc_idx() 197 if (i >= bi->blocks) in bitmask_free_idx()
|
| /freebsd/contrib/bsddialog/examples_library/ |
| H A D | slider.c | 17 unsigned long start, end, blocks[2][2]; in main() local 22 blocks[0][0] = 5; in main() 23 blocks[0][1] = 10; in main() 24 blocks[1][0] = 80; in main() 25 blocks[1][1] = 90; in main() 35 &end, false, 2, blocks); in main()
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | crypto_internal-cipher.c | 106 size_t i, j, blocks; in crypto_cipher_encrypt() local 119 blocks = len / AES_BLOCK_SIZE; in crypto_cipher_encrypt() 120 for (i = 0; i < blocks; i++) { in crypto_cipher_encrypt() 133 blocks = len / 8; in crypto_cipher_encrypt() 134 for (i = 0; i < blocks; i++) { in crypto_cipher_encrypt() 147 blocks = len / 8; in crypto_cipher_encrypt() 148 for (i = 0; i < blocks; i++) { in crypto_cipher_encrypt() 169 size_t i, j, blocks; in crypto_cipher_decrypt() local 183 blocks = len / AES_BLOCK_SIZE; in crypto_cipher_decrypt() 184 for (i = 0; i < blocks; i++) { in crypto_cipher_decrypt() [all …]
|
| H A D | aes-cbc.c | 29 int i, j, blocks; in aes_128_cbc_encrypt() local 39 blocks = data_len / AES_BLOCK_SIZE; in aes_128_cbc_encrypt() 40 for (i = 0; i < blocks; i++) { in aes_128_cbc_encrypt() 65 int i, j, blocks; in aes_128_cbc_decrypt() local 75 blocks = data_len / AES_BLOCK_SIZE; in aes_128_cbc_decrypt() 76 for (i = 0; i < blocks; i++) { in aes_128_cbc_decrypt()
|
| /freebsd/sys/contrib/device-tree/Bindings/sifive/ |
| H A D | sifive-blocks-ip-versioning.txt | 1 DT compatible string versioning for SiFive open-source IP blocks 4 strings for open-source SiFive IP blocks. HDL for these IP blocks 7 https://github.com/sifive/sifive-blocks 14 https://github.com/sifive/sifive-blocks/blob/v1.0/src/main/scala/devices/uart/UART.scala#L43 16 Until these IP blocks (or IP integration) support version 17 auto-discovery, the maintainers of these IP blocks intend to increment 19 interface to these IP blocks changes, or when the functionality of the 20 underlying IP blocks changes in a way that software should be aware of. 25 upstream sifive-blocks commits. It is expected that most drivers will
|
| /freebsd/crypto/openssl/crypto/sm4/asm/ |
| H A D | vpsm4-armv8.pl | 38 my ($inp,$outp,$blocks,$rks)=("x0","x1","w2","x3"); 767 cmp $blocks,#8 784 subs $blocks,$blocks,#8 788 cmp $blocks,#4 799 sub $blocks,$blocks,#4 802 cmp $blocks,#1 815 cmp $blocks,#2 869 cmp $blocks,#4 899 subs $blocks,$blocks,#4 903 subs $blocks,$blocks,#1 [all …]
|
| H A D | vpsm4_ex-armv8.pl | 41 my ($inp,$outp,$blocks,$rks)=("x0","x1","w2","x3"); 754 // convert length into blocks 765 cmp $blocks,#8 782 subs $blocks,$blocks,#8 786 cmp $blocks,#4 797 sub $blocks,$blocks,#4 800 cmp $blocks,#1 810 1: // process last 2 blocks [all...] |
| /freebsd/tools/diag/prtblknos/ |
| H A D | README | 3 of blocks used by a requested list of inodes. 5 For example, to list the blocks referenced by your kernel: 8 Filesystem 1K-blocks Used Avail Capacity Mounted on 24 Each contiguous range of blocks is printed on a line. 26 previous set of blocks to the beginning of the next set of blocks. 30 size blocks which by today's default is 32Kb. 35 physical block numbers reference 4Kb blocks. The distances listed 43 half the block size (say 32Kb blocks with 16Kb fragments) then the
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/block_cloning/ |
| H A D | block_cloning_copyfilerange_fallback.ksh | 58 typeset blocks=$(get_same_blocks $TESTPOOL file $TESTPOOL clone) 59 log_must [ "$blocks" = "0 1 2 3" ] 69 typeset blocks=$(get_same_blocks $TESTPOOL file $TESTPOOL clone) 70 log_must [ "$blocks" = "1 2 3" ] 80 typeset blocks=$(get_same_blocks $TESTPOOL file $TESTPOOL clone) 81 log_must [ "$blocks" = "1" ]
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | GCOV.cpp | 58 SmallVector<const GCOVBlock *, 1> blocks; member 149 fn->blocks.push_back(std::make_unique<GCOVBlock>(i)); in readGCNO() 154 fn->blocks.push_back(std::make_unique<GCOVBlock>(i)); in readGCNO() 158 if (srcNo >= fn->blocks.size()) { in readGCNO() 160 << fn->blocks.size() << ")\n"; in readGCNO() 163 GCOVBlock *src = fn->blocks[srcNo].get(); in readGCNO() 168 GCOVBlock *dst = fn->blocks[dstNo].get(); in readGCNO() 179 if (srcNo >= fn->blocks.size()) { in readGCNO() 181 << fn->blocks.size() << ")\n"; in readGCNO() 184 GCOVBlock &Block = *fn->blocks[srcNo]; in readGCNO() [all …]
|
| /freebsd/contrib/libxo/doc/ |
| H A D | formatting.rst | 92 xo_emit("{:blocks/%d}\t{:path/%s}\n", num_blocks, path); 107 <blocks>36</blocks> 111 <blocks>40</blocks> 115 <blocks>90</blocks> 133 { "blocks": 36, "path" : "./src" }, 134 { "blocks": 40, "path" : "./bin" }, 135 { "blocks": 90, "path" : "./" } 152 <div class="data" data-tag="blocks">36</div> 157 <div class="data" data-tag="blocks">40</div> 162 <div class="data" data-tag="blocks">90</div>
|
| /freebsd/sys/contrib/openzfs/module/icp/algs/blake3/ |
| H A D | blake3_impl.c | 50 size_t num_inputs, size_t blocks, const uint32_t key[8], 73 size_t num_inputs, size_t blocks, const uint32_t key[8], in blake3_hash_many_sse2() argument 77 zfs_blake3_hash_many_sse2(inputs, num_inputs, blocks, key, counter, in blake3_hash_many_sse2() 114 size_t num_inputs, size_t blocks, const uint32_t key[8], 137 size_t num_inputs, size_t blocks, const uint32_t key[8], in blake3_hash_many_sse41() argument 141 zfs_blake3_hash_many_sse41(inputs, num_inputs, blocks, key, counter, in blake3_hash_many_sse41() 169 size_t num_inputs, size_t blocks, const uint32_t key[8], 174 size_t num_inputs, size_t blocks, const uint32_t key[8], in blake3_hash_many_avx2() argument 178 zfs_blake3_hash_many_avx2(inputs, num_inputs, blocks, key, counter, in blake3_hash_many_avx2() 210 size_t num_inputs, size_t blocks, const uint32_t key[8], [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | write.sh | 104 off_t blocks; 139 for (i = 0; i < t[indx].blocks; i++) { 183 t[i].blocks = 2LL << (arc4random() % 18); 184 if (t[i].blocks * t[i].blocksize > MAXSIZ) 185 t[i].blocks = MAXSIZ / t[i].blocksize; 190 t[i].maxdelay, (long long)t[i].blocks, 191 (long long)t[i].blocksize * t[i].blocks / 1024 / 1024);
|
| /freebsd/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | hash.h | 84 const uint32_t *blocks = (const uint32_t *) (data + nblocks*4); in hash_x86_32() local 88 uint32_t k1 = hash_get_block_32(blocks, i); in hash_x86_32() 140 const uint32_t *blocks = (const uint32_t *) (data + nblocks*16); in hash_x86_128() local 144 uint32_t k1 = hash_get_block_32(blocks, i*4 + 0); in hash_x86_128() 145 uint32_t k2 = hash_get_block_32(blocks, i*4 + 1); in hash_x86_128() 146 uint32_t k3 = hash_get_block_32(blocks, i*4 + 2); in hash_x86_128() 147 uint32_t k4 = hash_get_block_32(blocks, i*4 + 3); in hash_x86_128() 238 const uint64_t *blocks = (const uint64_t *) (data); in hash_x64_128() local 242 uint64_t k1 = hash_get_block_64(blocks, i*2 + 0); in hash_x64_128() 243 uint64_t k2 = hash_get_block_64(blocks, in hash_x64_128() [all...] |