Home
last modified time | relevance | path

Searched refs:ctr (Results 1 - 25 of 182) sorted by relevance

12345678

/third_party/node/deps/openssl/openssl/providers/implementations/rands/
H A Ddrbg_ctr.c58 static void inc_128(PROV_DRBG_CTR *ctr) in inc_128() argument
60 unsigned char *p = &ctr->V[0]; in inc_128()
71 static void ctr_XOR(PROV_DRBG_CTR *ctr, const unsigned char *in, size_t inlen) in ctr_XOR() argument
82 n = inlen < ctr->keylen ? inlen : ctr->keylen; in ctr_XOR()
84 ctr->K[i] ^= in[i]; in ctr_XOR()
85 if (inlen <= ctr->keylen) in ctr_XOR()
88 n = inlen - ctr->keylen; in ctr_XOR()
94 ctr->V[i] ^= in[i + ctr in ctr_XOR()
100 ctr_BCC_block(PROV_DRBG_CTR *ctr, unsigned char *out, const unsigned char *in, int len) ctr_BCC_block() argument
118 ctr_BCC_blocks(PROV_DRBG_CTR *ctr, const unsigned char *in) ctr_BCC_blocks() argument
136 ctr_BCC_init(PROV_DRBG_CTR *ctr) ctr_BCC_init() argument
151 ctr_BCC_update(PROV_DRBG_CTR *ctr, const unsigned char *in, size_t inlen) ctr_BCC_update() argument
186 ctr_BCC_final(PROV_DRBG_CTR *ctr) ctr_BCC_final() argument
196 ctr_df(PROV_DRBG_CTR *ctr, const unsigned char *in1, size_t in1len, const unsigned char *in2, size_t in2len, const unsigned char *in3, size_t in3len) ctr_df() argument
264 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; ctr_update() local
310 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_instantiate() local
344 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_reseed() local
381 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_generate() local
464 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_uninstantiate() local
482 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_verify_zeroization() local
495 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_init_lengths() local
528 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_init() local
589 PROV_DRBG_CTR *ctr; drbg_ctr_new() local
613 PROV_DRBG_CTR *ctr; drbg_ctr_free() local
630 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_get_ctx_params() local
663 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)ctx->data; drbg_ctr_set_ctx_params() local
[all...]
/third_party/openssl/providers/implementations/rands/
H A Ddrbg_ctr.c58 static void inc_128(PROV_DRBG_CTR *ctr) in inc_128() argument
60 unsigned char *p = &ctr->V[0]; in inc_128()
71 static void ctr_XOR(PROV_DRBG_CTR *ctr, const unsigned char *in, size_t inlen) in ctr_XOR() argument
82 n = inlen < ctr->keylen ? inlen : ctr->keylen; in ctr_XOR()
84 ctr->K[i] ^= in[i]; in ctr_XOR()
85 if (inlen <= ctr->keylen) in ctr_XOR()
88 n = inlen - ctr->keylen; in ctr_XOR()
94 ctr->V[i] ^= in[i + ctr in ctr_XOR()
100 ctr_BCC_block(PROV_DRBG_CTR *ctr, unsigned char *out, const unsigned char *in, int len) ctr_BCC_block() argument
118 ctr_BCC_blocks(PROV_DRBG_CTR *ctr, const unsigned char *in) ctr_BCC_blocks() argument
136 ctr_BCC_init(PROV_DRBG_CTR *ctr) ctr_BCC_init() argument
151 ctr_BCC_update(PROV_DRBG_CTR *ctr, const unsigned char *in, size_t inlen) ctr_BCC_update() argument
186 ctr_BCC_final(PROV_DRBG_CTR *ctr) ctr_BCC_final() argument
196 ctr_df(PROV_DRBG_CTR *ctr, const unsigned char *in1, size_t in1len, const unsigned char *in2, size_t in2len, const unsigned char *in3, size_t in3len) ctr_df() argument
264 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; ctr_update() local
310 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_instantiate() local
344 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_reseed() local
381 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_generate() local
464 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_uninstantiate() local
482 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_verify_zeroization() local
495 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_init_lengths() local
528 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_init() local
589 PROV_DRBG_CTR *ctr; drbg_ctr_new() local
613 PROV_DRBG_CTR *ctr; drbg_ctr_free() local
630 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)drbg->data; drbg_ctr_get_ctx_params() local
663 PROV_DRBG_CTR *ctr = (PROV_DRBG_CTR *)ctx->data; drbg_ctr_set_ctx_params() local
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_query_hw_sm.c607 struct nvc0_hw_sm_counter_cfg ctr[8]; member
621 .ctr[0] = _CB(0x0001, B6, 0x02, 0x00000000),
630 .ctr[0] = _CB(0x003f, B6, 0x02, 0x31483104),
639 .ctr[0] = _CA(0x0001, B6, 0x1c, 0x000000004),
648 .ctr[0] = _CA(0x0001, B6, 0x1c, 0x00000000),
657 .ctr[0] = _CA(0x0001, B6, 0x1c, 0x0000000c),
666 .ctr[0] = _CA(0x0001, B6, 0x1c, 0x00000010),
675 .ctr[0] = _CA(0x0001, B6, 0x1b, 0x00000010),
684 .ctr[0] = _CB(0x0001, B6, 0x08, 0x00000010),
693 .ctr[
[all...]
/third_party/backends/backend/
H A Dmustek_pp_ccd300.c224 int ctr; in set_lamp() local
229 for (ctr = 0; ctr < 3; ctr++) in set_lamp()
245 int voltage, sel = 8, ctr; in send_voltages() local
261 for (ctr = 0; ctr < 3; ctr++) in send_voltages()
266 sanei_pa4s2_writebyte (dev->fd, 5, voltages[voltage][ctr]); in send_voltages()
369 int ctr, skip in read_line_101x() local
477 int ctr, sum; read_average_line_101x() local
507 int pos = 0, ctr, blackpos; find_black_side_edge_101x() local
554 int ctr, sum = 0; min_color_levels_101x() local
619 int ctr, line, sum; max_color_levels_101x() local
717 int lines = 0, ctr, pos; find_black_top_edge_101x() local
748 int saved_ppl = dev->params.pixels_per_line, ctr; calibrate_device_101x() local
880 int ctr; get_lineart_line_101x() local
898 int gotline = 0, ctr; get_color_line_101x() local
1085 int ctr; return_home_1013() local
1114 int ctr; motor_forward_1013() local
1531 int ctr; move_motor() local
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305_hw.c125 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local
130 ctr = buf + CHACHA_BLK_SIZE; in chacha20_poly1305_tls_cipher()
147 ctr = xor128_encrypt_n_pad(out, in, ctr, plen); in chacha20_poly1305_tls_cipher()
149 ctr = xor128_decrypt_n_pad(out, in, ctr, plen); in chacha20_poly1305_tls_cipher()
153 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher()
172 out[i] = ctr[i] ^= in[i]; in chacha20_poly1305_tls_cipher()
177 out[i] = ctr[i] ^ c; in chacha20_poly1305_tls_cipher()
178 ctr[ in chacha20_poly1305_tls_cipher()
[all...]
H A Dcipher_aes_siv_hw.c29 EVP_CIPHER_free(ctx->ctr); in aes_siv_initkey()
31 ctx->ctr = NULL; in aes_siv_initkey()
36 ctx->ctr = EVP_CIPHER_fetch(libctx, "AES-128-CTR", propq); in aes_siv_initkey()
40 ctx->ctr = EVP_CIPHER_fetch(libctx, "AES-192-CTR", propq); in aes_siv_initkey()
44 ctx->ctr = EVP_CIPHER_fetch(libctx, "AES-256-CTR", propq); in aes_siv_initkey()
49 if (ctx->cbc == NULL || ctx->ctr == NULL) in aes_siv_initkey()
55 return ossl_siv128_init(sctx, key, klen, ctx->cbc, ctx->ctr, libctx, in aes_siv_initkey()
72 if (out->ctr != NULL) in aes_siv_dupctx()
73 EVP_CIPHER_up_ref(out->ctr); in aes_siv_dupctx()
100 EVP_CIPHER_free(ctx->ctr); in aes_siv_cleanup()
[all...]
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_poly1305_hw.c125 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local
130 ctr = buf + CHACHA_BLK_SIZE; in chacha20_poly1305_tls_cipher()
147 ctr = xor128_encrypt_n_pad(out, in, ctr, plen); in chacha20_poly1305_tls_cipher()
149 ctr = xor128_decrypt_n_pad(out, in, ctr, plen); in chacha20_poly1305_tls_cipher()
153 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher()
172 out[i] = ctr[i] ^= in[i]; in chacha20_poly1305_tls_cipher()
177 out[i] = ctr[i] ^ c; in chacha20_poly1305_tls_cipher()
178 ctr[ in chacha20_poly1305_tls_cipher()
[all...]
H A Dcipher_aes_siv_hw.c29 EVP_CIPHER_free(ctx->ctr); in aes_siv_initkey()
31 ctx->ctr = NULL; in aes_siv_initkey()
36 ctx->ctr = EVP_CIPHER_fetch(libctx, "AES-128-CTR", propq); in aes_siv_initkey()
40 ctx->ctr = EVP_CIPHER_fetch(libctx, "AES-192-CTR", propq); in aes_siv_initkey()
44 ctx->ctr = EVP_CIPHER_fetch(libctx, "AES-256-CTR", propq); in aes_siv_initkey()
49 if (ctx->cbc == NULL || ctx->ctr == NULL) in aes_siv_initkey()
55 return ossl_siv128_init(sctx, key, klen, ctx->cbc, ctx->ctr, libctx, in aes_siv_initkey()
72 if (out->ctr != NULL) in aes_siv_dupctx()
73 EVP_CIPHER_up_ref(out->ctr); in aes_siv_dupctx()
100 EVP_CIPHER_free(ctx->ctr); in aes_siv_cleanup()
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djidctred.c132 int ctr; in jpeg_idct_4x4() local
141 for (ctr = DCTSIZE; ctr > 0; inptr++, quantptr++, wsptr++, ctr--) { in jpeg_idct_4x4()
143 if (ctr == DCTSIZE - 4) in jpeg_idct_4x4()
205 for (ctr = 0; ctr < 4; ctr++) { in jpeg_idct_4x4()
206 outptr = output_buf[ctr] + output_col; in jpeg_idct_4x4()
289 int ctr; in jpeg_idct_2x2() local
[all...]
H A Djidctint.c185 int ctr; in jpeg_idct_islow() local
196 for (ctr = DCTSIZE; ctr > 0; ctr--) { in jpeg_idct_islow()
303 for (ctr = 0; ctr < DCTSIZE; ctr++) { in jpeg_idct_islow()
304 outptr = output_buf[ctr] + output_col; in jpeg_idct_islow()
438 int ctr; in jpeg_idct_7x7() local
447 for (ctr in jpeg_idct_7x7()
587 int ctr; jpeg_idct_6x6() local
708 int ctr; jpeg_idct_5x5() local
822 int ctr; jpeg_idct_3x3() local
913 int ctr; jpeg_idct_9x9() local
1085 int ctr; jpeg_idct_10x10() local
1280 int ctr; jpeg_idct_11x11() local
1474 int ctr; jpeg_idct_12x12() local
1690 int ctr; jpeg_idct_13x13() local
1918 int ctr; jpeg_idct_14x14() local
2144 int ctr; jpeg_idct_15x15() local
2386 int ctr; jpeg_idct_16x16() local
[all...]
H A Djfdctflt.c66 int ctr; in jpeg_fdct_float() local
71 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) { in jpeg_fdct_float()
121 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) { in jpeg_fdct_float()
H A Djfdctfst.c123 int ctr; in jpeg_fdct_ifast() local
129 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) { in jpeg_fdct_ifast()
179 for (ctr = DCTSIZE - 1; ctr >= 0; ctr--) { in jpeg_fdct_ifast()
/third_party/libwebsockets/lib/secure-streams/
H A Dsecure-streams-serialize.c455 par->ctr = 0; in lws_ss_deserialize_parse()
461 par->ctr = 0; in lws_ss_deserialize_parse()
470 par->ctr = 0; in lws_ss_deserialize_parse()
479 par->ctr = 0; in lws_ss_deserialize_parse()
518 par->ctr = 0; in lws_ss_deserialize_parse()
526 par->ctr = 0; in lws_ss_deserialize_parse()
531 par->ctr = 0; in lws_ss_deserialize_parse()
536 par->ctr = 0; in lws_ss_deserialize_parse()
606 par->ctr = 0; in lws_ss_deserialize_parse()
651 par->rideshare[par->ctr in lws_ss_deserialize_parse()
[all...]
/third_party/mesa3d/src/freedreno/perfcntrs/
H A Dfdperf.c213 select_counter(struct counter_group *group, int ctr, int n) in select_counter() argument
216 assert(ctr < group->group->num_counters); in select_counter()
218 group->label[ctr] = group->group->countables[n].name; in select_counter()
219 group->counter[ctr].select_val = n; in select_counter()
242 if (group->group->counters[ctr].enable) { in select_counter()
243 OUT_PKT0(ring, group->group->counters[ctr].enable, 1); in select_counter()
247 if (group->group->counters[ctr].clear) { in select_counter()
248 OUT_PKT0(ring, group->group->counters[ctr].clear, 1); in select_counter()
251 OUT_PKT0(ring, group->group->counters[ctr].clear, 1); in select_counter()
255 OUT_PKT0(ring, group->group->counters[ctr] in select_counter()
297 resample_counter(struct counter_group *group, int ctr) resample_counter() argument
433 redraw_counter(WINDOW *win, int row, struct counter_group *group, int ctr, bool selected) redraw_counter() argument
513 current_counter(int *ctr) current_counter() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A De_chacha20_poly1305.c219 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local
225 ctr = buf + CHACHA_BLK_SIZE; in chacha20_poly1305_tls_cipher()
243 ctr = xor128_encrypt_n_pad(out, in, ctr, plen); in chacha20_poly1305_tls_cipher()
245 ctr = xor128_decrypt_n_pad(out, in, ctr, plen); in chacha20_poly1305_tls_cipher()
249 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher()
268 out[i] = ctr[i] ^= in[i]; in chacha20_poly1305_tls_cipher()
273 out[i] = ctr[i] ^ c; in chacha20_poly1305_tls_cipher()
274 ctr[ in chacha20_poly1305_tls_cipher()
[all...]
/third_party/openssl/crypto/evp/
H A De_chacha20_poly1305.c219 unsigned char *buf, *tohash, *ctr, storage[sizeof(zero) + 32]; in chacha20_poly1305_tls_cipher() local
225 ctr = buf + CHACHA_BLK_SIZE; in chacha20_poly1305_tls_cipher()
243 ctr = xor128_encrypt_n_pad(out, in, ctr, plen); in chacha20_poly1305_tls_cipher()
245 ctr = xor128_decrypt_n_pad(out, in, ctr, plen); in chacha20_poly1305_tls_cipher()
249 tohash_len = (size_t)(ctr - tohash); in chacha20_poly1305_tls_cipher()
268 out[i] = ctr[i] ^= in[i]; in chacha20_poly1305_tls_cipher()
273 out[i] = ctr[i] ^ c; in chacha20_poly1305_tls_cipher()
274 ctr[ in chacha20_poly1305_tls_cipher()
[all...]
/third_party/node/deps/openssl/openssl/ssl/record/
H A Dssl3_record.c980 size_t bs, ctr, padnum, loop; in tls1_enc() local
1013 for (ctr = 0; ctr < n_recs; ctr++) { in tls1_enc()
1014 if (recs[ctr].data != recs[ctr].input) { in tls1_enc()
1021 } else if (RAND_bytes_ex(s->ctx->libctx, recs[ctr].input, in tls1_enc()
1045 for (ctr = 0; ctr < n_recs; ctr in tls1_enc()
[all...]
/third_party/openssl/ssl/record/
H A Dssl3_record.c980 size_t bs, ctr, padnum, loop; in tls1_enc() local
1013 for (ctr = 0; ctr < n_recs; ctr++) { in tls1_enc()
1014 if (recs[ctr].data != recs[ctr].input) { in tls1_enc()
1021 } else if (RAND_bytes_ex(s->ctx->libctx, recs[ctr].input, in tls1_enc()
1045 for (ctr = 0; ctr < n_recs; ctr in tls1_enc()
[all...]
/third_party/node/deps/openssl/openssl/crypto/modes/
H A Dgcm128.c819 unsigned int ctr; local
835 ctr = 1;
878 ctr = BSWAP4(ctx->Xi.d[3]);
880 ctr = GETU32(ctx->Xi.c + 12);
883 ctr = ctx->Xi.d[3];
894 ++ctr;
897 ctx->Yi.d[3] = BSWAP4(ctr);
899 PUTU32(ctx->Yi.c + 12, ctr);
902 ctx->Yi.d[3] = ctr;
971 unsigned int n, ctr, mre local
1203 unsigned int n, ctr, mres; global() local
[all...]
/third_party/openssl/crypto/modes/
H A Dgcm128.c819 unsigned int ctr; local
835 ctr = 1;
878 ctr = BSWAP4(ctx->Xi.d[3]);
880 ctr = GETU32(ctx->Xi.c + 12);
883 ctr = ctx->Xi.d[3];
894 ++ctr;
897 ctx->Yi.d[3] = BSWAP4(ctr);
899 PUTU32(ctx->Yi.c + 12, ctr);
902 ctx->Yi.d[3] = ctr;
971 unsigned int n, ctr, mre local
1203 unsigned int n, ctr, mres; global() local
[all...]
/third_party/openssl/test/
H A Dtls13encryptiontest.c312 size_t ivlen, ctr; in test_tls13_encryption() local
348 for (ctr = 0; ctr < OSSL_NELEM(refdata); ctr++) { in test_tls13_encryption()
351 if (!load_record(&rec, &refdata[ctr], &key, s->read_iv, ivlen, in test_tls13_encryption()
372 TEST_info("Failed to encrypt record %zu", ctr); in test_tls13_encryption()
375 if (!TEST_true(test_record(&rec, &refdata[ctr], 1))) { in test_tls13_encryption()
376 TEST_info("Record %zu encryption test failed", ctr); in test_tls13_encryption()
382 TEST_info("Failed to decrypt record %zu", ctr); in test_tls13_encryption()
385 if (!TEST_true(test_record(&rec, &refdata[ctr], in test_tls13_encryption()
[all...]
/third_party/selinux/libselinux/src/
H A Dis_customizable_type.c19 unsigned int ctr = 0, i; in customizable_init() local
31 while (fgets_unlocked(buf, selinux_page_size, fp) && ctr < UINT_MAX) { in customizable_init()
32 ctr++; in customizable_init()
35 if (ctr) { in customizable_init()
38 ctr + 1); in customizable_init()
42 && i < ctr) { in customizable_init()
/third_party/ffmpeg/libavcodec/
H A Djfdctfst.c149 int ctr; in row_fdct() local
154 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { in row_fdct()
213 int ctr; in ff_fdct_ifast() local
220 for (ctr = DCTSIZE-1; ctr >= 0; ctr--) { in ff_fdct_ifast()
279 int ctr; in ff_fdct_ifast248() local
286 for (ctr in ff_fdct_ifast248()
[all...]
/third_party/lzma/CPP/7zip/Crypto/
H A DMyAes.cpp101 const Byte *ctr = (Byte *)(Aes() + AES_NUM_IVMRK_WORDS); in Z7_COM7F_IMF2() local
110 data[num++] ^= ctr[i]; in Z7_COM7F_IMF2()
135 Byte *ctr = (Byte *)(Aes() + AES_NUM_IVMRK_WORDS); in Z7_COM7F_IMF2() local
136 memset(ctr, 0, AES_BLOCK_SIZE); in Z7_COM7F_IMF2()
137 memcpy(ctr, data, size); in Z7_COM7F_IMF2()
138 _codeFunc(Aes(), ctr, 1); in Z7_COM7F_IMF2() local
139 memcpy(data, ctr, size); in Z7_COM7F_IMF2()
/third_party/node/test/fixtures/wpt/html/webappapis/timers/
H A Dmissing-timeout-setinterval.any.js11 let ctr = 0;
13 if (++ctr == 2) {
24 let ctr = 0;
26 if (++ctr == 2) {

Completed in 19 milliseconds

12345678