o
    c&                     @   s  d dl Z de je fddZde je fddZde je fddZde je fd	d
Zde je fddZde je fddZde je fddZ	de je fddZ
de je fddZde je fddZde je fddZde je fddZde je fddZde je fddZde je fdd Zde je fd!d"Zde je fd#d$Zde je fd%d&Zde je fd'd(Zde je fd)d*Zde je fd+d,Zde je fd-d.Zde je fd/d0Zde je fd1d2Zde je fd3d4Zde je fd5d6Zde je fd7d8Zde je fd9d:Zde je fd;d<Zde je fd=d>Z de je fd?d@Z!de je fdAdBZ"de je fdCdDZ#de je fdEdFZ$de je fdGdHZ%de je fdIdJZ&de je fdKdLZ'de je fdMdNZ(de je fdOdPZ)i dQedRedSedTedUedVedWe	dXe
dYedZed[ed\ed]ed^ed_ed`edaei dbedceddedeedfedgedhediedjedkedledmedne doe!dpe"dqe#dre$e%e&e'e(e)dsZ*dS )t    Nreturnc                   C      dgS )N$EC_POINT_get_affine_coordinates_GF2m r   r   r   ^/opt/certbot/lib/python3.10/site-packages/cryptography/hazmat/bindings/openssl/_conditional.pycryptography_has_ec2m      r   c                   C      g dS )N)SSLv3_methodSSLv3_client_methodSSLv3_server_methodr   r   r   r   r   cryptography_has_ssl3_method      r   c                   C      ddgS )NSSL_CTX_set_cert_cbSSL_set_cert_cbr   r   r   r   r   cryptography_has_set_cert_cb      r   c                   C   r	   )N)SSL_ST_BEFORE	SSL_ST_OKSSL_ST_INITSSL_ST_RENEGOTIATEr   r   r   r   r   cryptography_has_ssl_st   r   r   c                   C   r   )NTLS_ST_BEFORE	TLS_ST_OKr   r   r   r   r   cryptography_has_tls_st&   r   r   c                   C   r   )NEVP_PKEY_set_alias_typer   r   r   r   r   (cryptography_has_evp_pkey_set_alias_type-   r   r   c                   C   r   )NEVP_PBE_scryptr   r   r   r   r   cryptography_has_scrypt3   r   r   c                   C   r	   )N)EVP_PKEY_DHXd2i_DHxparams_bioi2d_DHxparams_bior   r   r   r   r   cryptography_has_evp_pkey_dhx9   r   r#   c                   C   r   )N%Cryptography_CRYPTO_set_mem_functionsr   r   r   r   r   cryptography_has_mem_functionsA   r   r%   c                   C   r   )NX509_STORE_set_get_issuerr   r   r   r   r   *cryptography_has_x509_store_ctx_get_issuerG   r   r'   c                   C   r   )NEVP_PKEY_ED448	NID_ED448r   r   r   r   r   cryptography_has_ed448M   r   r*   c                   C   r   )NNID_ED25519EVP_PKEY_ED25519r   r   r   r   r   cryptography_has_ed25519T   r   r-   c                   C   r   )NNID_poly1305EVP_PKEY_POLY1305r   r   r   r   r   cryptography_has_poly1305[   r   r0   c                   C   r   )NEVP_DigestFinalXOFr   r   r   r   r   $cryptography_has_evp_digestfinal_xofb   r   r2   c                   C   r   )NEVP_PKEY_get1_tls_encodedpointEVP_PKEY_set1_tls_encodedpointr   r   r   r   r   2cryptography_has_evp_pkey_get_set_tls_encodedpointh   r   r5   c                   C   r   )NFIPS_mode_set	FIPS_moder   r   r   r   r   cryptography_has_fipso   r   r8   c                   C   r   )NSSL_CTX_set1_sigalgs_listr   r   r   r   r   cryptography_has_ssl_sigalgsv   r   r:   c                   C   r	   )N)SSL_CTX_use_psk_identity_hintSSL_CTX_set_psk_server_callbackSSL_CTX_set_psk_client_callbackr   r   r   r   r   cryptography_has_psk|   r   r>   c                   C   r	   )N)%SSL_CTX_set_psk_find_session_callback$SSL_CTX_set_psk_use_session_callbackCryptography_SSL_SESSION_newSSL_CIPHER_findSSL_SESSION_set1_master_keySSL_SESSION_set_cipher SSL_SESSION_set_protocol_versionr   r   r   r   r   cryptography_has_psk_tlsv13   r   rF   c                   C   r	   )N)SSL_CTX_add_client_custom_extSSL_CTX_add_server_custom_extSSL_extension_supportedr   r   r   r   r   cryptography_has_custom_ext   r   rJ   c                   C   r   )NOPENSSL_cleanupr   r   r   r   r    cryptography_has_openssl_cleanup   r   rL   c                   C   r	   )N)	SSL_VERIFY_POST_HANDSHAKESSL_CTX_set_ciphersuites SSL_verify_client_post_handshakeSSL_CTX_set_post_handshake_authSSL_set_post_handshake_authSSL_SESSION_get_max_early_dataSSL_write_early_dataSSL_read_early_dataSSL_CTX_set_max_early_datar   r   r   r   r   !cryptography_has_tlsv13_functions   r   rV   c                   C   r	   )N)EVP_PKEY_new_raw_private_keyEVP_PKEY_new_raw_public_keyEVP_PKEY_get_raw_private_keyEVP_PKEY_get_raw_public_keyr   r   r   r   r   cryptography_has_raw_key   r   r[   c                   C   r	   )N)ENGINE_by_idENGINE_initENGINE_finishENGINE_get_default_RANDENGINE_set_default_RANDENGINE_unregister_RANDENGINE_ctrl_cmdENGINE_freeENGINE_get_name Cryptography_add_osrandom_engineENGINE_ctrl_cmd_stringENGINE_load_builtin_enginesENGINE_load_private_keyENGINE_load_public_keySSL_CTX_set_client_cert_enginer   r   r   r   r   cryptography_has_engine   r   rk   c                   C   r   )NSSL_get0_verified_chainr   r   r   r   r   cryptography_has_verified_chain   r   rm   c                   C   r	   )N)SSL_CTX_set_tlsext_use_srtpSSL_set_tlsext_use_srtpSSL_get_selected_srtp_profiler   r   r   r   r   cryptography_has_srtp   r   rq   c                   C   r	   )N)OSSL_PROVIDER_loadOSSL_PROVIDER_unloadERR_LIB_PROVPROV_R_WRONG_FINAL_BLOCK_LENGTHPROV_R_BAD_DECRYPTr   r   r   r   r   cryptography_has_providers   r   rw   c                   C   r   )NSSL_OP_NO_RENEGOTIATIONr   r   r   r   r   $cryptography_has_op_no_renegotiation   r   ry   c                   C   r   )NDTLS_get_data_mtur   r   r   r   r   "cryptography_has_dtls_get_data_mtu   r   r{   c                   C   r   )N&EVP_default_properties_is_fips_enabled"EVP_default_properties_enable_fipsr   r   r   r   r   cryptography_has_300_fips   r   r~   c                   C   r	   )N)SSL_OP_COOKIE_EXCHANGEDTLSv1_listenSSL_CTX_set_cookie_generate_cbSSL_CTX_set_cookie_verify_cbr   r   r   r   r   cryptography_has_ssl_cookie   r   r   c                   C   r	   )N)SMIME_write_PKCS7PEM_write_bio_PKCS7_streamPKCS7_sign_add_signerPKCS7_finalPKCS7_verifySMIME_read_PKCS7PKCS7_get0_signersr   r   r   r   r   cryptography_has_pkcs7_funcs   r   r   c                   C   r	   )N)BN_FLG_CONSTTIMEBN_set_flagsBN_prime_checks_for_sizer   r   r   r   r   cryptography_has_bn_flags	  r   r   c                   C   r   )NEVP_PKEY_set1_DHr   r   r   r   r   cryptography_has_evp_pkey_dh  r   r   c                   C   r   )NEVP_CIPHER_fetchEVP_CIPHER_freer   r   r   r   r   cryptography_has_300_evp_cipher  r   r   c                   C   r   )N"SSL_R_UNEXPECTED_EOF_WHILE_READINGr   r   r   r   r   -cryptography_has_unexpected_eof_while_reading     r   c                   C   r   )NPKCS12_set_macr   r   r   r   r   cryptography_has_pkcs12_set_mac  r   r   c                   C   r   )NSSL_OP_IGNORE_UNEXPECTED_EOFr   r   r   r   r   -cryptography_has_ssl_op_ignore_unexpected_eof#  r   r   c                   C   r   )NSSL_get_extms_supportr   r   r   r   r   "cryptography_has_get_extms_support)  r   r   Cryptography_HAS_EC2MCryptography_HAS_SSL3_METHODCryptography_HAS_SET_CERT_CBCryptography_HAS_SSL_STCryptography_HAS_TLS_ST(Cryptography_HAS_EVP_PKEY_set_alias_typeCryptography_HAS_SCRYPTCryptography_HAS_EVP_PKEY_DHXCryptography_HAS_MEM_FUNCTIONS*Cryptography_HAS_X509_STORE_CTX_GET_ISSUERCryptography_HAS_ED448Cryptography_HAS_ED25519Cryptography_HAS_POLY13052Cryptography_HAS_EVP_PKEY_get_set_tls_encodedpointCryptography_HAS_FIPSCryptography_HAS_SIGALGSCryptography_HAS_PSKCryptography_HAS_PSK_TLSv1_3Cryptography_HAS_CUSTOM_EXT Cryptography_HAS_OPENSSL_CLEANUP"Cryptography_HAS_TLSv1_3_FUNCTIONSCryptography_HAS_RAW_KEY$Cryptography_HAS_EVP_DIGESTFINAL_XOFCryptography_HAS_ENGINECryptography_HAS_VERIFIED_CHAINCryptography_HAS_SRTPCryptography_HAS_PROVIDERS$Cryptography_HAS_OP_NO_RENEGOTIATION"Cryptography_HAS_DTLS_GET_DATA_MTUCryptography_HAS_300_FIPSCryptography_HAS_SSL_COOKIECryptography_HAS_PKCS7_FUNCSCryptography_HAS_BN_FLAGSCryptography_HAS_EVP_PKEY_DH)Cryptography_HAS_300_EVP_CIPHER-Cryptography_HAS_UNEXPECTED_EOF_WHILE_READINGCryptography_HAS_PKCS12_SET_MAC-Cryptography_HAS_SSL_OP_IGNORE_UNEXPECTED_EOF"Cryptography_HAS_GET_EXTMS_SUPPORT)+typingListstrr   r   r   r   r   r   r   r#   r%   r'   r*   r-   r0   r2   r5   r8   r:   r>   rF   rJ   rL   rV   r[   rk   rm   rq   rw   ry   r{   r~   r   r   r   r   r   r   r   r   r   CONDITIONAL_NAMESr   r   r   r   <module>   s   		
			
 !"#$'()*+,-