Searched refs:ctr (Results 51 - 75 of 154) sorted by relevance

1234567

/freebsd-current/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_hw_t4.inc11 * Sparc t4 support for AES modes ecb, cbc, ofb, cfb, ctr.
55 dat->stream.ctr = (ctr128_f)aes128_t4_ctr32_encrypt;
63 dat->stream.ctr = (ctr128_f)aes192_t4_ctr32_encrypt;
71 dat->stream.ctr = (ctr128_f)aes256_t4_ctr32_encrypt;
H A Dcipher_aes.c17 /* Dispatch functions for AES cipher modes ecb, cbc, ofb, cfb, ctr */
89 IMPLEMENT_generic_cipher(aes, AES, ctr, CTR, 0, 256, 8, 128, stream)
91 IMPLEMENT_generic_cipher(aes, AES, ctr, CTR, 0, 192, 8, 128, stream)
93 IMPLEMENT_generic_cipher(aes, AES, ctr, CTR, 0, 128, 8, 128, stream)
H A Dcipher_aria.c10 /* Dispatch functions for ARIA cipher modes ecb, cbc, ofb, cfb, ctr */
82 IMPLEMENT_generic_cipher(aria, ARIA, ctr, CTR, 0, 256, 8, 128, stream)
84 IMPLEMENT_generic_cipher(aria, ARIA, ctr, CTR, 0, 192, 8, 128, stream)
86 IMPLEMENT_generic_cipher(aria, ARIA, ctr, CTR, 0, 128, 8, 128, stream)
H A Dcipher_camellia.c16 /* Dispatch functions for CAMELLIA cipher modes ecb, cbc, ofb, cfb, ctr */
88 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ctr, CTR, 0, 256, 8, 128, stream)
90 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ctr, CTR, 0, 192, 8, 128, stream)
92 IMPLEMENT_generic_cipher(camellia, CAMELLIA, ctr, CTR, 0, 128, 8, 128, stream)
H A Dcipher_aes_hw.c84 dat->stream.ctr = (ctr128_f)HWAES_ctr32_encrypt_blocks;
94 dat->stream.ctr = (ctr128_f)ossl_bsaes_ctr32_encrypt_blocks;
112 dat->stream.ctr = (ctr128_f)AES_ctr32_encrypt;
157 PROV_CIPHER_HW_aes_mode(ctr)
H A Dcipher_camellia_hw_t4.inc35 dat->stream.ctr = (ctr128_f) cmll128_t4_ctr32_encrypt;
44 dat->stream.ctr = (ctr128_f) cmll256_t4_ctr32_encrypt;
H A Dcipher_sm4.c50 IMPLEMENT_generic_cipher(sm4, SM4, ctr, CTR, 0, 128, 8, 128, stream)
H A Dcipher_sm4_hw.c46 PROV_CIPHER_HW_sm4_mode(ctr)
/freebsd-current/sys/powerpc/include/
H A Dreg.h14 __register_t ctr; member in struct:reg
42 __int32_t ctr; member in struct:reg32
H A Dframe.h56 register_t ctr; member in struct:trapframe
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/
H A Dzfs_receive_009_neg.ksh89 for ctr in $ctr1 $ctr2; do
90 log_must $ZFS create $ctr
/freebsd-current/sys/dev/random/fenestrasX/
H A Dfx_rng.c86 uint128_t ctr; /* Native-endian. */ local
91 ctr = le128dec(&lectr);
93 chacha_ctrsave(ctx, (void *)&ctr);
96 uint128_add64(&ctr, addend);
100 le128enc(&lectr, ctr);
104 chacha_ivsetup(ctx, NULL, (const void *)&ctr);
106 explicit_bzero(&ctr, sizeof(ctr));
/freebsd-current/sys/dev/random/
H A Dhash.c128 * 'ctr.' The output stream goes to 'd_out.'
134 randomdev_keystream(union randomdev_key *context, uint128_t *ctr, argument
147 le128enc(&lectr, *ctr);
170 *ctr = le128dec(&lectr);
185 (void *)ctr, RANDOM_BLOCKSIZE * 8, d_out);
187 uint128_increment(ctr);
/freebsd-current/contrib/wpa/src/eap_common/
H A Deap_pwd_common.c50 u16 i, ctr, L; local
54 ctr = 0;
57 ctr++;
58 i = htons(ctr);
63 if (ctr > 1)
133 unsigned char pwe_digest[SHA256_MAC_LEN], *prfbuf = NULL, ctr; local
172 ctr = 0;
179 while (ctr < 40) {
180 ctr++;
194 eap_pwd_h_update(hash, &ctr, sizeo
[all...]
/freebsd-current/crypto/openssh/
H A Dchacha.h27 void chacha_ivsetup(struct chacha_ctx *x, const u_char *iv, const u_char *ctr)
/freebsd-current/contrib/bearssl/src/symcipher/
H A Daes_pwr8_ctrcbc.c530 "v30", "ctr", "memory" \
589 "v30", "ctr", "memory" \
600 unsigned char *ctr, unsigned char *cbcmac, unsigned char *buf, \
621 lxvw4x(48, %[cc], %[ctr]) \
682 stxvw4x(48, %[cc], %[ctr]) \
686 : [sk] "b" (sk), [ctr] "b" (ctr), [cbcmac] "b" (cbcmac), \
692 "v30", "ctr", "memory" \
703 unsigned char *ctr, unsigned char *cbcmac, unsigned char *buf, \
724 lxvw4x(48, %[cc], %[ctr]) \
784 br_aes_pwr8_ctrcbc_encrypt(const br_aes_pwr8_ctrcbc_keys *ctx, void *ctr, void *cbcmac, void *data, size_t len) argument
805 br_aes_pwr8_ctrcbc_decrypt(const br_aes_pwr8_ctrcbc_keys *ctx, void *ctr, void *cbcmac, void *data, size_t len) argument
839 br_aes_pwr8_ctrcbc_ctr(const br_aes_pwr8_ctrcbc_keys *ctx, void *ctr, void *data, size_t len) argument
[all...]
H A Daes_ct_ctrcbc.c52 void *ctr, void *data, size_t len)
66 ivbuf = ctr;
182 void *ctr, void *cbcmac, void *data, size_t len)
204 ivbuf = ctr;
318 void *ctr, void *cbcmac, void *data, size_t len)
333 ivbuf = ctr;
51 br_aes_ct_ctrcbc_ctr(const br_aes_ct_ctrcbc_keys *ctx, void *ctr, void *data, size_t len) argument
181 br_aes_ct_ctrcbc_encrypt(const br_aes_ct_ctrcbc_keys *ctx, void *ctr, void *cbcmac, void *data, size_t len) argument
317 br_aes_ct_ctrcbc_decrypt(const br_aes_ct_ctrcbc_keys *ctx, void *ctr, void *cbcmac, void *data, size_t len) argument
/freebsd-current/tools/regression/ipsec/
H A Dipsec.t40 aes-ctr:01234567890123456789\
41 aes-ctr:0123456789012345678901234567\
42 aes-ctr:012345678901234567890123456789012345\
/freebsd-current/contrib/bearssl/src/aead/
H A Deax.c50 * - The current counter and running CBC-MAC values are kept in 'ctr'
165 (*bctx)->ctr(bctx, iv, tmp, sizeof tmp);
233 memcpy(ctx->ctr, st->st[2], sizeof ctx->ctr);
237 * a recorded state, with ctx->ctr containing the preprocessed
257 memcpy(ctx->ctr, ctx->nonce, sizeof ctx->nonce);
305 * a pre-AAD captured state. In that case, ctx->ctr[] contains
319 * the OMAC^2 value is in the ctr[] array.
322 memcpy(ctx->cbcmac, ctx->ctr, sizeof ctx->cbcmac);
331 memcpy(ctx->ctr, ct
[all...]
/freebsd-current/sys/arm/arm/
H A Dcpuinfo.c137 cpuinfo.ctr = cp15_ctr_get();
164 if (CPU_CT_FORMAT(cpuinfo.ctr) == CPU_CT_ARMV7) {
192 if (CPU_CT_FORMAT(cpuinfo.ctr) == CPU_CT_ARMV7) {
194 1 << (CPU_CT_DMINLINE(cpuinfo.ctr) + 2);
196 1 << (CPU_CT_IMINLINE(cpuinfo.ctr) + 2);
199 1 << (CPU_CT_xSIZE_LEN(CPU_CT_DSIZE(cpuinfo.ctr)) + 3);
201 1 << (CPU_CT_xSIZE_LEN(CPU_CT_ISIZE(cpuinfo.ctr)) + 3);
H A Didentcpu-v6.c130 if ((cpuinfo.ctr & CPU_CT_S) == 0)
136 pcache_type = CPU_CT_CTYPE(cpuinfo.ctr);
139 isize = CPU_CT_ISIZE(cpuinfo.ctr);
154 dsize = CPU_CT_DSIZE(cpuinfo.ctr);
375 if (CPU_CT_FORMAT(cpuinfo.ctr) == CPU_CT_ARMV7)
/freebsd-current/contrib/sendmail/contrib/
H A Dbounce-resender.pl25 $ctr = 0;
130 $ctr++;
140 $ident = sprintf("%sAA%05d",$char,99999 - $ctr);
149 $messageid = "bounce-resender-$ctr";
272 "$myname: processed $lineno lines of input and wrote $ctr messages\n";
/freebsd-current/usr.sbin/spi/
H A Dspi.c384 int ch, ch2, ctr, cbcmd, err; local
398 ctr = 0;
423 if (ctr >= cbcmd) { /* need re-alloc buffer? (unlikely) */
436 pcur = popt->pcmd + ctr;
445 ctr++;
448 popt->ncmd = ctr; /* record num bytes in '-C' argument */
676 int err, ctr; local
706 for (ctr = 0; ctr < cbrw; ctr
[all...]
/freebsd-current/sys/dev/qat/qat_hw/qat_dh895xcc/
H A Dadf_dh895xcc_hw_data.c59 uint32_t i, ctr = 0; local
66 ctr++;
68 return ctr;
74 uint32_t i, ctr = 0; local
81 ctr++;
83 return ctr;
/freebsd-current/crypto/openssl/test/
H A Dasynctest.c19 static int ctr = 0; variable
31 ctr++;
33 ctr++;
202 ctr = 0;
208 || ctr != 1
211 || ctr != 2

Completed in 379 milliseconds

1234567