Giter Site home page Giter Site logo

pyspx's People

Contributors

joostrijneveld avatar rugo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pyspx's Issues

Redundant appendage of public key to secret?

Is there any reason the secret key has the public key stuck on the end? It looks like 64 + 64 = 128 characters?

I can handle it on my client side, i was just curious why. Thanks.

Update python bindings to more recent version of C code

first, is this something that is important? Is the C repo in a good working state? Thanks.

when i updated the submodule, python3 setup.py bdist_wheel resulted in an error message

build/temp.linux-x86_64-3.6/src/sphincsplus-instances/sha256_256s/thash_haraka_robust.o: In function `thash':
/home/shane/Desktop/pyspx/src/sphincsplus-instances/sha256_256s/thash_haraka_robust.c:15: multiple definition of `thash'
build/temp.linux-x86_64-3.6/src/sphincsplus-instances/sha256_256s/thash_shake256_simple.o:/home/shane/Desktop/pyspx/src/sphincsplus-instances/sha256_256s/thash_shake256_simple.c:15: first defined here
build/temp.linux-x86_64-3.6/src/sphincsplus-instances/sha256_256s/thash_haraka_simple.o: In function `thash':
/home/shane/Desktop/pyspx/src/sphincsplus-instances/sha256_256s/thash_haraka_simple.c:15: multiple definition of `thash'
build/temp.linux-x86_64-3.6/src/sphincsplus-instances/sha256_256s/thash_shake256_simple.o:/home/shane/Desktop/pyspx/src/sphincsplus-instances/sha256_256s/thash_shake256_simple.c:15: first defined here
build/temp.linux-x86_64-3.6/src/sphincsplus-instances/sha256_256s/thash_sha256_robust.o: In function `thash':
/home/shane/Desktop/pyspx/src/sphincsplus-instances/sha256_256s/thash_sha256_robust.c:14: multiple definition of `thash'
build/temp.linux-x86_64-3.6/src/sphincsplus-instances/sha256_256s/thash_shake256_simple.o:/home/shane/Desktop/pyspx/src/sphincsplus-instances/sha256_256s/thash_shake256_simple.c:15: first defined here
build/temp.linux-x86_64-3.6/src/sphincsplus-instances/sha256_256s/thash_shake256_robust.o: In function `thash':
/home/shane/Desktop/pyspx/src/sphincsplus-instances/sha256_256s/thash_shake256_robust.c:15: multiple definition of `thash'
build/temp.linux-x86_64-3.6/src/sphincsplus-instances/sha256_256s/thash_shake256_simple.o:/home/shane/Desktop/pyspx/src/sphincsplus-instances/sha256_256s/thash_shake256_simple.c:15: first defined here
build/temp.linux-x86_64-3.6/src/sphincsplus-instances/sha256_256s/thash_sha256_simple.o: In function `thash':
/home/shane/Desktop/pyspx/src/sphincsplus-instances/sha256_256s/thash_sha256_simple.c:14: multiple definition of `thash'
build/temp.linux-x86_64-3.6/src/sphincsplus-instances/sha256_256s/thash_shake256_simple.o:/home/shane/Desktop/pyspx/src/sphincsplus-instances/sha256_256s/thash_shake256_simple.c:15: first defined here
collect2: error: ld returned 1 exit status
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Pylint warnings, not finding imports

Everything compiles fine, but the pylint messages are are a bit of white noise. I think they are even reported as errors?

Thanks, let me know if any other details are needed!

Screenshot from 2020-02-23 13-51-45

pip install pyspx - error

updated Microsoft Visual Studio and still have an issue:

C:\Users\yopin>pip install pyspx
Collecting pyspx
  Using cached https://files.pythonhosted.org/packages/4b/10/0fb87f2c5a1129890b7c4d82df7eaed3aac6226e9f823f912ef716fd5825/PySPX-0.4.0.tar.gz
