U
vf5 @ s d dl mZ d dlmZmZ d dlmZ eej Z
d Zd Zd Z
e
rZe Ze Ze Z
eedddZeeeddd Zeeedd
dZeedd
dZeedddZeedddZeeedddZeeedddZeeedddZeedddZdS ) )
exceptions)ffilib)ensure)preturnc C sD t tdtjd t t| to&t| tkdtjd t
| }|dkS )a
Check if ``p`` represents a point on the edwards25519 curve, in canonical
form, on the main subgroup, and that the point doesn't have a small order.
:param p: a :py:data:`.crypto_core_ed25519_BYTES` long bytes sequence
representing a point on the edwards25519 curve
:type p: bytes
:return: point validity
:rtype: bool
:raises nacl.exceptions.UnavailableError: If called when using a
minimal build of libsodium.
Not available in minimal buildZraisingz=Point must be a crypto_core_ed25519_BYTES long bytes sequence )r has_crypto_core_ed25519excUnavailableError
isinstancebyteslencrypto_core_ed25519_BYTES TypeErrorr "crypto_core_ed25519_is_valid_point)r rc r L/opt/alt/python38/lib64/python3.8/site-packages/nacl/bindings/crypto_core.pyr # s
r )r qr c C s t tdtjd t t| to