관리-도구
편집 파일: ec.cpython-311.pyc
� �܋f�, � �� � d dl mZ d dlZd dlmZmZmZ d dlmZm Z d dl mZ d dlm Z ej rd dlmZ d!d�Zd"d�Zd#d�Zd$d�Zd%d�Zd&d�Zd'd�Z G d� de j � � Z G d � de j � � ZdS )(� )�annotationsN)�InvalidSignature�UnsupportedAlgorithm�_Reasons)�_calculate_digest_and_algorithm�_evp_pkey_derive)� serialization)�ec)�Backend�signature_algorithm�"ec.EllipticCurveSignatureAlgorithm�return�Nonec �n � t | t j � � st dt j � � �d S )Nz/Unsupported elliptic curve signature algorithm.)� isinstancer �ECDSAr r � UNSUPPORTED_PUBLIC_KEY_ALGORITHM)r s �z/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/cryptography/hazmat/backends/openssl/ec.py�_check_signature_algorithmr s>