Requirement already satisfied: cffi>=1.0.0 in c:\users\yopin\appdata\local\programs\python\python38-32\lib\site-packages (from pyspx) (1.13.2)
Requirement already satisfied: pycparser in c:\users\yopin\appdata\local\programs\python\python38-32\lib\site-packages (from cffi>=1.0.0->pyspx) (2.19)
Installing collected packages: pyspx
    Running setup.py install for pyspx ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\users\yopin\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\yopin\\AppData\\Local\\Temp\\pip-install-wh7zlgc2\\pyspx\\setup.py'"'"'; __file__='"'"'C:\\Users\\yopin\\AppData\\Local\\Temp\\pip-install-wh7zlgc2\\pyspx\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\yopin\AppData\Local\Temp\pip-record-wfppa1va\install-record.txt' --single-version-externally-managed --compile
         cwd: C:\Users\yopin\AppData\Local\Temp\pip-install-wh7zlgc2\pyspx\
    Complete output (66 lines):
    running install
    running build
    running build_py
    creating build
    creating build\lib.win32-3.8
    creating build\lib.win32-3.8\pyspx
    copying src\pyspx\bindings.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\build.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\haraka_128f.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\haraka_128s.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\haraka_192f.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\haraka_192s.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\haraka_256f.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\haraka_256s.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\sha256_128f.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\sha256_128s.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\sha256_192f.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\sha256_192s.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\sha256_256f.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\sha256_256s.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\shake256_128f.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\shake256_128s.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\shake256_192f.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\shake256_192s.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\shake256_256f.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\shake256_256s.py -> build\lib.win32-3.8\pyspx
    copying src\pyspx\__init__.py -> build\lib.win32-3.8\pyspx
    running build_ext
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_shake256_256s.c'
    creating build\temp.win32-3.8
    creating build\temp.win32-3.8\Release
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_shake256_256f.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_shake256_192s.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_shake256_192f.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_shake256_128s.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_shake256_128f.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_sha256_256s.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_sha256_256f.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_sha256_192s.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_sha256_192f.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_sha256_128s.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_sha256_128f.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_haraka_256s.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_haraka_256f.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_haraka_192s.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_haraka_192f.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_haraka_128s.c'
    generating cffi module 'build\\temp.win32-3.8\\Release\\_spx_haraka_128f.c'
    building '_spx_haraka_128f' extension
    creating build\temp.win32-3.8\Release\build
    creating build\temp.win32-3.8\Release\build\temp.win32-3.8
    creating build\temp.win32-3.8\Release\build\temp.win32-3.8\Release
    creating build\temp.win32-3.8\Release\src
    creating build\temp.win32-3.8\Release\src\sphincsplus-instances
    creating build\temp.win32-3.8\Release\src\sphincsplus-instances\haraka_128f
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\yopin\appdata\local\programs\python\python38-32\include -Ic:\users\yopin\appdata\local\programs\python\python38-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcbuild\temp.win32-3.8\Release\_spx_haraka_128f.c /Fobuild\temp.win32-3.8\Release\build\temp.win32-3.8\Release\_spx_haraka_128f.obj
    _spx_haraka_128f.c
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\yopin\appdata\local\programs\python\python38-32\include -Ic:\users\yopin\appdata\local\programs\python\python38-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcsrc\sphincsplus-instances\haraka_128f\address.c /Fobuild\temp.win32-3.8\Release\src\sphincsplus-instances\haraka_128f\address.obj
    address.c
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\yopin\appdata\local\programs\python\python38-32\include -Ic:\users\yopin\appdata\local\programs\python\python38-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcsrc\sphincsplus-instances\haraka_128f\fips202.c /Fobuild\temp.win32-3.8\Release\src\sphincsplus-instances\haraka_128f\fips202.obj
    fips202.c
    src\sphincsplus-instances\haraka_128f\fips202.c(32): warning C4244: '=': conversion from 'uint64_t' to 'uint8_t', possible loss of data
    src\sphincsplus-instances\haraka_128f\fips202.c(334): error C2057: expected constant expression
    src\sphincsplus-instances\haraka_128f\fips202.c(334): error C2466: cannot allocate an array of constant size 0
    src\sphincsplus-instances\haraka_128f\fips202.c(334): error C2133: 't': unknown size
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.24.28314\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
    ----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\yopin\appdata\local\programs\python\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\yopin\\AppData\\Local\\Temp\\pip-install-wh7zlgc2\\pyspx\\setup.py'"'"'; __file__='"'"'C:\\Users\\yopin\\AppData\\Local\\Temp\\pip-install-wh7zlgc2\\pyspx\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\yopin\AppData\Local\Temp\pip-record-wfppa1va\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

proposal to update README.md

NameError: name 'seed' is not defined
NameError: name 'sphincs' is not defined

import pyspx.shake256_128f as sphincs
import os, binascii

