Home
last modified time | relevance | path

Searched refs:new_cipher (Results 1 – 14 of 14) sorted by relevance

/openssl/ssl/
H A Dt1_enc.c179 if ((s->s3.tmp.new_cipher->algorithm_enc in tls1_change_cipher_state()
201 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()
206 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_TLSTREE) in tls1_change_cipher_state()
218 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()
223 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_TLSTREE) in tls1_change_cipher_state()
335 if (s->s3.tmp.new_cipher->algorithm_mkey & SSL_kGOST18) in tls1_final_finish_mac()
H A Ds3_msg.c29 s->session->cipher = s->s3.tmp.new_cipher; in ssl3_do_change_cipher_spec()
H A Dtls13_enc.c329 s->session->cipher = s->s3.tmp.new_cipher; in tls13_setup_key_block()
397 if (s->s3.tmp.new_cipher != NULL) { in derive_secret_key_and_iv()
398 algenc = s->s3.tmp.new_cipher->algorithm_enc; in derive_secret_key_and_iv()
H A Dt1_lib.c935 unsigned long cid = s->s3.tmp.new_cipher->id; in tls1_shared_group()
1199 if (tls1_suiteb(s) && s->s3.tmp.new_cipher != NULL) { in tls1_check_group_id()
1200 unsigned long cid = s->s3.tmp.new_cipher->id; in tls1_check_group_id()
1816 if (clu->amask & s->s3.tmp.new_cipher->algorithm_auth) { in tls1_get_legacy_sigalg()
1825 if (idx == SSL_PKEY_GOST01 && s->s3.tmp.new_cipher->algorithm_auth != SSL_aGOST01) { in tls1_get_legacy_sigalg()
3566 if (s->s3.tmp.new_cipher->algorithm_auth & (SSL_aNULL | SSL_aPSK)) { in ssl_get_auto_dh()
3567 if (s->s3.tmp.new_cipher->strength_bits == 256) in ssl_get_auto_dh()
3725 || (clu->amask & s->s3.tmp.new_cipher->algorithm_auth) == 0 in tls12_get_cert_sigalg_idx()
3727 && (s->s3.tmp.new_cipher->algorithm_mkey & SSL_kRSA) != 0)) in tls12_get_cert_sigalg_idx()
3916 if (!(s->s3.tmp.new_cipher->algorithm_auth & SSL_aCERT)) in tls_choose_sigalg()
[all …]
H A Ds3_lib.c3672 cipher = sc->s3.tmp.new_cipher; in ssl3_ctrl()
4444 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl3_get_req_cert_type()
4676 if (s->s3.tmp.new_cipher == NULL) in ssl_get_algorithm2()
4678 alg2 = s->s3.tmp.new_cipher->algorithm2; in ssl_get_algorithm2()
4682 } else if (s->s3.tmp.new_cipher->algorithm_mkey & SSL_PSK) { in ssl_get_algorithm2()
4733 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl_generate_master_secret()
H A Dt1_trce.c1111 unsigned long alg_k = sc->s3.tmp.new_cipher->algorithm_mkey; in ssl_get_keyex()
H A Dssl_local.h1316 const SSL_CIPHER *new_cipher; member
H A Dssl_lib.c4600 if (s->s3.tmp.new_cipher->algorithm_auth & SSL_aECDSA) { in ssl_check_srvr_ecc_cert_and_alg()
5212 return sc->s3.tmp.new_cipher; in SSL_get_pending_cipher()
/openssl/ssl/statem/
H A Dstatem_clnt.c58 && (s->s3.tmp.new_cipher->algorithm_auth & SSL_aNULL)) in cert_req_allowed()
74 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()
855 s->session->cipher = s->s3.tmp.new_cipher; in ossl_statem_client_post_work()
1410 && s->s3.tmp.new_cipher->id != c->id) { in set_client_ciphersuite()
1451 s->s3.tmp.new_cipher = c; in set_client_ciphersuite()
2392 if (s->s3.tmp.new_cipher->algorithm_auth & SSL_aECDSA) in tls_process_ske_ecdhe()
2412 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_process_key_exchange()
3532 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_client_key_exchange()
3924 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl3_check_cert_and_algorithm()
[all …]
H A Dextensions_srvr.c828 || s->s3.tmp.new_cipher in tls_parse_ctos_cookie()
1360 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_stoc_ec_pt_formats()
1361 unsigned long alg_a = s->s3.tmp.new_cipher->algorithm_auth; in tls_construct_stoc_ec_pt_formats()
1584 if (s->s3.tmp.new_cipher->algorithm_mac == SSL_AEAD in tls_construct_stoc_etm()
1585 || s->s3.tmp.new_cipher->algorithm_enc == SSL_RC4 in tls_construct_stoc_etm()
1586 || s->s3.tmp.new_cipher->algorithm_enc == SSL_eGOST2814789CNT in tls_construct_stoc_etm()
1587 || s->s3.tmp.new_cipher->algorithm_enc == SSL_eGOST2814789CNT12 in tls_construct_stoc_etm()
1588 || s->s3.tmp.new_cipher->algorithm_enc == SSL_MAGMA in tls_construct_stoc_etm()
1589 || s->s3.tmp.new_cipher->algorithm_enc == SSL_KUZNYECHIK) { in tls_construct_stoc_etm()
1917 if (((s->s3.tmp.new_cipher->id & 0xFFFF) != 0x80 in tls_construct_stoc_cryptopro_bug()
[all …]
H A Dstatem_srvr.c351 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in send_server_key_exchange()
671 if (!(s->s3.tmp.new_cipher->algorithm_auth & in ossl_statem_server_write_transition()
816 s->session->cipher = s->s3.tmp.new_cipher; in ossl_statem_server_pre_work()
1341 if ((s->s3.tmp.new_cipher->algorithm_mkey & SSL_kSRP) && in ssl_check_srp_ext_ClientHello()
1828 && (s->s3.tmp.new_cipher == NULL in tls_early_post_process_client_hello()
1837 s->s3.tmp.new_cipher = cipher; in tls_early_post_process_client_hello()
2318 s->s3.tmp.new_cipher = cipher; in tls_post_process_client_hello()
2337 s->s3.tmp.new_cipher = s->session->cipher; in tls_post_process_client_hello()
2544 type = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_server_key_exchange()
3217 alg_a = s->s3.tmp.new_cipher->algorithm_auth; in tls_process_cke_gost()
[all …]
H A Dextensions_clnt.c1771 && s->s3.tmp.new_cipher->algorithm_mac != SSL_AEAD in tls_parse_stoc_etm()
1772 && s->s3.tmp.new_cipher->algorithm_enc != SSL_RC4 in tls_parse_stoc_etm()
1773 && s->s3.tmp.new_cipher->algorithm_enc != SSL_eGOST2814789CNT in tls_parse_stoc_etm()
1774 && s->s3.tmp.new_cipher->algorithm_enc != SSL_eGOST2814789CNT12 in tls_parse_stoc_etm()
1775 && s->s3.tmp.new_cipher->algorithm_enc != SSL_MAGMA in tls_parse_stoc_etm()
1776 && s->s3.tmp.new_cipher->algorithm_enc != SSL_KUZNYECHIK) in tls_parse_stoc_etm()
H A Dextensions.c1098 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in final_ec_pt_formats()
1099 alg_a = s->s3.tmp.new_cipher->algorithm_auth; in final_ec_pt_formats()
H A Dstatem_lib.c804 if (s->s3.tmp.new_cipher == NULL) { in tls_process_change_cipher_spec()

Completed in 106 milliseconds