Home
last modified time | relevance | path

Searched refs:alg_a (Results 1 – 12 of 12) sorted by relevance

/netbsd/crypto/external/bsd/openssl/dist/ssl/
H A Ds3_lib.c4136 unsigned long alg_k = 0, alg_a = 0, mask_k = 0, mask_a = 0; in ssl3_choose_cipher() local
4265 alg_a = c->algorithm_auth; in ssl3_choose_cipher()
4273 ok = (alg_k & mask_k) && (alg_a & mask_a); in ssl3_choose_cipher()
4276 ok, alg_k, alg_a, mask_k, mask_a, (void *)c, c->name); in ssl3_choose_cipher()
4295 if ((alg_k & SSL_kECDHE) && (alg_a & SSL_aECDSA) in ssl3_choose_cipher()
4327 uint32_t alg_k, alg_a = 0; in ssl3_get_req_cert_type() local
4333 ssl_set_sig_mask(&alg_a, s, SSL_SECOP_SIGALG_MASK); in ssl3_get_req_cert_type()
4355 if (!(alg_a & SSL_aDSS) in ssl3_get_req_cert_type()
4359 if (!(alg_a & SSL_aRSA) && !WPACKET_put_bytes_u8(pkt, SSL3_CT_RSA_SIGN)) in ssl3_get_req_cert_type()
4361 if (!(alg_a & SSL_aDSS) && !WPACKET_put_bytes_u8(pkt, SSL3_CT_DSS_SIGN)) in ssl3_get_req_cert_type()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/ssl/
H A Ds3_lib.c4144 unsigned long alg_k = 0, alg_a = 0, mask_k = 0, mask_a = 0; in ssl3_choose_cipher() local
4277 alg_a = c->algorithm_auth; in ssl3_choose_cipher()
4285 ok = (alg_k & mask_k) && (alg_a & mask_a); in ssl3_choose_cipher()
4288 alg_a, mask_k, mask_a, (void *)c, c->name); in ssl3_choose_cipher()
4310 if ((alg_k & SSL_kECDHE) && (alg_a & SSL_aECDSA) in ssl3_choose_cipher()
4340 uint32_t alg_k, alg_a = 0; in ssl3_get_req_cert_type() local
4346 ssl_set_sig_mask(&alg_a, s, SSL_SECOP_SIGALG_MASK); in ssl3_get_req_cert_type()
4370 if (!(alg_a & SSL_aRSA) && !WPACKET_put_bytes_u8(pkt, SSL3_CT_RSA_SIGN)) in ssl3_get_req_cert_type()
4374 if (!(alg_a & SSL_aDSS) && !WPACKET_put_bytes_u8(pkt, SSL3_CT_DSS_SIGN)) in ssl3_get_req_cert_type()
4383 && !(alg_a & SSL_aECDSA) in ssl3_get_req_cert_type()
/netbsd/crypto/external/bsd/openssl.old/dist/ssl/statem/
H A Dextensions.c1042 unsigned long alg_k, alg_a; in final_ec_pt_formats() local
1048 alg_a = s->s3->tmp.new_cipher->algorithm_auth; in final_ec_pt_formats()
1059 && ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA))) { in final_ec_pt_formats()
H A Dextensions_clnt.c119 unsigned long alg_k, alg_a; in use_ecc() local
134 alg_a = c->algorithm_auth; in use_ecc()
136 || (alg_a & SSL_aECDSA) in use_ecc()
H A Dstatem_clnt.c3591 long alg_k, alg_a; in ssl3_check_cert_and_algorithm() local
3594 alg_a = s->s3->tmp.new_cipher->algorithm_auth; in ssl3_check_cert_and_algorithm()
3597 if (!(alg_a & SSL_aCERT)) in ssl3_check_cert_and_algorithm()
3604 if (clu == NULL || (alg_a & clu->amask) == 0) { in ssl3_check_cert_and_algorithm()
H A Dstatem_srvr.c3356 unsigned long alg_a; in tls_process_cke_gost() local
3362 alg_a = s->s3->tmp.new_cipher->algorithm_auth; in tls_process_cke_gost()
3363 if (alg_a & SSL_aGOST12) { in tls_process_cke_gost()
3374 } else if (alg_a & SSL_aGOST01) { in tls_process_cke_gost()
H A Dextensions_srvr.c1387 unsigned long alg_a = s->s3->tmp.new_cipher->algorithm_auth; in tls_construct_stoc_ec_pt_formats() local
1388 int using_ecc = ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA)) in tls_construct_stoc_ec_pt_formats()
/netbsd/crypto/external/bsd/openssl/dist/ssl/statem/
H A Dextensions.c1035 unsigned long alg_k, alg_a; in final_ec_pt_formats() local
1041 alg_a = s->s3.tmp.new_cipher->algorithm_auth; in final_ec_pt_formats()
1052 && ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA))) { in final_ec_pt_formats()
H A Dextensions_clnt.c114 unsigned long alg_k, alg_a; in use_ecc() local
129 alg_a = c->algorithm_auth; in use_ecc()
131 || (alg_a & SSL_aECDSA) in use_ecc()
H A Dstatem_clnt.c3542 long alg_k, alg_a; in ssl3_check_cert_and_algorithm() local
3545 alg_a = s->s3.tmp.new_cipher->algorithm_auth; in ssl3_check_cert_and_algorithm()
3548 if (!(alg_a & SSL_aCERT)) in ssl3_check_cert_and_algorithm()
3555 if (clu == NULL || (alg_a & clu->amask) == 0) { in ssl3_check_cert_and_algorithm()
H A Dstatem_srvr.c3109 unsigned long alg_a; in tls_process_cke_gost() local
3115 alg_a = s->s3.tmp.new_cipher->algorithm_auth; in tls_process_cke_gost()
3116 if (alg_a & SSL_aGOST12) { in tls_process_cke_gost()
3127 } else if (alg_a & SSL_aGOST01) { in tls_process_cke_gost()
H A Dextensions_srvr.c1313 unsigned long alg_a = s->s3.tmp.new_cipher->algorithm_auth; in tls_construct_stoc_ec_pt_formats() local
1314 int using_ecc = ((alg_k & SSL_kECDHE) || (alg_a & SSL_aECDSA)) in tls_construct_stoc_ec_pt_formats()