Searched refs:new_cipher (Results 1 – 17 of 17) sorted by relevance
36 switch (s->s3.tmp.new_cipher->algorithm_enc) { in ktls_check_supported_cipher()44 switch (s->s3.tmp.new_cipher->algorithm_mac) { in ktls_check_supported_cipher()65 switch (s->s3.tmp.new_cipher->algorithm_enc) { in ktls_configure_crypto()76 switch (s->s3.tmp.new_cipher->algorithm_mac) { in ktls_configure_crypto()
226 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()231 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_TLSTREE) in tls1_change_cipher_state()279 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_STREAM_MAC) in tls1_change_cipher_state()284 if (s->s3.tmp.new_cipher->algorithm2 & TLS1_TLSTREE) in tls1_change_cipher_state()404 new_cipher->algorithm_enc & (SSL_AES128CCM8 | SSL_AES256CCM8)) in tls1_change_cipher_state()614 if (s->s3.tmp.new_cipher->algorithm_mkey & SSL_kGOST18) in tls1_final_finish_mac()
28 s->session->cipher = s->s3.tmp.new_cipher; in ssl3_do_change_cipher_spec()
611 unsigned long cid = s->s3.tmp.new_cipher->id; in tls1_shared_group()781 if (tls1_suiteb(s) && s->s3.tmp.new_cipher != NULL) { in tls1_check_group_id()782 unsigned long cid = s->s3.tmp.new_cipher->id; in tls1_check_group_id()1272 if (clu->amask & s->s3.tmp.new_cipher->algorithm_auth) { in tls1_get_legacy_sigalg()1281 if (idx == SSL_PKEY_GOST01 && s->s3.tmp.new_cipher->algorithm_auth != SSL_aGOST01) { in tls1_get_legacy_sigalg()2895 if (s->s3.tmp.new_cipher->algorithm_auth & (SSL_aNULL | SSL_aPSK)) { in ssl_get_auto_dh()2896 if (s->s3.tmp.new_cipher->strength_bits == 256) in ssl_get_auto_dh()3042 || (clu->amask & s->s3.tmp.new_cipher->algorithm_auth) == 0 in tls12_get_cert_sigalg_idx()3044 && (s->s3.tmp.new_cipher->algorithm_mkey & SSL_kRSA) != 0)) in tls12_get_cert_sigalg_idx()3226 if (!(s->s3.tmp.new_cipher->algorithm_auth & SSL_aCERT)) in tls_choose_sigalg()[all …]
313 s->session->cipher = s->s3.tmp.new_cipher; in tls13_setup_key_block()360 if (s->s3.tmp.new_cipher != NULL) { in derive_secret_key_and_iv()361 algenc = s->s3.tmp.new_cipher->algorithm_enc; in derive_secret_key_and_iv()
3580 cipher = s->s3.tmp.new_cipher; in ssl3_ctrl()4314 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl3_get_req_cert_type()4522 if (s->s3.tmp.new_cipher == NULL) in ssl_get_algorithm2()4524 alg2 = s->s3.tmp.new_cipher->algorithm2; in ssl_get_algorithm2()4528 } else if (s->s3.tmp.new_cipher->algorithm_mkey & SSL_PSK) { in ssl_get_algorithm2()4578 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl_generate_master_secret()
1053 unsigned long alg_k = ssl->s3.tmp.new_cipher->algorithm_mkey; in ssl_get_keyex()
1309 const SSL_CIPHER *new_cipher; member
3648 if (s->s3.tmp.new_cipher->algorithm_auth & SSL_aECDSA) { in ssl_check_srvr_ecc_cert_and_alg()4171 return s->s3.tmp.new_cipher; in SSL_get_pending_cipher()
50 && (s->s3.tmp.new_cipher->algorithm_auth & SSL_aNULL)) in cert_req_allowed()66 long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in key_exchange_expected()279 } else if (!(s->s3.tmp.new_cipher->algorithm_auth in ossl_statem_client_read_transition()796 s->session->cipher = s->s3.tmp.new_cipher; in ossl_statem_client_post_work()1333 if (SSL_IS_TLS13(s) && s->s3.tmp.new_cipher != NULL in set_client_ciphersuite()1334 && s->s3.tmp.new_cipher->id != c->id) { in set_client_ciphersuite()1369 s->s3.tmp.new_cipher = c; in set_client_ciphersuite()2180 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_process_key_exchange()3276 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_client_key_exchange()3534 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in ssl3_check_cert_and_algorithm()[all …]
783 || s->s3.tmp.new_cipher in tls_parse_ctos_cookie()1302 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_stoc_ec_pt_formats()1303 unsigned long alg_a = s->s3.tmp.new_cipher->algorithm_auth; in tls_construct_stoc_ec_pt_formats()1523 if (s->s3.tmp.new_cipher->algorithm_mac == SSL_AEAD in tls_construct_stoc_etm()1524 || s->s3.tmp.new_cipher->algorithm_enc == SSL_RC4 in tls_construct_stoc_etm()1525 || s->s3.tmp.new_cipher->algorithm_enc == SSL_eGOST2814789CNT in tls_construct_stoc_etm()1526 || s->s3.tmp.new_cipher->algorithm_enc == SSL_eGOST2814789CNT12 in tls_construct_stoc_etm()1527 || s->s3.tmp.new_cipher->algorithm_enc == SSL_MAGMA in tls_construct_stoc_etm()1528 || s->s3.tmp.new_cipher->algorithm_enc == SSL_KUZNYECHIK) { in tls_construct_stoc_etm()1846 if (((s->s3.tmp.new_cipher->id & 0xFFFF) != 0x80 in tls_construct_stoc_cryptopro_bug()[all …]
325 unsigned long alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in send_server_key_exchange()609 if (!(s->s3.tmp.new_cipher->algorithm_auth & in ossl_statem_server_write_transition()751 s->session->cipher = s->s3.tmp.new_cipher; in ossl_statem_server_pre_work()1250 if ((s->s3.tmp.new_cipher->algorithm_mkey & SSL_kSRP) && in ssl_check_srp_ext_ClientHello()1746 && (s->s3.tmp.new_cipher == NULL in tls_early_post_process_client_hello()1755 s->s3.tmp.new_cipher = cipher; in tls_early_post_process_client_hello()2224 s->s3.tmp.new_cipher = cipher; in tls_post_process_client_hello()2243 s->s3.tmp.new_cipher = s->session->cipher; in tls_post_process_client_hello()2446 type = s->s3.tmp.new_cipher->algorithm_mkey; in tls_construct_server_key_exchange()3115 alg_a = s->s3.tmp.new_cipher->algorithm_auth; in tls_process_cke_gost()[all …]
1017 alg_k = s->s3.tmp.new_cipher->algorithm_mkey; in final_ec_pt_formats()1018 alg_a = s->s3.tmp.new_cipher->algorithm_auth; in final_ec_pt_formats()
1680 && s->s3.tmp.new_cipher->algorithm_mac != SSL_AEAD in tls_parse_stoc_etm()1681 && s->s3.tmp.new_cipher->algorithm_enc != SSL_RC4) in tls_parse_stoc_etm()
751 if (s->s3.tmp.new_cipher == NULL) { in tls_process_change_cipher_spec()
83 if (!ossl_assert(s->s3.tmp.new_cipher != NULL)) { in tls13_enc()87 alg_enc = s->s3.tmp.new_cipher->algorithm_enc; in tls13_enc()
342 s->s3.tmp.new_cipher = SSL_CIPHER_find(s, TLS13_AES_128_GCM_SHA256_BYTES); in test_tls13_encryption()343 if (!TEST_ptr(s->s3.tmp.new_cipher)) { in test_tls13_encryption()
Completed in 67 milliseconds