/openssl/crypto/evp/ |
H A D | p5_crpt.c | 38 int rv = 0; in PKCS5_PBE_keyivgen_ex() local 106 rv = 1; in PKCS5_PBE_keyivgen_ex() 110 return rv; in PKCS5_PBE_keyivgen_ex()
|
H A D | keymgmt_lib.c | 541 int rv = -2; in evp_keymgmt_util_get_deflt_digest_name() local 560 rv = 2; in evp_keymgmt_util_get_deflt_digest_name() 566 rv = 1; in evp_keymgmt_util_get_deflt_digest_name() 568 if (rv > 0) in evp_keymgmt_util_get_deflt_digest_name() 570 return rv; in evp_keymgmt_util_get_deflt_digest_name()
|
H A D | e_aria.c | 402 int rv = -1; in aria_gcm_tls_cipher() local 431 rv = len + EVP_GCM_TLS_EXPLICIT_IV_LEN + EVP_GCM_TLS_TAG_LEN; in aria_gcm_tls_cipher() 445 rv = len; in aria_gcm_tls_cipher() 451 return rv; in aria_gcm_tls_cipher() 736 int rv = -1; in aria_ccm_cipher() local 744 rv = len; in aria_ccm_cipher() 747 if (rv == -1) in aria_ccm_cipher() 752 return rv; in aria_ccm_cipher()
|
/openssl/crypto/asn1/ |
H A D | f_int.c | 147 int rv = a2i_ASN1_INTEGER(bp, bs, buf, size); in a2i_ASN1_ENUMERATED() local 148 if (rv == 1) in a2i_ASN1_ENUMERATED() 150 return rv; in a2i_ASN1_ENUMERATED()
|
H A D | asn_mime.c | 72 int rv = 1; in i2d_ASN1_bio_stream() local 83 rv = 0; in i2d_ASN1_bio_stream() 100 return rv; in i2d_ASN1_bio_stream() 173 int rv; in asn1_write_micalg() local 175 rv = md->md_ctrl(NULL, EVP_MD_CTRL_MICALG, 0, &micstr); in asn1_write_micalg() 176 if (rv > 0) { in asn1_write_micalg() 181 if (rv != -2) in asn1_write_micalg() 349 int rv = 1; in asn1_output_data() local 375 rv = 0; in asn1_output_data() 379 rv = 0; in asn1_output_data() [all …]
|
H A D | a_verify.c | 100 int rv = -1; in ASN1_item_verify_ex() local 103 rv = ASN1_item_verify_ctx(it, alg, signature, data, ctx); in ASN1_item_verify_ex() 107 return rv; in ASN1_item_verify_ex()
|
/openssl/ssl/ |
H A D | t1_lib.c | 2367 int rv = 0; in tls_decrypt_ticket() local 2390 if (rv == 2) in tls_decrypt_ticket() 2689 int rv = 0; in tls12_copy_sigalgs() local 2707 rv = 1; in tls12_copy_sigalgs() 2709 if (rv == 0) in tls12_copy_sigalgs() 2711 return rv; in tls12_copy_sigalgs() 3210 int rv = 0; in tls1_check_chain() local 3465 return rv; in tls1_check_chain() 3637 if (rv != 1) in ssl_security_cert_chain() 3638 return rv; in ssl_security_cert_chain() [all …]
|
/openssl/demos/cipher/ |
H A D | aesccm.c | 163 int outlen, rv; in aes_ccm_decrypt() local 208 rv = EVP_DecryptUpdate(ctx, outbuf, &outlen, ccm_ct, sizeof(ccm_ct)); in aes_ccm_decrypt() 211 if (rv > 0) { in aes_ccm_decrypt()
|
/openssl/crypto/bio/ |
H A D | bio_lib.c | 1003 int rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_wait() local 1005 if (rv <= 0) in BIO_wait() 1007 rv == 0 ? BIO_R_TRANSFER_TIMEOUT : BIO_R_TRANSFER_ERROR); in BIO_wait() 1008 return rv; in BIO_wait() 1023 int rv; in BIO_do_connect_retry() local 1036 rv = BIO_do_connect(bio); in BIO_do_connect_retry() 1038 if (rv <= 0) { /* could be timeout or retryable error or fatal error */ in BIO_do_connect_retry() 1065 rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_do_connect_retry() 1066 if (rv > 0) in BIO_do_connect_retry() 1072 rv = -1; in BIO_do_connect_retry() [all …]
|
/openssl/providers/implementations/ciphers/ |
H A D | cipher_aes_wrp.c | 167 size_t rv; in aes_wrap_cipher_internal() local 209 rv = wctx->wrapfn(&wctx->ks.ks, ctx->iv_set ? ctx->iv : NULL, out, in, in aes_wrap_cipher_internal() 211 if (!rv) { in aes_wrap_cipher_internal() 215 if (rv > INT_MAX) { in aes_wrap_cipher_internal() 219 return (int)rv; in aes_wrap_cipher_internal()
|
H A D | ciphercommon_ccm.c | 339 int rv = 0; in ccm_tls_cipher() local 376 rv = 1; in ccm_tls_cipher() 379 return rv; in ccm_tls_cipher() 386 int rv = 0; in ccm_cipher_internal() local 439 rv = 1; in ccm_cipher_internal() 442 return rv; in ccm_cipher_internal()
|
H A D | ciphercommon_gcm.c | 419 int rv = 0; in gcm_cipher_internal() local 466 rv = 1; in gcm_cipher_internal() 469 return rv; in gcm_cipher_internal() 538 int rv = 0; in gcm_tls_cipher() local 590 rv = 1; in gcm_tls_cipher() 595 return rv; in gcm_tls_cipher()
|
/openssl/test/ |
H A D | drbgtest.c | 335 int rv = 0, status; in test_drbg_reseed_in_child() local 368 rv = 1; in test_drbg_reseed_in_child() 374 return rv; in test_drbg_reseed_in_child() 388 rv = 1; in test_drbg_reseed_in_child() 395 exit(rv == 0); in test_drbg_reseed_in_child() 552 int rv = 0; in test_rand_reseed() local 660 rv = 1; in test_rand_reseed() 663 return rv; in test_rand_reseed()
|
H A D | quic_client_test.c | 182 int rv; in test_quic_client_connect_first() local 201 rv = test_quic_client_ex(c_fd); in test_quic_client_connect_first() 205 return (rv); in test_quic_client_connect_first()
|
H A D | bio_prefix_text.c | 261 int rv = EXIT_SUCCESS; in main() local 264 rv = (setup() && run_pipe()) ? EXIT_SUCCESS : EXIT_FAILURE; in main() 266 return rv; in main()
|
H A D | fake_rsaprov.c | 619 int rv = 0; in fake_rsa_st_load() local 643 rv = object_cb(params, object_cbarg); in fake_rsa_st_load() 656 TEST_info("fake_rsa_load called - rv: %d", rv); in fake_rsa_st_load() 658 if (rv == 0 && key_deleted == 0) { in fake_rsa_st_load() 662 return rv; in fake_rsa_st_load()
|
/openssl/crypto/x509/ |
H A D | v3_utl.c | 836 int rv = 0; in do_check_string() local 846 rv = 1; in do_check_string() 847 if (rv > 0 && peername != NULL) { in do_check_string() 863 rv = equal(astr, astrlen, (unsigned char *)b, blen, flags); in do_check_string() 864 if (rv > 0 && peername != NULL) { in do_check_string() 873 return rv; in do_check_string() 885 int rv = 0; in do_x509_check() local 983 if (rv != 0) in do_x509_check() 984 return rv; in do_x509_check() 1000 if ((rv = do_check_string(str, -1, equal, flags, in do_x509_check() [all …]
|
/openssl/crypto/pkcs12/ |
H A D | p12_npas.c | 69 int rv = 0; in newpass_p12() local 124 rv = 1; in newpass_p12() 128 if (rv == 1) { in newpass_p12() 137 return rv; in newpass_p12()
|
/openssl/crypto/dsa/ |
H A D | dsa_ameth.c | 390 int rv = 0; in dsa_sig_print() local 402 rv = 1; in dsa_sig_print() 405 return rv; in dsa_sig_print() 440 int rv = 0; in dsa_pkey_export_to() local 471 rv = importer(to_keydata, selection, params); in dsa_pkey_export_to() 476 return rv; in dsa_pkey_export_to()
|
/openssl/providers/implementations/kem/ |
H A D | ec_kem.c | 68 int rv = 0; in eckey_check() local 90 rv = BN_mod(rem, priv, order, bnctx) in eckey_check() 96 return rv; in eckey_check() 237 int rv; in eckem_init() local 247 rv = recipient_key_set(ctx, ec); in eckem_init() 248 if (rv <= 0) in eckem_init() 249 return rv; in eckem_init()
|
/openssl/ssl/quic/ |
H A D | quic_thread_assist.c | 113 CRYPTO_THREAD_RETVAL rv; in ossl_quic_thread_assist_wait_stopped() local 124 if (!ossl_crypto_thread_native_join(qta->t, &rv)) { in ossl_quic_thread_assist_wait_stopped()
|
/openssl/providers/implementations/macs/ |
H A D | cmac_prov.c | 152 int rv; in cmac_setkey() local 163 rv = ossl_cmac_init(macctx->ctx, key, keylen, in cmac_setkey() 167 return rv; in cmac_setkey()
|
/openssl/crypto/http/ |
H A D | http_client.c | 919 int rv; in OSSL_HTTP_REQ_CTX_nbio_d2i() local 922 if ((rv = OSSL_HTTP_REQ_CTX_nbio(rctx)) != 1) in OSSL_HTTP_REQ_CTX_nbio_d2i() 923 return rv; in OSSL_HTTP_REQ_CTX_nbio_d2i() 980 int rv; in OSSL_HTTP_REQ_CTX_exchange() local 988 rv = OSSL_HTTP_REQ_CTX_nbio(rctx); in OSSL_HTTP_REQ_CTX_exchange() 989 if (rv != -1) in OSSL_HTTP_REQ_CTX_exchange() 997 if (rv == 0) { in OSSL_HTTP_REQ_CTX_exchange() 1395 int rv; in OSSL_HTTP_proxy_connect() local 1457 rv = BIO_wait(fbio, max_time, 100 /* milliseconds */); in OSSL_HTTP_proxy_connect() 1458 if (rv <= 0) { in OSSL_HTTP_proxy_connect() [all …]
|
/openssl/apps/ |
H A D | smime.c | 184 int vpmtouched = 0, rv = 0; in smime_main() local 670 rv = SMIME_write_PKCS7(out, p7, indata, flags); in smime_main() 672 rv = SMIME_write_PKCS7(out, p7, in, flags); in smime_main() 674 rv = PEM_write_bio_PKCS7_stream(out, p7, in, flags); in smime_main() 676 rv = i2d_PKCS7_bio_stream(out, p7, in, flags); in smime_main() 681 if (rv == 0) { in smime_main()
|
/openssl/apps/lib/ |
H A D | s_cb.c | 964 int i, rv; in set_cert_cb() local 998 print_chain_flags(ssl, rv); in set_cert_cb() 999 if (rv & CERT_PKEY_VALID) { in set_cert_cb() 1374 int rv = 0; in ssl_load_stores() local 1405 rv = 1; in ssl_load_stores() 1409 return rv; in ssl_load_stores() 1451 int rv, show_bits = 1, cert_md = 0; in security_callback_debug() local 1455 rv = sdb->old_cb(s, ctx, op, bits, nid, other, ex); in security_callback_debug() 1456 if (rv == 1 && sdb->verbose < 2) in security_callback_debug() 1558 BIO_printf(sdb->out, ": %s\n", rv ? "yes" : "no"); in security_callback_debug() [all …]
|