Home
last modified time | relevance | path

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

/third_party/openssl/ssl/statem/
Dstatem_clnt.c46 && (s->s3->tmp.new_cipher->algorithm_auth & SSL_aNULL)) in cert_req_allowed()
47 || (s->s3->tmp.new_cipher->algorithm_auth & (SSL_aSRP | SSL_aPSK))) in cert_req_allowed()
62 long alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in key_exchange_expected()
274 } else if (!(s->s3->tmp.new_cipher->algorithm_auth in ossl_statem_client_read_transition()
284 || ((s->s3->tmp.new_cipher->algorithm_mkey & SSL_PSK) in ossl_statem_client_read_transition()
316 if (ske_expected || ((s->s3->tmp.new_cipher->algorithm_mkey & SSL_PSK) in ossl_statem_client_read_transition()
799 s->session->cipher = s->s3->tmp.new_cipher; in ossl_statem_client_post_work()
1357 if (SSL_IS_TLS13(s) && s->s3->tmp.new_cipher != NULL in set_client_ciphersuite()
1358 && s->s3->tmp.new_cipher->id != c->id) { in set_client_ciphersuite()
1395 s->s3->tmp.new_cipher = c; in set_client_ciphersuite()
[all …]
Dextensions_srvr.c842 || s->s3->tmp.new_cipher in tls_parse_ctos_cookie()
894 || !s->method->put_cipher_by_char(s->s3->tmp.new_cipher, &hrrpkt, in tls_parse_ctos_cookie()
1239 if (md != ssl_md(s->s3->tmp.new_cipher->algorithm2)) { in tls_parse_ctos_psk()
1387 unsigned long alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in tls_construct_stoc_ec_pt_formats()
1388 unsigned long alg_a = s->s3->tmp.new_cipher->algorithm_auth; in tls_construct_stoc_ec_pt_formats()
1623 if (s->s3->tmp.new_cipher->algorithm_mac == SSL_AEAD in tls_construct_stoc_etm()
1624 || s->s3->tmp.new_cipher->algorithm_enc == SSL_RC4 in tls_construct_stoc_etm()
1625 || s->s3->tmp.new_cipher->algorithm_enc == SSL_eGOST2814789CNT in tls_construct_stoc_etm()
1626 || s->s3->tmp.new_cipher->algorithm_enc == SSL_eGOST2814789CNT12) { in tls_construct_stoc_etm()
1799 || !s->method->put_cipher_by_char(s->s3->tmp.new_cipher, pkt, in tls_construct_stoc_cookie()
[all …]
Dstatem_srvr.c326 unsigned long alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in send_server_key_exchange()
388 && (!(s->s3->tmp.new_cipher->algorithm_auth & SSL_aNULL) in send_certificate_request()
396 && !(s->s3->tmp.new_cipher->algorithm_auth & SSL_aSRP) in send_certificate_request()
401 && !(s->s3->tmp.new_cipher->algorithm_auth & SSL_aPSK)) { in send_certificate_request()
608 if (!(s->s3->tmp.new_cipher->algorithm_auth & in ossl_statem_server_write_transition()
748 s->session->cipher = s->s3->tmp.new_cipher; in ossl_statem_server_pre_work()
749 } else if (s->session->cipher != s->s3->tmp.new_cipher) { in ossl_statem_server_pre_work()
1257 if ((s->s3->tmp.new_cipher->algorithm_mkey & SSL_kSRP) && in ssl_check_srp_ext_ClientHello()
1785 && (s->s3->tmp.new_cipher == NULL in tls_early_post_process_client_hello()
1786 || s->s3->tmp.new_cipher->id != cipher->id)) { in tls_early_post_process_client_hello()
[all …]
Dextensions_clnt.c1743 && s->s3->tmp.new_cipher->algorithm_mac != SSL_AEAD in tls_parse_stoc_etm()
1744 && s->s3->tmp.new_cipher->algorithm_enc != SSL_RC4 in tls_parse_stoc_etm()
1745 && s->s3->tmp.new_cipher->algorithm_enc != SSL_eGOST2814789CNT in tls_parse_stoc_etm()
1746 && s->s3->tmp.new_cipher->algorithm_enc != SSL_eGOST2814789CNT12) in tls_parse_stoc_etm()
Dextensions.c1047 alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in final_ec_pt_formats()
1048 alg_a = s->s3->tmp.new_cipher->algorithm_auth; in final_ec_pt_formats()
Dstatem_lib.c730 if (s->s3->tmp.new_cipher == NULL) { in tls_process_change_cipher_spec()
/third_party/openssl/ssl/record/
Dssl3_record_tls13.c87 if (!ossl_assert(s->s3->tmp.new_cipher != NULL)) { in tls13_enc()
92 alg_enc = s->s3->tmp.new_cipher->algorithm_enc; in tls13_enc()
/third_party/openssl/test/
Dtls13encryptiontest.c353 s->s3->tmp.new_cipher = SSL_CIPHER_find(s, TLS13_AES_128_GCM_SHA256_BYTES); in test_tls13_encryption()
354 if (!TEST_ptr(s->s3->tmp.new_cipher)) { in test_tls13_encryption()
/third_party/openssl/ssl/
Dt1_lib.c298 unsigned long cid = s->s3->tmp.new_cipher->id; in tls1_shared_group()
491 if (tls1_suiteb(s) && s->s3->tmp.new_cipher != NULL) { in tls1_check_group_id()
492 unsigned long cid = s->s3->tmp.new_cipher->id; in tls1_check_group_id()
869 if (clu->amask & s->s3->tmp.new_cipher->algorithm_auth) { in tls1_get_legacy_sigalg()
878 if (idx == SSL_PKEY_GOST01 && s->s3->tmp.new_cipher->algorithm_auth != SSL_aGOST01) { in tls1_get_legacy_sigalg()
2447 if (s->s3->tmp.new_cipher->algorithm_auth & (SSL_aNULL | SSL_aPSK)) { in ssl_get_auto_dh()
2448 if (s->s3->tmp.new_cipher->strength_bits == 256) in ssl_get_auto_dh()
2587 || (clu->amask & s->s3->tmp.new_cipher->algorithm_auth) == 0 in tls12_get_cert_sigalg_idx()
2589 && (s->s3->tmp.new_cipher->algorithm_mkey & SSL_kRSA) != 0)) in tls12_get_cert_sigalg_idx()
2765 if (!(s->s3->tmp.new_cipher->algorithm_auth & SSL_aCERT)) in tls_choose_sigalg()
[all …]
Ds3_msg.c28 s->session->cipher = s->s3->tmp.new_cipher; in ssl3_do_change_cipher_spec()
Dt1_enc.c111 if (s->s3->tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()
159 if (s->s3->tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()
287 new_cipher->algorithm_enc & (SSL_AES128CCM8 | SSL_AES256CCM8)) in tls1_change_cipher_state()
Dtls13_enc.c347 s->session->cipher = s->s3->tmp.new_cipher; in tls13_setup_key_block()
393 if (s->s3->tmp.new_cipher != NULL) { in derive_secret_key_and_iv()
394 algenc = s->s3->tmp.new_cipher->algorithm_enc; in derive_secret_key_and_iv()
Ds3_lib.c3581 cipher = s->s3->tmp.new_cipher; in ssl3_ctrl()
4336 alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in ssl3_get_req_cert_type()
4545 if (s->s3 == NULL || s->s3->tmp.new_cipher == NULL) in ssl_get_algorithm2()
4547 alg2 = s->s3->tmp.new_cipher->algorithm2; in ssl_get_algorithm2()
4551 } else if (s->s3->tmp.new_cipher->algorithm_mkey & SSL_PSK) { in ssl_get_algorithm2()
4601 unsigned long alg_k = s->s3->tmp.new_cipher->algorithm_mkey; in ssl_generate_master_secret()
Dt1_trce.c1042 unsigned long alg_k = ssl->s3->tmp.new_cipher->algorithm_mkey; in ssl_get_keyex()
Dssl_local.h1579 const SSL_CIPHER *new_cipher; member
Dssl_lib.c3470 if (s->s3->tmp.new_cipher->algorithm_auth & SSL_aECDSA) { in ssl_check_srvr_ecc_cert_and_alg()
3995 return s->s3->tmp.new_cipher; in SSL_get_pending_cipher()