+
    Hßºiä  ã                  ól   € R t ^ RIHt ^ RIt^ RIHt ]P                  ! R]^R7       R R lt	R R	 lt
R# )
z*
PRNG management routines, thin wrappers.
)ÚannotationsN)Úlibz>OpenSSL.rand is deprecated - you should use os.urandom instead)Ú
stacklevelc               ó$   € V ^8„  d   QhRRRRRR/# )é   ÚbufferÚbytesÚentropyÚintÚreturnÚNone© )Úformats   "Ú./usr/lib/python3/dist-packages/OpenSSL/rand.pyÚ__annotate__r      s!   € ÷ 0ñ 0�ð 0 ð 0¨ñ 0ó    c                óÌ   € \        V \        4      '       g   \        R4      h\        V\        4      '       g   \        R4      h\        P
                  ! V \        V 4      V4       R# )aÊ  
Mix bytes from *string* into the PRNG state.

The *entropy* argument is (the lower bound of) an estimate of how much
randomness is contained in *string*, measured in bytes.

For more information, see e.g. :rfc:`1750`.

This function is only relevant if you are forking Python processes and
need to reseed the CSPRNG after fork.

:param buffer: Buffer with random data.
:param entropy: The entropy (in bytes) measurement of the buffer.

:return: :obj:`None`
zbuffer must be a byte stringzentropy must be an integerN)Ú
isinstancer   Ú	TypeErrorr
   Ú_libÚRAND_addÚlen)r   r	   s   &&r   Úaddr      sJ   € ô" �fœe×$Ò$ÜÐ6Ó7Ð7ä�gœs×#Ò#ÜÐ4Ó5Ð5ä‡M‚M�&œ#˜f›+ wÖ/r   c               ó   € V ^8„  d   QhRR/# )r   r   r
   r   )r   s   "r   r   r   ,   s   € ÷ ñ �ñ r   c                 ó,   € \         P                  ! 4       # )zq
Check whether the PRNG has been seeded with enough data.

:return: 1 if the PRNG is seeded enough, 0 otherwise.
)r   ÚRAND_statusr   r   r   Ústatusr   ,   s   € ô ×ÒÓÐr   )Ú__doc__Ú
__future__r   ÚwarningsÚOpenSSL._utilr   r   ÚwarnÚDeprecationWarningr   r   r   r   r   Ú<module>r#      s4   ðñõ #ã å %à ‡‚ØDØØõõ0÷4r   