| /dflybsd-src/crypto/libressl/crypto/modes/ |
| H A D | gcm128.c | 753 unsigned int ctr; local 770 ctr=1; 808 ctr = BSWAP4(ctx->Yi.d[3]); 810 ctr = GETU32(ctx->Yi.c+12); 813 ctr = ctx->Yi.d[3]; 818 ++ctr; 821 ctx->Yi.d[3] = BSWAP4(ctr); 823 PUTU32(ctx->Yi.c+12,ctr); 826 ctx->Yi.d[3] = ctr; 891 unsigned int n, ctr; local [all …]
|
| /dflybsd-src/crypto/libressl/crypto/ecdh/ |
| H A D | ecdh_kdf.c | 74 unsigned char ctr[4]; in ecdh_KDF_X9_63() local 88 ctr[3] = i & 0xFF; in ecdh_KDF_X9_63() 89 ctr[2] = (i >> 8) & 0xFF; in ecdh_KDF_X9_63() 90 ctr[1] = (i >> 16) & 0xFF; in ecdh_KDF_X9_63() 91 ctr[0] = (i >> 24) & 0xFF; in ecdh_KDF_X9_63() 94 if (!EVP_DigestUpdate(mctx, ctr, sizeof(ctr))) in ecdh_KDF_X9_63()
|
| /dflybsd-src/crypto/openssh/ |
| H A D | cipher-aesctr.c | 33 aesctr_inc(u8 *ctr, u32 len) in aesctr_inc() argument 39 if (++ctr[i]) /* continue on overflow */ in aesctr_inc() 45 ctr[i] += add; in aesctr_inc() 47 x = ctr[i]; in aesctr_inc() 65 memcpy(x->ctr, iv, AES_BLOCK_SIZE); in aesctr_ivsetup() 76 rijndaelEncrypt(x->ek, x->rounds, x->ctr, buf); in aesctr_encrypt_bytes() 77 aesctr_inc(x->ctr, AES_BLOCK_SIZE); in aesctr_encrypt_bytes()
|
| H A D | ssh_config | 37 # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
|
| H A D | progressmeter.c | 248 start_progress_meter(const char *f, off_t filesize, off_t *ctr) in start_progress_meter() argument 252 start_pos = *ctr; in start_progress_meter() 255 counter = ctr; in start_progress_meter()
|
| H A D | xmss_wots.c | 57 unsigned char ctr[32]; in expand_seed() local 59 to_byte(ctr, i, 32); in expand_seed() 60 prf((outseeds + (i*params->n)), ctr, inseed, params->n); in expand_seed()
|
| H A D | cipher-aesctr.h | 28 u8 ctr[AES_BLOCK_SIZE]; /* counter */ member
|
| H A D | chacha.h | 27 void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv, const u_char *ctr)
|
| H A D | cipher.c | 451 if (len != sizeof(cc->ac_ctx.ctr)) in cipher_get_keyiv() 453 memcpy(iv, cc->ac_ctx.ctr, len); in cipher_get_keyiv()
|
| /dflybsd-src/contrib/wpa_supplicant/src/eap_common/ |
| H A D | eap_pwd_common.c | 50 u16 i, ctr, L; in eap_pwd_kdf() local 54 ctr = 0; in eap_pwd_kdf() 57 ctr++; in eap_pwd_kdf() 58 i = htons(ctr); in eap_pwd_kdf() 63 if (ctr > 1) in eap_pwd_kdf() 132 unsigned char pwe_digest[SHA256_MAC_LEN], *prfbuf = NULL, ctr; in compute_password_element() local 175 ctr = 0; in compute_password_element() 182 while (ctr < 40) { in compute_password_element() 183 ctr++; in compute_password_element() 197 eap_pwd_h_update(hash, &ctr, sizeof(ctr)); in compute_password_element() [all …]
|
| /dflybsd-src/contrib/gcc-4.7/gcc/ |
| H A D | coverage.c | 73 unsigned ctr; member 150 return entry->ident * GCOV_COUNTERS + entry->ctr; in htab_counts_entry_hash() 159 return entry1->ident == entry2->ident && entry1->ctr == entry2->ctr; in htab_counts_entry_eq() 257 elt.ctr = GCOV_COUNTER_FOR_TAG (tag); in read_counts_file() 266 entry->ctr = elt.ctr; in read_counts_file() 269 entry->summary = summary.ctrs[elt.ctr]; in read_counts_file() 290 else if (elt.ctr >= GCOV_COUNTERS_SUMMABLE) in read_counts_file() 293 ctr_names[elt.ctr], fn_ident); in read_counts_file() 298 entry->summary.runs += summary.ctrs[elt.ctr].runs; in read_counts_file() 299 entry->summary.sum_all += summary.ctrs[elt.ctr].sum_all; in read_counts_file() [all …]
|
| H A D | tree-ssa-loop-niter.c | 500 unsigned ctr = tree_floor_log2 (mask); in inverse() local 514 for (; ctr; ctr--) in inverse() 526 for (; ctr; ctr--) in inverse()
|
| /dflybsd-src/contrib/gcc-4.7/libobjc/objc-private/ |
| H A D | hash.h | 169 unsigned int ctr = 0; in objc_hash_string() local 173 ret ^= *ckey++ << ctr; in objc_hash_string() 174 ctr = (ctr + 1) % sizeof (void *); in objc_hash_string()
|
| /dflybsd-src/crypto/libressl/crypto/evp/ |
| H A D | e_chacha20poly1305.c | 134 uint64_t ctr; in aead_chacha20_poly1305_seal() local 146 ctr = (uint64_t)((uint32_t)(nonce[0]) | (uint32_t)(nonce[1]) << 8 | in aead_chacha20_poly1305_seal() 152 sizeof(poly1305_key), c20_ctx->key, iv, ctr); in aead_chacha20_poly1305_seal() 156 CRYPTO_chacha_20(out, in, in_len, c20_ctx->key, iv, ctr + 1); in aead_chacha20_poly1305_seal() 186 uint64_t ctr = 0; in aead_chacha20_poly1305_open() local 205 ctr = (uint64_t)((uint32_t)(nonce[0]) | (uint32_t)(nonce[1]) << 8 | in aead_chacha20_poly1305_open() 211 sizeof(poly1305_key), c20_ctx->key, iv, ctr); in aead_chacha20_poly1305_open() 226 CRYPTO_chacha_20(out, in, plaintext_len, c20_ctx->key, iv, ctr + 1); in aead_chacha20_poly1305_open() 447 uint64_t ctr; in chacha20_poly1305_cipher() local 449 ctr = (uint64_t)((uint32_t)(cpx->nonce[0]) | in chacha20_poly1305_cipher() [all …]
|
| H A D | e_aes.c | 71 ctr128_f ctr; member 85 ctr128_f ctr; member 223 dat->stream.ctr = (ctr128_f)aesni_ctr32_encrypt_blocks; in aesni_init_key() 272 gctx->ctr = (ctr128_f)aesni_ctr32_encrypt_blocks; in aesni_gcm_init_key() 397 dat->stream.ctr = (ctr128_f)bsaes_ctr32_encrypt_blocks; in aes_init_key() 417 dat->stream.ctr = (ctr128_f)AES_ctr32_encrypt; in aes_init_key() 531 if (dat->stream.ctr) in aes_ctr_cipher() 533 ctx->iv, ctx->buf, &num, dat->stream.ctr); in aes_ctr_cipher() 1467 gctx->ctr = aes_gcm_set_key(&gctx->ks, &gctx->gcm, in aes_gcm_init_key() 1528 if (gctx->ctr) { in aes_gcm_tls_cipher() [all …]
|
| /dflybsd-src/contrib/gcc-8.0/gcc/ |
| H A D | coverage.c | 70 unsigned ctr; member 163 return entry->ident * GCOV_COUNTERS + entry->ctr; in hash() 169 return entry1->ident == entry2->ident && entry1->ctr == entry2->ctr; in equal() 274 elt.ctr = GCOV_COUNTER_FOR_TAG (tag); in read_counts_file() 282 entry->ctr = elt.ctr; in read_counts_file() 285 if (elt.ctr < GCOV_COUNTERS_SUMMABLE) in read_counts_file() 286 entry->summary = summary.ctrs[elt.ctr]; in read_counts_file() 309 else if (elt.ctr >= GCOV_COUNTERS_SUMMABLE) in read_counts_file() 312 ctr_names[elt.ctr], fn_ident); in read_counts_file() 317 entry->summary.runs += summary.ctrs[elt.ctr].runs; in read_counts_file() [all …]
|
| H A D | tree-ssa-loop-niter.c | 840 unsigned ctr = tree_floor_log2 (mask); in inverse() local 854 for (; ctr; ctr--) in inverse() 866 for (; ctr; ctr--) in inverse()
|
| H A D | internal-fn.c | 282 rtx ctr = expand_normal (gimple_call_arg (stmt, 0)); in expand_GOMP_SIMT_ORDERED_PRED() local 286 create_input_operand (&ops[1], ctr, mode); in expand_GOMP_SIMT_ORDERED_PRED()
|
| /dflybsd-src/sys/dev/misc/pcfclock/ |
| H A D | pcfclock.c | 85 ctr = (ctr & ~(AUTOFEED)) ^ (val); ppb_wctr(ppbus, ctr) 184 unsigned char ctr = 14; in pcfclock_write_cmd() local
|
| /dflybsd-src/crypto/libressl/crypto/hkdf/ |
| H A D | hkdf.c | 92 uint8_t ctr = i + 1; in HKDF_expand() local 100 !HMAC_Update(&hmac, &ctr, 1) || in HKDF_expand()
|
| /dflybsd-src/sys/dev/misc/ppc/ |
| H A D | ppc.c | 187 char ctr_sav, ctr, cc; in ppc_detect_fifo() local 207 ctr = r_ctr(ppc); in ppc_detect_fifo() 208 w_ctr(ppc, ctr | PCD); /* set direction to 1 */ in ppc_detect_fifo() 249 w_ctr(ppc, ctr & ~PCD); /* set direction to 0 */ in ppc_detect_fifo() 1558 u_char ctr, ecr, str; in ppcintr() local 1561 ctr = r_ctr(ppc); in ppcintr() 1565 kprintf("![%x/%x/%x]", ctr, ecr, str); in ppcintr() 1569 if (ctr & IRQENABLE) { in ppcintr() 1645 char ecr, ecr_sav, ctr, ctr_sav; in ppc_write() local 1669 ctr = r_ctr(ppc); in ppc_write() [all …]
|
| /dflybsd-src/usr.sbin/802_11/ |
| H A D | Makefile.crypto | 56 SRCS+= aes-ctr.c
|
| /dflybsd-src/crypto/libressl/include/openssl/ |
| H A D | modes.h | 46 unsigned int *num, ctr128_f ctr);
|
| /dflybsd-src/contrib/wpa_supplicant/src/ap/ |
| H A D | wpa_auth.c | 762 static int wpa_replay_counter_valid(struct wpa_key_replay_counter *ctr, in wpa_replay_counter_valid() argument 767 if (!ctr[i].valid) in wpa_replay_counter_valid() 769 if (os_memcmp(replay_counter, ctr[i].counter, in wpa_replay_counter_valid() 777 static void wpa_replay_counter_mark_invalid(struct wpa_key_replay_counter *ctr, in wpa_replay_counter_mark_invalid() argument 782 if (ctr[i].valid && in wpa_replay_counter_mark_invalid() 784 os_memcmp(replay_counter, ctr[i].counter, in wpa_replay_counter_mark_invalid() 786 ctr[i].valid = FALSE; in wpa_replay_counter_mark_invalid() 1653 u32 ctr; in wpa_send_eapol() local 1661 ctr = pairwise ? sm->TimeoutCtr : sm->GTimeoutCtr; in wpa_send_eapol() 1662 if (ctr == 1 && wpa_auth->conf.tx_status) in wpa_send_eapol() [all …]
|
| /dflybsd-src/crypto/libressl/crypto/chacha/ |
| H A D | chacha-merged.c | 32 const u8 *ctr)
|