# Key generation: private + public key
seed = os.urandom(sphincs.crypto_sign_SEEDBYTES)

as in here

build error from pip

`Collecting pyspx
Using cached PySPX-0.5.0.tar.gz (454 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.0.0
Using cached cffi-1.15.1-cp39-cp39-win_amd64.whl (179 kB)
Collecting pycparser
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: pyspx
Building wheel for pyspx (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for pyspx (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [79 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-39
creating build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\bindings.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\build.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\haraka_128f.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\haraka_128s.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\haraka_192f.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\haraka_192s.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\haraka_256f.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\haraka_256s.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\sha2_128f.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\sha2_128s.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\sha2_192f.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\sha2_192s.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\sha2_256f.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\sha2_256s.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\shake_128f.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\shake_128s.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\shake_192f.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\shake_192s.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\shake_256f.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx\shake_256s.py -> build\lib.win-amd64-cpython-39\pyspx
copying src\pyspx_init_.py -> build\lib.win-amd64-cpython-39\pyspx
running egg_info
writing src\PySPX.egg-info\PKG-INFO
writing dependency_links to src\PySPX.egg-info\dependency_links.txt
writing requirements to src\PySPX.egg-info\requires.txt
writing top-level names to src\PySPX.egg-info\top_level.txt
reading manifest file 'src\PySPX.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src\PySPX.egg-info\SOURCES.txt'
running build_ext
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_shake_256s.c'
creating build\temp.win-amd64-cpython-39
creating build\temp.win-amd64-cpython-39\Release
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_shake_256f.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_shake_192s.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_shake_192f.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_shake_128s.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_shake_128f.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_sha2_256s.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_sha2_256f.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_sha2_192s.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_sha2_192f.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_sha2_128s.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_sha2_128f.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_haraka_256s.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_haraka_256f.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_haraka_192s.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_haraka_192f.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_haraka_128s.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_spx_haraka_128f.c'
building '_spx_haraka_128f' extension
creating build\temp.win-amd64-cpython-39\Release\build
creating build\temp.win-amd64-cpython-39\Release\build\temp.win-amd64-cpython-39
creating build\temp.win-amd64-cpython-39\Release\build\temp.win-amd64-cpython-39\Release
creating build\temp.win-amd64-cpython-39\Release\src
creating build\temp.win-amd64-cpython-39\Release\src\sphincsplus-instances
creating build\temp.win-amd64-cpython-39\Release\src\sphincsplus-instances\haraka_128f
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcbuild\temp.win-amd64-cpython-39\Release_spx_haraka_128f.c /Fobuild\temp.win-amd64-cpython-39\Release\build\temp.win-amd64-cpython-39\Release_spx_haraka_128f.obj
_spx_haraka_128f.c
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcsrc\sphincsplus-instances\haraka_128f\address.c /Fobuild\temp.win-amd64-cpython-39\Release\src\sphincsplus-instances\haraka_128f\address.obj
address.c
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcsrc\sphincsplus-instances\haraka_128f\fors.c /Fobuild\temp.win-amd64-cpython-39\Release\src\sphincsplus-instances\haraka_128f\fors.obj
fors.c
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\include" "-IC:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.3568.0_x64__qbz5n2kfra8p0\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcsrc\sphincsplus-instances\haraka_128f\haraka.c /Fobuild\temp.win-amd64-cpython-39\Release\src\sphincsplus-instances\haraka_128f\haraka.obj
haraka.c
src\sphincsplus-instances\haraka_128f\haraka.c(699): error C2057: expected constant expression
src\sphincsplus-instances\haraka_128f\haraka.c(699): error C2466: cannot allocate an array of constant size 0
src\sphincsplus-instances\haraka_128f\haraka.c(699): error C2133: 't': unknown size
src\sphincsplus-instances\haraka_128f\haraka.c(768): warning C4267: '+=': conversion from 'size_t' to 'uint8_t', possible loss of data
src\sphincsplus-instances\haraka_128f\haraka.c(793): warning C4267: '-=': conversion from 'size_t' to 'uint8_t', possible loss of data
src\sphincsplus-instances\haraka_128f\haraka.c(804): warning C4267: '=': conversion from 'size_t' to 'uint8_t', possible loss of data
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyspx
Failed to build pyspx
ERROR: Could not build wheels for pyspx, which is required to install pyproject.toml-based projects`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.