mirror of
https://github.com/Legrandin/pycryptodome.git
synced 2025-12-08 05:19:46 +00:00
RNG: Add Random.OSRNG package
This package provides a platform-independent interface to the underlying operating system's random number generator.
This commit is contained in:
parent
75d09abdce
commit
6951a97eeb
8 changed files with 364 additions and 1 deletions
4
setup.py
4
setup.py
|
|
@ -15,7 +15,7 @@ if sys.version[0:1] == '1':
|
|||
if sys.platform == 'win32':
|
||||
HTONS_LIBS = ['ws2_32']
|
||||
plat_ext = [
|
||||
Extension("Crypto.Util.winrandom",
|
||||
Extension("Crypto.Random.OSRNG.winrandom",
|
||||
libraries = HTONS_LIBS + ['advapi32'],
|
||||
include_dirs=['src/'],
|
||||
sources=["src/winrand.c"])
|
||||
|
|
@ -173,6 +173,8 @@ kw = {'name':"pycrypto",
|
|||
|
||||
'cmdclass' : {'build_ext':PCTBuildExt, 'build_py': PCTBuildPy},
|
||||
'packages' : ["Crypto", "Crypto.Hash", "Crypto.Cipher", "Crypto.Util",
|
||||
"Crypto.Random",
|
||||
"Crypto.Random.OSRNG",
|
||||
"Crypto.SelfTest",
|
||||
"Crypto.SelfTest.Cipher",
|
||||
"Crypto.SelfTest.Hash",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue