Home
last modified time | relevance | path

Searched refs:pktype (Results 1 – 2 of 2) sorted by relevance

/openssl/ssl/statem/
H A Dstatem_lib.c406 int pktype = lu->sig; in tls_construct_cert_verify() local
408 if (pktype == NID_id_GostR3410_2001 in tls_construct_cert_verify()
409 || pktype == NID_id_GostR3410_2012_256 in tls_construct_cert_verify()
410 || pktype == NID_id_GostR3410_2012_512) in tls_construct_cert_verify()
542 int pktype = EVP_PKEY_get_id(pkey); in tls_process_cert_verify() local
543 if (pktype == NID_id_GostR3410_2001 in tls_process_cert_verify()
544 || pktype == NID_id_GostR3410_2012_256 in tls_process_cert_verify()
545 || pktype == NID_id_GostR3410_2012_512) { in tls_process_cert_verify()
/openssl/crypto/evp/
H A Dp_lib.c760 int pktype; in EVP_PKEY_assign() local
762 pktype = EVP_PKEY_type(type); in EVP_PKEY_assign()
763 if ((key != NULL) && (pktype == EVP_PKEY_EC || pktype == EVP_PKEY_SM2)) { in EVP_PKEY_assign()
773 if (curve == NID_sm2 && pktype == EVP_PKEY_EC) in EVP_PKEY_assign()
775 else if(curve != NID_sm2 && pktype == EVP_PKEY_SM2) in EVP_PKEY_assign()

Completed in 18 milliseconds