/freebsd-current/sys/dev/dpaa2/ |
H A D | dpaa2_types.h | 72 volatile int counter; member in struct:dpaa2_atomic 125 (atomic_swap_int(&(a)->counter, (val))) 127 (atomic_load_acq_int(&(a)->counter)) 129 (atomic_add_acq_int(&(a)->counter, (val)))
|
/freebsd-current/crypto/openssl/crypto/modes/ |
H A D | ctr128.c | 22 * NOTE: the IV/counter CTR mode is big-endian. The code itself is 26 /* increment counter (128-bit int) by 1 */ 27 static void ctr128_inc(unsigned char *counter) argument 33 c += counter[n]; 34 counter[n] = (u8)c; 40 static void ctr128_inc_aligned(unsigned char *counter) argument 45 if (IS_LITTLE_ENDIAN || ((size_t)counter % sizeof(size_t)) != 0) { 46 ctr128_inc(counter); 50 data = (size_t *)counter; 63 * The input encrypted as though 128bit counter mod 138 ctr96_inc(unsigned char *counter) argument [all...] |
/freebsd-current/tools/tools/netrate/tcpconnect/ |
H A D | tcpconnect.c | 109 u_int64_t counter; local 125 counter = 0; 128 counter++; 130 printf("%ju count\n", (uintmax_t)counter); 131 printf("%ju connections/second\n", (uintmax_t)(counter / SECONDS));
|
/freebsd-current/sys/compat/linuxkpi/common/include/asm/ |
H A D | atomic.h | 36 #define ATOMIC_INIT(x) { .counter = (x) } 39 volatile int counter; member in struct:__anon1416 60 return i + atomic_fetchadd_int(&v->counter, i); 66 return atomic_fetchadd_int(&v->counter, -i) - i; 72 WRITE_ONCE(v->counter, i); 78 atomic_store_rel_int(&v->counter, i); 84 atomic_set_int(&v->counter, mask); 90 return READ_ONCE(v->counter); 96 return atomic_fetchadd_int(&v->counter, 1) + 1; 102 return atomic_fetchadd_int(&v->counter, [all...] |
/freebsd-current/sys/opencrypto/ |
H A D | gmac.c | 70 KASSERT(ivlen <= sizeof agc->counter, ("passed ivlen too large!")); 71 memset(agc->counter, 0, sizeof(agc->counter)); 72 bcopy(iv, agc->counter, ivlen); 73 agc->counter[GMAC_BLOCK_LEN - 1] = 1; 125 rijndaelEncrypt(agc->keysched, agc->rounds, agc->counter, enccntr);
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | kevent9.sh | 65 int counter = 0; 66 while (counter < NUM_PROCS) 71 ++counter; 74 printf("Reaped %d\n", counter);
|
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/ |
H A D | chacha20_dolbeau-avx2.c | 54 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 56 ctx->input[12] = counter == NULL ? 0 : LOAD32_LE(counter + 0); 57 ctx->input[13] = counter == NULL ? 0 : LOAD32_LE(counter + 4); 63 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 65 ctx->input[12] = counter == NULL ? 0 : LOAD32_LE(counter);
|
H A D | chacha20_dolbeau-ssse3.c | 49 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 51 ctx->input[12] = counter == NULL ? 0 : LOAD32_LE(counter + 0); 52 ctx->input[13] = counter == NULL ? 0 : LOAD32_LE(counter + 4); 58 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 60 ctx->input[12] = counter == NULL ? 0 : LOAD32_LE(counter);
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_get/ |
H A D | zfs_get_common.kshlib | 31 # the number of $counter combination. 36 # $4 counter is the number of combination which you want to get. 38 function gen_option_str # $elements $prefix $separator $counter 43 typeset -i counter=${4:-0} 59 while (( i < counter )); do
|
/freebsd-current/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | WorkList.h | 29 BlockCounter counter; member in class:clang::ento::WorkListUnit 37 counter(C), 43 counter(C), 50 /// Returns the block counter map associated with the worklist unit. 51 BlockCounter getBlockCounter() const { return counter; }
|
/freebsd-current/contrib/ntp/libntp/lib/isc/win32/ |
H A D | once.c | 36 if (InterlockedDecrement(&controller->counter) == 0) {
|
/freebsd-current/tools/regression/sockets/unix_close_race/ |
H A D | unix_close_race.c | 65 u_int counter, ncpus; local 109 for (counter = 0; counter < LOOPS; counter++) {
|
/freebsd-current/sys/netinet6/ |
H A D | raw_ip6.h | 52 #include <sys/counter.h>
|
/freebsd-current/cddl/usr.sbin/dtrace/tests/common/docsExamples/ |
H A D | Makefile | 10 counter.d \
|
/freebsd-current/crypto/openssl/crypto/evp/ |
H A D | e_chacha20_poly1305.c | 27 unsigned int counter[CHACHA_CTR_SIZE / 4]; member in struct:__anon3940 50 key->counter[i/4] = CHACHA_U8TOU32(iv+i); 76 key->counter[0]++; 77 if (key->counter[0] == 0) 78 key->counter[1]++; 84 ctr32 = key->counter[0]; 96 * As ChaCha20_ctr32 operates on 32-bit counter, caller 107 ChaCha20_ctr32(out, inp, blocks, key->key.d, key->counter); 112 key->counter[0] = ctr32; 113 if (ctr32 == 0) key->counter[ [all...] |
/freebsd-current/contrib/wpa/src/crypto/ |
H A D | sha512-prf.c | 58 u16 counter = 1; local 79 WPA_PUT_LE16(counter_le, counter); 93 counter++;
|
H A D | sha384-prf.c | 58 u16 counter = 1; local 79 WPA_PUT_LE16(counter_le, counter); 93 counter++;
|
H A D | sha1-tprf.c | 32 unsigned char counter = 0; local 48 addr[4] = &counter; 55 counter++;
|
H A D | sha256-prf.c | 58 u16 counter = 1; local 79 WPA_PUT_LE16(counter_le, counter); 93 counter++;
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/BLAKE3/ |
H A D | blake3_portable.c | 39 uint8_t block_len, uint64_t counter, uint8_t flags) { 70 state[12] = counter_low(counter); 71 state[13] = counter_high(counter); 86 uint8_t block_len, uint64_t counter, 89 compress_pre(state, cv, block, block_len, counter, flags); 102 uint8_t block_len, uint64_t counter, 105 compress_pre(state, cv, block, block_len, counter, flags); 126 const uint32_t key[8], uint64_t counter, 136 blake3_compress_in_place_portable(cv, input, BLAKE3_BLOCK_LEN, counter, 147 uint64_t counter, boo 37 compress_pre(uint32_t state[16], const uint32_t cv[8], const uint8_t block[BLAKE3_BLOCK_LEN], uint8_t block_len, uint64_t counter, uint8_t flags) argument 84 blake3_compress_in_place_portable(uint32_t cv[8], const uint8_t block[BLAKE3_BLOCK_LEN], uint8_t block_len, uint64_t counter, uint8_t flags) argument 100 blake3_compress_xof_portable(const uint32_t cv[8], const uint8_t block[BLAKE3_BLOCK_LEN], uint8_t block_len, uint64_t counter, uint8_t flags, uint8_t out[64]) argument 125 hash_one_portable(const uint8_t *input, size_t blocks, const uint32_t key[8], uint64_t counter, uint8_t flags, uint8_t flags_start, uint8_t flags_end, uint8_t out[BLAKE3_OUT_LEN]) argument 145 blake3_hash_many_portable(const uint8_t *const *inputs, size_t num_inputs, size_t blocks, const uint32_t key[8], uint64_t counter, bool increment_counter, uint8_t flags, uint8_t flags_start, uint8_t flags_end, uint8_t *out) argument [all...] |
/freebsd-current/sys/contrib/openzfs/module/icp/algs/blake3/ |
H A D | blake3_generic.c | 67 uint64_t counter, uint8_t flags) 99 state[12] = counter_low(counter); 100 state[13] = counter_high(counter); 115 uint64_t counter, uint8_t flags) 118 compress_pre(state, cv, block, block_len, counter, flags); 130 const uint32_t key[8], uint64_t counter, uint8_t flags, 141 counter, block_flags); 151 uint64_t counter, uint8_t flags, uint8_t out[64]) 154 compress_pre(state, cv, block, block_len, counter, flags); 175 size_t num_inputs, size_t blocks, const uint32_t key[8], uint64_t counter, 65 compress_pre(uint32_t state[16], const uint32_t cv[8], const uint8_t block[BLAKE3_BLOCK_LEN], uint8_t block_len, uint64_t counter, uint8_t flags) argument 113 blake3_compress_in_place_generic(uint32_t cv[8], const uint8_t block[BLAKE3_BLOCK_LEN], uint8_t block_len, uint64_t counter, uint8_t flags) argument 129 hash_one_generic(const uint8_t *input, size_t blocks, const uint32_t key[8], uint64_t counter, uint8_t flags, uint8_t flags_start, uint8_t flags_end, uint8_t out[BLAKE3_OUT_LEN]) argument 149 blake3_compress_xof_generic(const uint32_t cv[8], const uint8_t block[BLAKE3_BLOCK_LEN], uint8_t block_len, uint64_t counter, uint8_t flags, uint8_t out[64]) argument 174 blake3_hash_many_generic(const uint8_t * const *inputs, size_t num_inputs, size_t blocks, const uint32_t key[8], uint64_t counter, boolean_t increment_counter, uint8_t flags, uint8_t flags_start, uint8_t flags_end, uint8_t *out) argument [all...] |
/freebsd-current/contrib/wpa/src/eap_common/ |
H A D | eap_pax_common.c | 36 u8 counter, *pos; local 53 addr[2] = &counter; 58 for (counter = 1; counter <= (u8) num_blocks; counter++) {
|
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_stream/salsa20/xmm6int/ |
H A D | salsa20_xmm6int-avx2.c | 57 salsa_ivsetup(salsa_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 61 ctx->input[TR[8]] = counter == NULL ? 0 : LOAD32_LE(counter + 0); 62 ctx->input[TR[9]] = counter == NULL ? 0 : LOAD32_LE(counter + 4);
|
H A D | salsa20_xmm6int-sse2.c | 49 salsa_ivsetup(salsa_ctx *ctx, const uint8_t *iv, const uint8_t *counter) argument 53 ctx->input[TR[8]] = counter == NULL ? 0 : LOAD32_LE(counter + 0); 54 ctx->input[TR[9]] = counter == NULL ? 0 : LOAD32_LE(counter + 4);
|
/freebsd-current/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | CommandHistory.cpp | 99 for (size_t counter = start_idx; counter < stop_idx; counter++) { 100 const std::string hist_item = m_history[counter]; 103 stream.Printf("%4" PRIu64 ": %s\n", (uint64_t)counter, hist_item.c_str());
|