Lines Matching defs:tmp
50 && (s->s3.tmp.new_cipher->algorithm_auth & SSL_aNULL))
51 || (s->s3.tmp.new_cipher->algorithm_auth & (SSL_aSRP | SSL_aPSK)))
66 long alg_k = s->s3.tmp.new_cipher->algorithm_mkey;
279 } else if (!(s->s3.tmp.new_cipher->algorithm_auth
289 || ((s->s3.tmp.new_cipher->algorithm_mkey & SSL_PSK)
321 if (ske_expected || ((s->s3.tmp.new_cipher->algorithm_mkey & SSL_PSK)
447 st->hand_state = (s->s3.tmp.cert_req != 0) ? TLS_ST_CW_CERT
460 st->hand_state = (s->s3.tmp.cert_req != 0) ? TLS_ST_CW_CERT
466 st->hand_state = (s->s3.tmp.cert_req == 1) ? TLS_ST_CW_CERT_VRFY
567 if (s->s3.tmp.cert_req)
588 if (s->s3.tmp.cert_req == 1) {
796 s->session->cipher = s->s3.tmp.new_cipher;
800 if (s->s3.tmp.new_compression == NULL)
803 s->session->compress_meth = s->s3.tmp.new_compression->id;
1252 && (SSL_IS_DTLS(s) || s->s3.tmp.max_ver < TLS1_3_VERSION)) {
1333 if (SSL_IS_TLS13(s) && s->s3.tmp.new_cipher != NULL
1334 && s->s3.tmp.new_cipher->id != c->id) {
1371 s->s3.tmp.new_cipher = c;
1611 s->s3.tmp.min_ver = s->version;
1612 s->s3.tmp.max_ver = s->version;
1653 s->s3.tmp.new_compression = comp;
1736 if (s->ext.tls13_cookie_len == 0 && s->s3.tmp.pkey != NULL) {
1919 if ((clu->amask & s->s3.tmp.new_cipher->algorithm_auth) == 0) {
2015 if (s->s3.tmp.new_cipher->algorithm_auth & (SSL_aRSA | SSL_aDSS))
2103 if (s->s3.tmp.new_cipher->algorithm_auth & (SSL_aRSA | SSL_aDSS))
2168 if (s->s3.tmp.new_cipher->algorithm_auth & SSL_aECDSA)
2170 else if (s->s3.tmp.new_cipher->algorithm_auth & SSL_aRSA)
2187 alg_k = s->s3.tmp.new_cipher->algorithm_mkey;
2259 if (!tls1_lookup_md(s->ctx, s->s3.tmp.peer_sigalg, &md)) {
2313 if (!(s->s3.tmp.new_cipher->algorithm_auth & (SSL_aNULL | SSL_aSRP))
2341 s->s3.tmp.valid_flags[i] = 0;
2357 OPENSSL_free(s->s3.tmp.ctype);
2358 s->s3.tmp.ctype = NULL;
2359 s->s3.tmp.ctype_len = 0;
2397 if (!PACKET_memdup(&ctypes, &s->s3.tmp.ctype, &s->s3.tmp.ctype_len)) {
2438 s->s3.tmp.cert_req = 1;
2732 if (s->s3.tmp.new_cipher->algorithm_mkey & SSL_kSRP) {
2797 OPENSSL_free(s->s3.tmp.psk);
2798 s->s3.tmp.psk = tmppsk;
2799 s->s3.tmp.psklen = psklen;
2894 s->s3.tmp.pms = pms;
2895 s->s3.tmp.pmslen = pmslen;
3020 unsigned char shared_ukm[32], tmp[256];
3026 if ((s->s3.tmp.new_cipher->algorithm_auth & SSL_aGOST12) != 0)
3094 if (EVP_PKEY_encrypt(pkey_ctx, tmp, &msglen, pms, pmslen) <= 0) {
3101 || !WPACKET_sub_memcpy_u8(pkt, tmp, msglen)) {
3107 s->s3.tmp.pms = pms;
3108 s->s3.tmp.pmslen = pmslen;
3125 if ((s->s3.tmp.new_cipher->algorithm_enc & SSL_MAGMA) != 0)
3127 else if ((s->s3.tmp.new_cipher->algorithm_enc & SSL_KUZNYECHIK) != 0)
3241 s->s3.tmp.pms = pms;
3242 s->s3.tmp.pmslen = pmslen;
3286 alg_k = s->s3.tmp.new_cipher->algorithm_mkey;
3321 OPENSSL_clear_free(s->s3.tmp.pms, s->s3.tmp.pmslen);
3322 s->s3.tmp.pms = NULL;
3323 s->s3.tmp.pmslen = 0;
3325 OPENSSL_clear_free(s->s3.tmp.psk, s->s3.tmp.psklen);
3326 s->s3.tmp.psk = NULL;
3327 s->s3.tmp.psklen = 0;
3337 pms = s->s3.tmp.pms;
3338 pmslen = s->s3.tmp.pmslen;
3342 if (s->s3.tmp.new_cipher->algorithm_mkey & SSL_kSRP) {
3351 if (pms == NULL && !(s->s3.tmp.new_cipher->algorithm_mkey & SSL_kPSK)) {
3398 s->s3.tmp.pms = NULL;
3399 s->s3.tmp.pmslen = 0;
3411 if (!tls_choose_sigalg(s, 0) || s->s3.tmp.sigalg == NULL)
3480 s->s3.tmp.cert_req = 0;
3484 s->s3.tmp.cert_req = 2;
3517 (s->s3.tmp.cert_req == 2) ? NULL
3544 alg_k = s->s3.tmp.new_cipher->algorithm_mkey;
3545 alg_a = s->s3.tmp.new_cipher->algorithm_auth;
3727 if (DTLS_VERSION_GE(c->max_dtls, s->s3.tmp.max_ver)
3728 && DTLS_VERSION_LE(c->min_dtls, s->s3.tmp.max_ver))
3731 if (c->max_tls >= s->s3.tmp.max_ver
3732 && c->min_tls <= s->s3.tmp.max_ver)