Searched refs:new_cipher (Results 1 – 14 of 14) sorted by relevance
179 if ((s->s3.tmp.new_cipher->algorithm_enc in tls1_change_cipher_state()202 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()207 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_TLSTREE) in tls1_change_cipher_state()219 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()224 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_TLSTREE) in tls1_change_cipher_state()342 if (s->s3.tmp.new_cipher->algorithm_mkey & SSL_kGOST18) in tls1_final_finish_mac()
30 s->session->cipher = s->s3.tmp.new_cipher; in ssl3_do_change_cipher_spec()
330 s->session->cipher = s->s3.tmp.new_cipher; in tls13_setup_key_block()398 if (s->s3.tmp.new_cipher != NULL) { in derive_secret_key_and_iv()399 algenc = s->s3.tmp.new_cipher->algorithm_enc; in derive_secret_key_and_iv()
1020 unsigned long cid = s->s3.tmp.new_cipher->id; in tls1_shared_group()1719 if (tls1_suiteb(s) && s->s3.tmp.new_cipher != NULL) { in tls1_check_group_id()1720 unsigned long cid = s->s3.tmp.new_cipher->id; in tls1_check_group_id()2449 if (clu->amask & s->s3.tmp.new_cipher->algorithm_auth) { in tls1_get_legacy_sigalg()2458 if (idx == SSL_PKEY_GOST01 && s->s3.tmp.new_cipher->algorithm_auth != SSL_aGOST01) { in tls1_get_legacy_sigalg()4289 if (s->s3.tmp.new_cipher->algorithm_auth & (SSL_aNULL | SSL_aPSK)) { in ssl_get_auto_dh()4290 if (s->s3.tmp.new_cipher->strength_bits == 256) in ssl_get_auto_dh()4448 || (clu->amask & s->s3.tmp.new_cipher->algorithm_auth) == 0 in tls12_get_cert_sigalg_idx()4450 && (s->s3.tmp.new_cipher->algorithm_mkey & SSL_kRSA) != 0)) in tls12_get_cert_sigalg_idx()4641 if (!(s->s3.tmp.new_cipher->algorithm_auth & SSL_aCERT)) in tls_choose_sigalg()[all …]
4124 cipher = sc->s3.tmp.new_cipher; in ssl3_ctrl()4921 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl3_get_req_cert_type()5151 if (s->s3.tmp.new_cipher == NULL) in ssl_get_algorithm2()5153 alg2 = s->s3.tmp.new_cipher->algorithm2; in ssl_get_algorithm2()5157 } else if (s->s3.tmp.new_cipher->algorithm_mkey & SSL_PSK) { in ssl_get_algorithm2()5208 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl_generate_master_secret()
1125 unsigned long alg_k = sc->s3.tmp.new_cipher->algorithm_mkey; in ssl_get_keyex()
1357 const SSL_CIPHER *new_cipher; member
4682 if (s->s3.tmp.new_cipher->algorithm_auth & SSL_aECDSA) { in ssl_check_srvr_ecc_cert_and_alg()5299 return sc->s3.tmp.new_cipher; in SSL_get_pending_cipher()
59 && (s->s3.tmp.new_cipher->algorithm_auth & SSL_aNULL)) in cert_req_allowed()60 || (s->s3.tmp.new_cipher->algorithm_auth & (SSL_aSRP | SSL_aPSK))) in cert_req_allowed()75 long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in key_exchange_expected()304 } else if (!(s->s3.tmp.new_cipher->algorithm_auth in ossl_statem_client_read_transition()314 || ((s->s3.tmp.new_cipher->algorithm_mkey & SSL_PSK) in ossl_statem_client_read_transition()347 …if (ske_expected || ((s->s3.tmp.new_cipher->algorithm_mkey & SSL_PSK) && mt == SSL3_MT_SERVER_KEY_… in ossl_statem_client_read_transition()855 s->session->cipher = s->s3.tmp.new_cipher; in ossl_statem_client_post_work()1419 if (SSL_CONNECTION_IS_TLS13(s) && s->s3.tmp.new_cipher != NULL in set_client_ciphersuite()1420 && s->s3.tmp.new_cipher->id != c->id) { in set_client_ciphersuite()1461 s->s3.tmp.new_cipher = c; in set_client_ciphersuite()[all …]
1110 || s->s3.tmp.new_cipher in tls_parse_ctos_cookie()1160 || !ssl->method->put_cipher_by_char(s->s3.tmp.new_cipher, &hrrpkt, in tls_parse_ctos_cookie()1499 s->s3.tmp.new_cipher->algorithm2)))) { in tls_parse_ctos_psk()1645 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_stoc_ec_pt_formats()1646 unsigned long alg_a = s->s3.tmp.new_cipher->algorithm_auth; in tls_construct_stoc_ec_pt_formats()1869 if (s->s3.tmp.new_cipher->algorithm_mac == SSL_AEAD in tls_construct_stoc_etm()1870 || s->s3.tmp.new_cipher->algorithm_enc == SSL_RC4 in tls_construct_stoc_etm()1871 || s->s3.tmp.new_cipher->algorithm_enc == SSL_eGOST2814789CNT in tls_construct_stoc_etm()1872 || s->s3.tmp.new_cipher->algorithm_enc == SSL_eGOST2814789CNT12 in tls_construct_stoc_etm()1873 || s->s3.tmp.new_cipher->algorithm_enc == SSL_MAGMA in tls_construct_stoc_etm()[all …]
353 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in send_server_key_exchange()436 && (!(s->s3.tmp.new_cipher->algorithm_auth & SSL_aNULL) in send_certificate_request()444 && !(s->s3.tmp.new_cipher->algorithm_auth & SSL_aSRP) in send_certificate_request()449 && !(s->s3.tmp.new_cipher->algorithm_auth & SSL_aPSK)) { in send_certificate_request()672 if (!(s->s3.tmp.new_cipher->algorithm_auth & (SSL_aNULL | SSL_aSRP | SSL_aPSK))) { in ossl_statem_server_write_transition()816 s->session->cipher = s->s3.tmp.new_cipher; in ossl_statem_server_pre_work()817 } else if (s->session->cipher != s->s3.tmp.new_cipher) { in ossl_statem_server_pre_work()1356 …if ((s->s3.tmp.new_cipher->algorithm_mkey & SSL_kSRP) && (s->srp_ctx.TLS_ext_srp_username_callback… in ssl_check_srp_ext_ClientHello()1862 && (s->s3.tmp.new_cipher == NULL in tls_early_post_process_client_hello()1863 || s->s3.tmp.new_cipher->id != cipher->id)) { in tls_early_post_process_client_hello()[all …]
1813 && s->s3.tmp.new_cipher->algorithm_mac != SSL_AEAD in tls_parse_stoc_etm()1814 && s->s3.tmp.new_cipher->algorithm_enc != SSL_RC4 in tls_parse_stoc_etm()1815 && s->s3.tmp.new_cipher->algorithm_enc != SSL_eGOST2814789CNT in tls_parse_stoc_etm()1816 && s->s3.tmp.new_cipher->algorithm_enc != SSL_eGOST2814789CNT12 in tls_parse_stoc_etm()1817 && s->s3.tmp.new_cipher->algorithm_enc != SSL_MAGMA in tls_parse_stoc_etm()1818 && s->s3.tmp.new_cipher->algorithm_enc != SSL_KUZNYECHIK) in tls_parse_stoc_etm()
1043 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in final_ec_pt_formats()1044 alg_a = s->s3.tmp.new_cipher->algorithm_auth; in final_ec_pt_formats()
814 if (s->s3.tmp.new_cipher == NULL) { in tls_process_change_cipher_spec()