Lines Matching refs:rv
2428 int rv = 0; in tls_decrypt_ticket() local
2431 rv = tctx->ext.ticket_key_evp_cb(SSL_CONNECTION_GET_USER_SSL(s), in tls_decrypt_ticket()
2440 rv = tctx->ext.ticket_key_cb(SSL_CONNECTION_GET_USER_SSL(s), nctick, in tls_decrypt_ticket()
2444 if (rv < 0) { in tls_decrypt_ticket()
2448 if (rv == 0) { in tls_decrypt_ticket()
2452 if (rv == 2) in tls_decrypt_ticket()
2751 int rv = 0; in tls12_copy_sigalgs() local
2765 if (rv == 0 && (!SSL_CONNECTION_IS_TLS13(s) in tls12_copy_sigalgs()
2769 rv = 1; in tls12_copy_sigalgs()
2771 if (rv == 0) in tls12_copy_sigalgs()
2773 return rv; in tls12_copy_sigalgs()
3272 int rv = 0; in tls1_check_chain() local
3301 *pvalid = rv = CERT_PKEY_RPK; in tls1_check_chain()
3302 return rv; in tls1_check_chain()
3332 rv |= CERT_PKEY_SUITEB; in tls1_check_chain()
3414 rv |= CERT_PKEY_EE_SIGNATURE; in tls1_check_chain()
3419 rv |= CERT_PKEY_EE_SIGNATURE; in tls1_check_chain()
3420 rv |= CERT_PKEY_CA_SIGNATURE; in tls1_check_chain()
3424 rv &= ~CERT_PKEY_CA_SIGNATURE; in tls1_check_chain()
3433 rv |= CERT_PKEY_EE_SIGNATURE | CERT_PKEY_CA_SIGNATURE; in tls1_check_chain()
3437 rv |= CERT_PKEY_EE_PARAM; in tls1_check_chain()
3441 rv |= CERT_PKEY_CA_PARAM; in tls1_check_chain()
3444 rv |= CERT_PKEY_CA_PARAM; in tls1_check_chain()
3449 rv &= ~CERT_PKEY_CA_PARAM; in tls1_check_chain()
3473 rv |= CERT_PKEY_CERT_TYPE; in tls1_check_chain()
3477 if (!(rv & CERT_PKEY_CERT_TYPE) && !check_flags) in tls1_check_chain()
3480 rv |= CERT_PKEY_CERT_TYPE; in tls1_check_chain()
3488 rv |= CERT_PKEY_ISSUER_NAME; in tls1_check_chain()
3494 rv |= CERT_PKEY_ISSUER_NAME; in tls1_check_chain()
3499 if (!check_flags && !(rv & CERT_PKEY_ISSUER_NAME)) in tls1_check_chain()
3502 rv |= CERT_PKEY_ISSUER_NAME | CERT_PKEY_CERT_TYPE; in tls1_check_chain()
3504 if (!check_flags || (rv & check_flags) == check_flags) in tls1_check_chain()
3505 rv |= CERT_PKEY_VALID; in tls1_check_chain()
3510 rv |= *pvalid & (CERT_PKEY_EXPLICIT_SIGN | CERT_PKEY_SIGN); in tls1_check_chain()
3512 rv |= CERT_PKEY_SIGN | CERT_PKEY_EXPLICIT_SIGN; in tls1_check_chain()
3519 if (rv & CERT_PKEY_VALID) { in tls1_check_chain()
3520 *pvalid = rv; in tls1_check_chain()
3527 return rv; in tls1_check_chain()
3688 int rv, start_idx, i; in ssl_security_cert_chain() local
3698 rv = ssl_security_cert(s, NULL, x, vfy, 1); in ssl_security_cert_chain()
3699 if (rv != 1) in ssl_security_cert_chain()
3700 return rv; in ssl_security_cert_chain()
3704 rv = ssl_security_cert(s, NULL, x, vfy, 0); in ssl_security_cert_chain()
3705 if (rv != 1) in ssl_security_cert_chain()
3706 return rv; in ssl_security_cert_chain()