Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 51) sorted by relevance

123

/openssl/fuzz/
H A Dquic-lcidm.c68 int rc = 0; in FuzzerTestOneInput() local
84 rc = -1; in FuzzerTestOneInput()
89 rc = -1; in FuzzerTestOneInput()
104 rc = -1; in FuzzerTestOneInput()
114 rc = -1; in FuzzerTestOneInput()
123 rc = -1; in FuzzerTestOneInput()
133 rc = -1; in FuzzerTestOneInput()
144 rc = -1; in FuzzerTestOneInput()
156 rc = -1; in FuzzerTestOneInput()
173 rc = -1; in FuzzerTestOneInput()
[all …]
H A Dquic-rcidm.c77 int rc = 0; in FuzzerTestOneInput() local
98 rc = -1; in FuzzerTestOneInput()
119 rc = -1; in FuzzerTestOneInput()
128 rc = -1; in FuzzerTestOneInput()
139 rc = -1; in FuzzerTestOneInput()
152 rc = -1; in FuzzerTestOneInput()
177 rc = -1; in FuzzerTestOneInput()
185 rc = -1; in FuzzerTestOneInput()
192 return rc; in FuzzerTestOneInput()
H A Dquic-srtm.c47 int rc = 0; in FuzzerTestOneInput() local
56 rc = -1; in FuzzerTestOneInput()
68 rc = 0; in FuzzerTestOneInput()
120 rc = 0; in FuzzerTestOneInput()
123 return rc; in FuzzerTestOneInput()
H A Dhashtable.c122 int rc; in FuzzerTestOneInput() local
185 rc = ossl_ht_fz_FUZZER_VALUE_insert(fuzzer_table, TO_HT_KEY(&key), in FuzzerTestOneInput()
188 rc = ossl_ht_fz_FUZZER_VALUE_insert(fuzzer_table, TO_HT_KEY(&key), in FuzzerTestOneInput()
191 if (rc == -1) in FuzzerTestOneInput()
208 OPENSSL_assert(rc == rc_prediction); in FuzzerTestOneInput()
241 rc = ossl_ht_delete(fuzzer_table, TO_HT_KEY(&key)); in FuzzerTestOneInput()
251 OPENSSL_assert(rc == rc_prediction); in FuzzerTestOneInput()
/openssl/crypto/ec/
H A Decx_s390x.c89 int rc; in s390x_x25519_mul() local
103 if (rc == 1) in s390x_x25519_mul()
107 return rc; in s390x_x25519_mul()
122 int rc; in s390x_x448_mul() local
137 if (rc == 1) { in s390x_x448_mul()
143 return rc; in s390x_x448_mul()
162 int rc; in s390x_ed25519_mul() local
171 if (rc == 1) { in s390x_ed25519_mul()
177 return rc; in s390x_ed25519_mul()
196 int rc; in s390x_ed448_mul() local
[all …]
H A Decp_s390x_nistp.c58 int rc = -1; in ec_GFp_s390x_nistp_mul() local
71 rc = 0; in ec_GFp_s390x_nistp_mul()
93 rc = EC_POINT_set_to_infinity(group, r); in ec_GFp_s390x_nistp_mul()
112 rc = 1; in ec_GFp_s390x_nistp_mul()
117 if (rc == -1) in ec_GFp_s390x_nistp_mul()
118 rc = ossl_ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx); in ec_GFp_s390x_nistp_mul()
122 return rc; in ec_GFp_s390x_nistp_mul()
229 int rc = -1; in ecdsa_s390x_nistp_verify_sig() local
277 rc = s390x_kdsa(fc, param, NULL, 0) == 0 ? 1 : 0; in ecdsa_s390x_nistp_verify_sig()
281 return rc; in ecdsa_s390x_nistp_verify_sig()
/openssl/doc/designs/ddd/
H A Dddd-06-mem-uv.c135 int rc; in new_conn() local
163 if (rc < 0) { in new_conn()
177 if (rc < 0) { in new_conn()
296 int srd, rc; in on_rx_push() local
332 int rc; in handle_pending_writes() local
357 int rc; in net_read_done() local
425 int rc, rd; in flush_write_buf() local
472 int rc, rcx; in handshake_ssl() local
550 int rc; in tcp_connect_done() local
720 int rc = 1; in main() local
[all …]
H A Dddd-04-fd-nonblocking.c116 int rc, l; in tx() local
122 rc = SSL_get_error(conn->ssl, l); in tx()
123 switch (rc) { in tx()
145 int rc, l; in rx() local
151 rc = SSL_get_error(conn->ssl, l); in rx()
152 switch (rc) { in rx()
296 int rc, fd = -1, res = 1; in main() local
332 if (rc < 0) { in main()
350 if (rc < 0) { in main()
355 rc = fcntl(fd, F_SETFL, O_NONBLOCK); in main()
[all …]
H A Dddd-05-mem-nonblocking.c141 int rc, l; local
145 rc = SSL_get_error(conn->ssl, l);
146 switch (rc) {
170 int rc, l; local
174 rc = SSL_get_error(conn->ssl, l);
175 switch (rc) {
355 int rc, fd = -1, res = 1; local
384 if (rc < 0) {
402 if (rc < 0) {
407 rc = fcntl(fd, F_SETFL, O_NONBLOCK);
[all …]
H A Dddd-03-fd-blocking.c139 int rc, fd = -1, l, mlen, res = 1; in main() local
163 rc = getaddrinfo(argv[1], argv[2], &hints, &result); in main()
164 if (rc < 0) { in main()
181 rc = connect(fd, result->ai_addr, result->ai_addrlen); in main()
182 if (rc < 0) { in main()
/openssl/test/
H A Dasn1_decode_test.c175 int der_len, rc = 1; in test_gentime() local
183 rc = 0; /* fail */ in test_gentime()
186 return rc; in test_gentime()
199 int der_len, rc = 1; in test_utctime() local
207 rc = 0; /* fail */ in test_utctime()
210 return rc; in test_utctime()
H A Dprov_config_test.c79 int rc; in test_path_config() local
91 rc = stat(full_path, &sbuf); in test_path_config()
93 if (rc == -1) in test_path_config()
H A Dquic_cc_test.c265 int rc; in net_sim_process() local
267 while ((rc = net_sim_process_one(s, skip_forward > 0 ? 1 : 0)) == 1) in net_sim_process()
271 return rc; in net_sim_process()
331 int rc; in test_simulate() local
413 rc = net_sim_process(&sim, 1); in test_simulate()
414 if (!TEST_int_gt(rc, 0)) in test_simulate()
421 if (rc == 3) { in test_simulate()
H A Dquic_txp_test.c124 int rc = 0; in helper_init() local
229 rc = 1; in helper_init()
231 if (!rc) in helper_init()
234 return rc; in helper_init()
406 int rc = 0; in schedule_cfq_new_conn_id() local
442 rc = 1; in schedule_cfq_new_conn_id()
444 if (!rc) in schedule_cfq_new_conn_id()
446 return rc; in schedule_cfq_new_conn_id()
518 rc = 1; in schedule_cfq_new_token()
520 if (!rc) in schedule_cfq_new_token()
[all …]
/openssl/crypto/thread/arch/
H A Dthread_posix.c123 int rc; in ossl_crypto_mutex_lock() local
127 rc = pthread_mutex_lock(mutex_p); in ossl_crypto_mutex_lock()
128 OPENSSL_assert(rc == 0); in ossl_crypto_mutex_lock()
133 int rc; in ossl_crypto_mutex_unlock() local
137 rc = pthread_mutex_unlock(mutex_p); in ossl_crypto_mutex_unlock()
138 OPENSSL_assert(rc == 0); in ossl_crypto_mutex_unlock()
H A Dthread_win.c362 uint32_t rc; in ossl_crypto_condvar_wait_timeout() local
428 rc = obj_wait(cv->sema, deadline); in ossl_crypto_condvar_wait_timeout()
455 } else if (rc == WAIT_OBJECT_0) { in ossl_crypto_condvar_wait_timeout()
/openssl/crypto/
H A Dprovider_conf.c82 int rc = 0; in provider_conf_params_internal() local
126 rc = provider_conf_params_internal(prov, provinfo, buffer, in provider_conf_params_internal()
128 if (rc < 0) { in provider_conf_params_internal()
130 return rc; in provider_conf_params_internal()
160 int rc; in provider_conf_params() local
166 rc = provider_conf_params_internal(prov, provinfo, name, in provider_conf_params()
171 return rc; in provider_conf_params()
/openssl/crypto/hashtable/
H A Dhashtable.c436 int rc = 0; in grow_hashtable() local
503 rc = 1; in grow_hashtable()
506 return rc; in grow_hashtable()
643 int rc = 0; in ossl_ht_insert() local
664 rc = -1; in ossl_ht_insert()
668 if (rc <= 0) in ossl_ht_insert()
672 return rc; in ossl_ht_insert()
730 int rc = 0; in ossl_ht_delete() local
751 rc = 1; in ossl_ht_delete()
755 if (rc == 1) { in ossl_ht_delete()
[all …]
/openssl/crypto/sm2/
H A Dsm2_crypt.c112 int rc = 0, ciphertext_leni; in ossl_sm2_encrypt() local
259 rc = 1; in ossl_sm2_encrypt()
272 return rc; in ossl_sm2_encrypt()
280 int rc = 0; in ossl_sm2_decrypt() local
398 rc = 1; in ossl_sm2_decrypt()
402 if (rc == 0) in ossl_sm2_decrypt()
413 return rc; in ossl_sm2_decrypt()
/openssl/demos/guide/
H A Dquic-hq-interop.c403 int rc = 0; in setup_session_cache() local
417 return rc; in setup_session_cache()
425 return rc; in setup_session_cache()
441 rc = 1; in setup_session_cache()
444 if (rc == 0) in setup_session_cache()
446 return rc; in setup_session_cache()
/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm_hw_s390x.inc90 int rc;
105 rc = 1;
107 rc = (CRYPTO_memcmp(tag, kma->t.b, ctx->taglen) == 0);
109 return rc;
121 int rc;
130 rc = 1;
132 rc = (CRYPTO_memcmp(tag, kma->t.b, taglen) == 0);
134 return rc;
/openssl/
H A Dbuild.info103 GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto
104 GENERATE[libssl.rc]=util/mkrc.pl libssl
105 DEPEND[libcrypto.rc libssl.rc]=configdata.pm
107 SHARED_SOURCE[libcrypto]=libcrypto.rc
108 SHARED_SOURCE[libssl]=libssl.rc
/openssl/crypto/x509/
H A Dx_attrib.c64 int rc; in print_oid() local
69 rc = (ln != NULL) in print_oid()
72 return (rc >= 0); in print_oid()
/openssl/ssl/quic/
H A Dquic_txp.c767 int res = 0, rc; in ossl_quic_tx_packetiser_generate() local
904 if (rc) { in ossl_quic_tx_packetiser_generate()
918 if (!rc) in ossl_quic_tx_packetiser_generate()
2194 int rc = 0; in txp_generate_stream_frames() local
2226 rc = 1; in txp_generate_stream_frames()
2237 rc = 1; in txp_generate_stream_frames()
2243 rc = 1; in txp_generate_stream_frames()
2390 return rc; in txp_generate_stream_frames()
2837 return rc; in txp_generate_for_el()
2888 int rc = 1; in txp_pkt_commit() local
[all …]
/openssl/include/internal/
H A Dhashtable.h176 int rc; \
180 rc = ossl_ht_insert(h, key, &inval, olddata == NULL ? NULL : &oval); \
183 return rc; \

Completed in 52 milliseconds

123