Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-ecdsa.spec'], timeout=0logger=nspawn_args=[]uid=1001user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6127/root'printOutput=Falseenv={'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100'}gid=135shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-ecdsa.spec'] with env {'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100'} and shell False sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: copr-builder-939276335.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-ecdsa-0.13-4.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-ecdsa.spec'], timeout=0logger=nspawn_args=[]uid=1001user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6127/root'printOutput=Falseenv={'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100'}gid=135shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-ecdsa.spec'] with env {'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.095KBJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ecdsa-0.13 + /usr/bin/gzip -dc /builddir/build/SOURCES/ecdsa-0.13.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ecdsa-0.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-ecdsa-noweak.patch):' Patch #0 (python-ecdsa-noweak.patch): + /usr/bin/cat /builddir/build/SOURCES/python-ecdsa-noweak.patch + /usr/bin/patch -p1 -b --suffix .noweak --fuzz=0 patching file ecdsa/test_pyecdsa.py + echo 'Patch #1 (python-ecdsa-nosecp256k1.patch):' Patch #1 (python-ecdsa-nosecp256k1.patch): + /usr/bin/cat /builddir/build/SOURCES/python-ecdsa-nosecp256k1.patch + /usr/bin/patch -p1 -b --suffix .nosecp256k1 --fuzz=0 patching file ecdsa/test_pyecdsa.py + rm -rf ecdsa.egg-info + find ecdsa -name '*.py' + xargs sed -ie '/\/usr\/bin\/env/d' + find -name '*.py' + xargs sed -ie 's/from \(ecdsa\|\)\.six/from six/g' + rm ecdsa/six.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Lw8BNy + umask 022 + cd /builddir/build/BUILD + cd ecdsa-0.13 + /usr/bin/python2 setup.py build running build got version from file /builddir/build/BUILD/ecdsa-0.13/ecdsa/_version.py {'version': '0.13', 'full': '5a6fc047222cf21ad89f6cbf8782d0f1e3ddacda'} running build_py creating build creating build/lib creating build/lib/ecdsa copying ecdsa/test_pyecdsa.py -> build/lib/ecdsa copying ecdsa/util.py -> build/lib/ecdsa copying ecdsa/rfc6979.py -> build/lib/ecdsa copying ecdsa/numbertheory.py -> build/lib/ecdsa copying ecdsa/keys.py -> build/lib/ecdsa copying ecdsa/ellipticcurve.py -> build/lib/ecdsa copying ecdsa/ecdsa.py -> build/lib/ecdsa copying ecdsa/der.py -> build/lib/ecdsa copying ecdsa/curves.py -> build/lib/ecdsa copying ecdsa/_version.py -> build/lib/ecdsa copying ecdsa/__init__.py -> build/lib/ecdsa UPDATING build/lib/ecdsa/_version.py + /usr/bin/python3.4 setup.py build running build got version from file /builddir/build/BUILD/ecdsa-0.13/ecdsa/_version.py {'full': '5a6fc047222cf21ad89f6cbf8782d0f1e3ddacda', 'version': '0.13'} running build_py UPDATING build/lib/ecdsa/_version.py + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sNcs2o + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64 + cd ecdsa-0.13 + /usr/bin/python3.4 setup.py install --skip-build --root /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4 creating /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages creating /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/_version.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/__init__.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/curves.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/der.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/ecdsa.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/ellipticcurve.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/keys.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/numbertheory.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/rfc6979.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/util.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa copying build/lib/ecdsa/test_pyecdsa.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/_version.py to _version.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/__init__.py to __init__.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/curves.py to curves.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/der.py to der.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/ecdsa.py to ecdsa.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/ellipticcurve.py to ellipticcurve.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/keys.py to keys.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/numbertheory.py to numbertheory.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/rfc6979.py to rfc6979.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/util.py to util.cpython-34.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa/test_pyecdsa.py to test_pyecdsa.cpython-34.pyc running install_egg_info running egg_info creating ecdsa.egg-info writing top-level names to ecdsa.egg-info/top_level.txt writing dependency_links to ecdsa.egg-info/dependency_links.txt writing ecdsa.egg-info/PKG-INFO writing manifest file 'ecdsa.egg-info/SOURCES.txt' reading manifest file 'ecdsa.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'ecdsa.egg-info/SOURCES.txt' Copying ecdsa.egg-info to /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4/site-packages/ecdsa-0.13-py3.4.egg-info running install_scripts + /usr/bin/python2 setup.py install --skip-build --root /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/_version.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/__init__.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/curves.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/der.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/ecdsa.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/ellipticcurve.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/keys.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/numbertheory.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/rfc6979.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/util.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa copying build/lib/ecdsa/test_pyecdsa.py -> /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/_version.py to _version.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/curves.py to curves.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/der.py to der.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/ecdsa.py to ecdsa.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/ellipticcurve.py to ellipticcurve.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/keys.py to keys.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/numbertheory.py to numbertheory.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/rfc6979.py to rfc6979.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/util.py to util.pyc byte-compiling /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa/test_pyecdsa.py to test_pyecdsa.pyc running install_egg_info running egg_info writing ecdsa.egg-info/PKG-INFO writing top-level names to ecdsa.egg-info/top_level.txt writing dependency_links to ecdsa.egg-info/dependency_links.txt reading manifest file 'ecdsa.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'ecdsa.egg-info/SOURCES.txt' Copying ecdsa.egg-info to /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7/site-packages/ecdsa-0.13-py2.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/ecdsa-0.13 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/lib/python3.4 using /usr/bin/python3.4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7KuOgi + umask 022 + cd /builddir/build/BUILD + cd ecdsa-0.13 + /usr/bin/python2 setup.py test running test Testing gcd... Testing lcm... Testing next_prime... Testing square_root_mod_prime for modulus p = 2. Testing square_root_mod_prime for modulus p = 3. Testing square_root_mod_prime for modulus p = 5. Testing square_root_mod_prime for modulus p = 7. Testing square_root_mod_prime for modulus p = 11. Testing square_root_mod_prime for modulus p = 13. Testing square_root_mod_prime for modulus p = 17. Testing square_root_mod_prime for modulus p = 19. Testing square_root_mod_prime for modulus p = 23. Testing square_root_mod_prime for modulus p = 29. Testing square_root_mod_prime for modulus p = 31. Testing square_root_mod_prime for modulus p = 37. Testing square_root_mod_prime for modulus p = 41. Testing square_root_mod_prime for modulus p = 43. Testing square_root_mod_prime for modulus p = 47. Testing square_root_mod_prime for modulus p = 53. Testing square_root_mod_prime for modulus p = 59. Testing square_root_mod_prime for modulus p = 61. Testing square_root_mod_prime for modulus p = 67. Testing square_root_mod_prime for modulus p = 71. Testing square_root_mod_prime for modulus p = 73. Testing square_root_mod_prime for modulus p = 79. Testing square_root_mod_prime for modulus p = 83. Testing square_root_mod_prime for modulus p = 89. Testing square_root_mod_prime for modulus p = 97. Testing square_root_mod_prime for modulus p = 101. Testing square_root_mod_prime for modulus p = 103. Testing square_root_mod_prime for modulus p = 107. Testing square_root_mod_prime for modulus p = 109. Testing square_root_mod_prime for modulus p = 113. Testing square_root_mod_prime for modulus p = 127. Testing square_root_mod_prime for modulus p = 131. Testing square_root_mod_prime for modulus p = 137. Testing square_root_mod_prime for modulus p = 139. Testing square_root_mod_prime for modulus p = 149. Testing square_root_mod_prime for modulus p = 151. Testing square_root_mod_prime for modulus p = 157. Testing square_root_mod_prime for modulus p = 163. Testing square_root_mod_prime for modulus p = 167. Testing square_root_mod_prime for modulus p = 173. Testing square_root_mod_prime for modulus p = 179. Testing square_root_mod_prime for modulus p = 181. Testing square_root_mod_prime for modulus p = 191. Testing square_root_mod_prime for modulus p = 193. Testing square_root_mod_prime for modulus p = 197. Testing square_root_mod_prime for modulus p = 199. Testing square_root_mod_prime for modulus p = 211. Testing square_root_mod_prime for modulus p = 223. Testing square_root_mod_prime for modulus p = 227. Testing square_root_mod_prime for modulus p = 229. Testing square_root_mod_prime for modulus p = 233. Testing square_root_mod_prime for modulus p = 239. Testing square_root_mod_prime for modulus p = 241. Testing square_root_mod_prime for modulus p = 251. Testing square_root_mod_prime for modulus p = 257. Testing square_root_mod_prime for modulus p = 263. Testing square_root_mod_prime for modulus p = 269. Testing square_root_mod_prime for modulus p = 271. Testing square_root_mod_prime for modulus p = 277. Testing square_root_mod_prime for modulus p = 281. Testing square_root_mod_prime for modulus p = 283. Testing square_root_mod_prime for modulus p = 293. Testing square_root_mod_prime for modulus p = 307. Testing square_root_mod_prime for modulus p = 311. Testing square_root_mod_prime for modulus p = 313. Testing square_root_mod_prime for modulus p = 317. Testing square_root_mod_prime for modulus p = 331. Testing square_root_mod_prime for modulus p = 337. Testing square_root_mod_prime for modulus p = 347. Testing square_root_mod_prime for modulus p = 349. Testing square_root_mod_prime for modulus p = 353. Testing square_root_mod_prime for modulus p = 359. Testing square_root_mod_prime for modulus p = 367. Testing square_root_mod_prime for modulus p = 373. Testing square_root_mod_prime for modulus p = 379. Testing square_root_mod_prime for modulus p = 383. Testing square_root_mod_prime for modulus p = 389. Testing square_root_mod_prime for modulus p = 397. Testing square_root_mod_prime for modulus p = 401. Testing square_root_mod_prime for modulus p = 409. Testing square_root_mod_prime for modulus p = 419. Testing square_root_mod_prime for modulus p = 421. Testing square_root_mod_prime for modulus p = 431. Testing square_root_mod_prime for modulus p = 433. Testing square_root_mod_prime for modulus p = 439. Testing square_root_mod_prime for modulus p = 443. Testing square_root_mod_prime for modulus p = 449. Testing square_root_mod_prime for modulus p = 457. Testing square_root_mod_prime for modulus p = 461. Testing square_root_mod_prime for modulus p = 463. Testing square_root_mod_prime for modulus p = 467. Testing square_root_mod_prime for modulus p = 479. Testing square_root_mod_prime for modulus p = 487. Testing square_root_mod_prime for modulus p = 491. Testing square_root_mod_prime for modulus p = 499. Testing square_root_mod_prime for modulus p = 503. Testing square_root_mod_prime for modulus p = 509. Testing square_root_mod_prime for modulus p = 521. Testing square_root_mod_prime for modulus p = 523. Testing square_root_mod_prime for modulus p = 541. Testing square_root_mod_prime for modulus p = 547. Testing square_root_mod_prime for modulus p = 557. Testing square_root_mod_prime for modulus p = 563. Testing square_root_mod_prime for modulus p = 569. Testing square_root_mod_prime for modulus p = 571. Testing square_root_mod_prime for modulus p = 577. Testing square_root_mod_prime for modulus p = 587. Testing square_root_mod_prime for modulus p = 593. Testing square_root_mod_prime for modulus p = 599. Testing square_root_mod_prime for modulus p = 601. Testing square_root_mod_prime for modulus p = 607. Testing square_root_mod_prime for modulus p = 613. Testing square_root_mod_prime for modulus p = 617. Testing square_root_mod_prime for modulus p = 619. Testing square_root_mod_prime for modulus p = 631. Testing square_root_mod_prime for modulus p = 641. Testing square_root_mod_prime for modulus p = 643. Testing square_root_mod_prime for modulus p = 647. Testing square_root_mod_prime for modulus p = 653. Testing square_root_mod_prime for modulus p = 659. Testing square_root_mod_prime for modulus p = 661. Testing square_root_mod_prime for modulus p = 673. Testing square_root_mod_prime for modulus p = 677. Testing square_root_mod_prime for modulus p = 683. Testing square_root_mod_prime for modulus p = 691. Testing square_root_mod_prime for modulus p = 701. Testing square_root_mod_prime for modulus p = 709. Testing square_root_mod_prime for modulus p = 719. Testing square_root_mod_prime for modulus p = 727. Testing square_root_mod_prime for modulus p = 733. Testing square_root_mod_prime for modulus p = 739. Testing square_root_mod_prime for modulus p = 743. Testing square_root_mod_prime for modulus p = 751. Testing square_root_mod_prime for modulus p = 757. Testing square_root_mod_prime for modulus p = 761. Testing square_root_mod_prime for modulus p = 769. Testing square_root_mod_prime for modulus p = 773. Testing square_root_mod_prime for modulus p = 787. Testing square_root_mod_prime for modulus p = 797. Testing square_root_mod_prime for modulus p = 809. Testing square_root_mod_prime for modulus p = 811. Testing square_root_mod_prime for modulus p = 821. Testing square_root_mod_prime for modulus p = 823. Testing square_root_mod_prime for modulus p = 827. Testing square_root_mod_prime for modulus p = 829. Testing square_root_mod_prime for modulus p = 839. Testing square_root_mod_prime for modulus p = 853. Testing square_root_mod_prime for modulus p = 857. Testing square_root_mod_prime for modulus p = 859. Testing square_root_mod_prime for modulus p = 863. Testing square_root_mod_prime for modulus p = 877. Testing square_root_mod_prime for modulus p = 881. Testing square_root_mod_prime for modulus p = 883. Testing square_root_mod_prime for modulus p = 887. Testing square_root_mod_prime for modulus p = 907. Testing square_root_mod_prime for modulus p = 911. Testing square_root_mod_prime for modulus p = 919. Testing square_root_mod_prime for modulus p = 929. Testing square_root_mod_prime for modulus p = 937. Testing square_root_mod_prime for modulus p = 941. Testing square_root_mod_prime for modulus p = 947. Testing square_root_mod_prime for modulus p = 953. Testing square_root_mod_prime for modulus p = 967. Testing square_root_mod_prime for modulus p = 971. Testing square_root_mod_prime for modulus p = 977. Testing square_root_mod_prime for modulus p = 983. Testing square_root_mod_prime for modulus p = 991. Testing square_root_mod_prime for modulus p = 997. Testing square_root_mod_prime for modulus p = 1009. Testing square_root_mod_prime for modulus p = 1013. Testing square_root_mod_prime for modulus p = 1019. Testing square_root_mod_prime for modulus p = 1021. Testing square_root_mod_prime for modulus p = 1031. Testing square_root_mod_prime for modulus p = 1033. Testing square_root_mod_prime for modulus p = 1039. Testing square_root_mod_prime for modulus p = 1049. Testing square_root_mod_prime for modulus p = 1051. Testing square_root_mod_prime for modulus p = 1061. Testing square_root_mod_prime for modulus p = 1063. Testing square_root_mod_prime for modulus p = 1069. Testing square_root_mod_prime for modulus p = 1087. Testing square_root_mod_prime for modulus p = 1091. Testing square_root_mod_prime for modulus p = 1093. Testing square_root_mod_prime for modulus p = 1097. Testing square_root_mod_prime for modulus p = 1103. Testing square_root_mod_prime for modulus p = 1109. Testing square_root_mod_prime for modulus p = 1117. Testing square_root_mod_prime for modulus p = 1123. Testing square_root_mod_prime for modulus p = 1129. Testing square_root_mod_prime for modulus p = 1151. Testing square_root_mod_prime for modulus p = 1153. Testing square_root_mod_prime for modulus p = 1163. Testing square_root_mod_prime for modulus p = 1171. Testing square_root_mod_prime for modulus p = 1181. Testing square_root_mod_prime for modulus p = 1187. Testing square_root_mod_prime for modulus p = 1193. Testing square_root_mod_prime for modulus p = 1201. Testing square_root_mod_prime for modulus p = 1213. Testing square_root_mod_prime for modulus p = 1217. Testing square_root_mod_prime for modulus p = 1223. Testing square_root_mod_prime for modulus p = 1229. Testing jacobi for modulus m = 3. Testing jacobi for modulus m = 5. Testing jacobi for modulus m = 7. Testing jacobi for modulus m = 9. Testing jacobi for modulus m = 11. Testing jacobi for modulus m = 13. Testing jacobi for modulus m = 15. Testing jacobi for modulus m = 17. Testing jacobi for modulus m = 19. Testing jacobi for modulus m = 21. Testing jacobi for modulus m = 23. Testing jacobi for modulus m = 25. Testing jacobi for modulus m = 27. Testing jacobi for modulus m = 29. Testing jacobi for modulus m = 31. Testing jacobi for modulus m = 33. Testing jacobi for modulus m = 35. Testing jacobi for modulus m = 37. Testing jacobi for modulus m = 39. Testing jacobi for modulus m = 41. Testing jacobi for modulus m = 43. Testing jacobi for modulus m = 45. Testing jacobi for modulus m = 47. Testing jacobi for modulus m = 49. Testing jacobi for modulus m = 51. Testing jacobi for modulus m = 53. Testing jacobi for modulus m = 55. Testing jacobi for modulus m = 57. Testing jacobi for modulus m = 59. Testing jacobi for modulus m = 61. Testing jacobi for modulus m = 63. Testing jacobi for modulus m = 65. Testing jacobi for modulus m = 67. Testing jacobi for modulus m = 69. Testing jacobi for modulus m = 71. Testing jacobi for modulus m = 73. Testing jacobi for modulus m = 75. Testing jacobi for modulus m = 77. Testing jacobi for modulus m = 79. Testing jacobi for modulus m = 81. Testing jacobi for modulus m = 83. Testing jacobi for modulus m = 85. Testing jacobi for modulus m = 87. Testing jacobi for modulus m = 89. Testing jacobi for modulus m = 91. Testing jacobi for modulus m = 93. Testing jacobi for modulus m = 95. Testing jacobi for modulus m = 97. Testing jacobi for modulus m = 99. Testing jacobi for modulus m = 101. Testing jacobi for modulus m = 103. Testing jacobi for modulus m = 105. Testing jacobi for modulus m = 107. Testing jacobi for modulus m = 109. Testing jacobi for modulus m = 111. Testing jacobi for modulus m = 113. Testing jacobi for modulus m = 115. Testing jacobi for modulus m = 117. Testing jacobi for modulus m = 119. Testing jacobi for modulus m = 121. Testing jacobi for modulus m = 123. Testing jacobi for modulus m = 125. Testing jacobi for modulus m = 127. Testing jacobi for modulus m = 129. Testing jacobi for modulus m = 131. Testing jacobi for modulus m = 133. Testing jacobi for modulus m = 135. Testing jacobi for modulus m = 137. Testing jacobi for modulus m = 139. Testing jacobi for modulus m = 141. Testing jacobi for modulus m = 143. Testing jacobi for modulus m = 145. Testing jacobi for modulus m = 147. Testing jacobi for modulus m = 149. Testing jacobi for modulus m = 151. Testing jacobi for modulus m = 153. Testing jacobi for modulus m = 155. Testing jacobi for modulus m = 157. Testing jacobi for modulus m = 159. Testing jacobi for modulus m = 161. Testing jacobi for modulus m = 163. Testing jacobi for modulus m = 165. Testing jacobi for modulus m = 167. Testing jacobi for modulus m = 169. Testing jacobi for modulus m = 171. Testing jacobi for modulus m = 173. Testing jacobi for modulus m = 175. Testing jacobi for modulus m = 177. Testing jacobi for modulus m = 179. Testing jacobi for modulus m = 181. Testing jacobi for modulus m = 183. Testing jacobi for modulus m = 185. Testing jacobi for modulus m = 187. Testing jacobi for modulus m = 189. Testing jacobi for modulus m = 191. Testing jacobi for modulus m = 193. Testing jacobi for modulus m = 195. Testing jacobi for modulus m = 197. Testing jacobi for modulus m = 199. Testing jacobi for modulus m = 201. Testing jacobi for modulus m = 203. Testing jacobi for modulus m = 205. Testing jacobi for modulus m = 207. Testing jacobi for modulus m = 209. Testing jacobi for modulus m = 211. Testing jacobi for modulus m = 213. Testing jacobi for modulus m = 215. Testing jacobi for modulus m = 217. Testing jacobi for modulus m = 219. Testing jacobi for modulus m = 221. Testing jacobi for modulus m = 223. Testing jacobi for modulus m = 225. Testing jacobi for modulus m = 227. Testing jacobi for modulus m = 229. Testing jacobi for modulus m = 231. Testing jacobi for modulus m = 233. Testing jacobi for modulus m = 235. Testing jacobi for modulus m = 237. Testing jacobi for modulus m = 239. Testing jacobi for modulus m = 241. Testing jacobi for modulus m = 243. Testing jacobi for modulus m = 245. Testing jacobi for modulus m = 247. Testing jacobi for modulus m = 249. Testing jacobi for modulus m = 251. Testing jacobi for modulus m = 253. Testing jacobi for modulus m = 255. Testing jacobi for modulus m = 257. Testing jacobi for modulus m = 259. Testing jacobi for modulus m = 261. Testing jacobi for modulus m = 263. Testing jacobi for modulus m = 265. Testing jacobi for modulus m = 267. Testing jacobi for modulus m = 269. Testing jacobi for modulus m = 271. Testing jacobi for modulus m = 273. Testing jacobi for modulus m = 275. Testing jacobi for modulus m = 277. Testing jacobi for modulus m = 279. Testing jacobi for modulus m = 281. Testing jacobi for modulus m = 283. Testing jacobi for modulus m = 285. Testing jacobi for modulus m = 287. Testing jacobi for modulus m = 289. Testing jacobi for modulus m = 291. Testing jacobi for modulus m = 293. Testing jacobi for modulus m = 295. Testing jacobi for modulus m = 297. Testing jacobi for modulus m = 299. Testing jacobi for modulus m = 301. Testing jacobi for modulus m = 303. Testing jacobi for modulus m = 305. Testing jacobi for modulus m = 307. Testing jacobi for modulus m = 309. Testing jacobi for modulus m = 311. Testing jacobi for modulus m = 313. Testing jacobi for modulus m = 315. Testing jacobi for modulus m = 317. Testing jacobi for modulus m = 319. Testing jacobi for modulus m = 321. Testing jacobi for modulus m = 323. Testing jacobi for modulus m = 325. Testing jacobi for modulus m = 327. Testing jacobi for modulus m = 329. Testing jacobi for modulus m = 331. Testing jacobi for modulus m = 333. Testing jacobi for modulus m = 335. Testing jacobi for modulus m = 337. Testing jacobi for modulus m = 339. Testing jacobi for modulus m = 341. Testing ja......................................... ---------------------------------------------------------------------- cobi for modulus m = 343. Testing jacobi for modulus m = 345. Testing jacobi for modulus m = 347. Testing jacobi for modulus m = 349. Testing jacobi for modulus m = 351. Testing jacobi for modulus m = 353. Testing jacobi for modulus m = 355. Testing jacobi for modulus m = 357. Testing jacobi for modulus m = 359. Testing jacobi for modulus m = 361. Testing jacobi for modulus m = 363. Testing jacobi for modulus m = 365. Testing jacobi for modulus m = 367. Testing jacobi for modulus m = 369. Testing jacobi for modulus m = 371. Testing jacobi for modulus m = 373. Testing jacobi for modulus m = 375. Testing jacobi for modulus m = 377. Testing jacobi for modulus m = 379. Testing jacobi for modulus m = 381. Testing jacobi for modulus m = 383. Testing jacobi for modulus m = 385. Testing jacobi for modulus m = 387. Testing jacobi for modulus m = 389. Testing jacobi for modulus m = 391. Testing jacobi for modulus m = 393. Testing jacobi for modulus m = 395. Testing jacobi for modulus m = 397. Testing jacobi for modulus m = 399. Testing inverse_mod . . . 5781 tests of inverse_mod completed. 0 errors detected. (3,10) + (9,7) = (17,20) Good. (3,10) doubled = (7,12) Good. (3,10) + (3,10) = (7,12) Good. (3,10) * 2 = (7,12) Good. infinity doubled = infinity Good. (13,7) * 0 = infinity, expected infinity . . . Good. (13,7) * 1 = (13,7), expected (13,7) . . . Good. (13,7) * 2 = (5,4), expected (5,4) . . . Good. (13,7) * 3 = (17,3), expected (17,3) . . . Good. (13,7) * 4 = (17,20), expected (17,20) . . . Good. (13,7) * 5 = (5,19), expected (5,19) . . . Good. (13,7) * 6 = (13,16), expected (13,16) . . . Good. (13,7) * 7 = infinity, expected infinity . . . Good. p192 * d came out right. k * p192 came out right. u1 * p192 + u2 * Q came out right. NIST Curve P-192: p192 * d came out right. k * p192 came out right. u1 * p192 + u2 * Q came out right. r and s came out right. Signature verified OK. Forgery was correctly rejected. Testing point validity, as per ECDSAVS.pdf B.2.2: Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Trying signature-verification tests from ECDSAVS.pdf B.2.4: P-192: Signature tested as expected: got True, expected True. Signature tested as expected: got True, expected True. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got True, expected True. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Testing the example code: Demo verification succeeded. Demo verification correctly rejected tampered hash. Ran 41 tests in 12.429s OK + /usr/bin/python3.4 setup.py test running test Testing gcd... Testing lcm... Testing next_prime... Testing square_root_mod_prime for modulus p = 2. Testing square_root_mod_prime for modulus p = 3. Testing square_root_mod_prime for modulus p = 5. Testing square_root_mod_prime for modulus p = 7. Testing square_root_mod_prime for modulus p = 11. Testing square_root_mod_prime for modulus p = 13. Testing square_root_mod_prime for modulus p = 17. Testing square_root_mod_prime for modulus p = 19. Testing square_root_mod_prime for modulus p = 23. Testing square_root_mod_prime for modulus p = 29. Testing square_root_mod_prime for modulus p = 31. Testing square_root_mod_prime for modulus p = 37. Testing square_root_mod_prime for modulus p = 41. Testing square_root_mod_prime for modulus p = 43. Testing square_root_mod_prime for modulus p = 47. Testing square_root_mod_prime for modulus p = 53. Testing square_root_mod_prime for modulus p = 59. Testing square_root_mod_prime for modulus p = 61. Testing square_root_mod_prime for modulus p = 67. Testing square_root_mod_prime for modulus p = 71. Testing square_root_mod_prime for modulus p = 73. Testing square_root_mod_prime for modulus p = 79. Testing square_root_mod_prime for modulus p = 83. Testing square_root_mod_prime for modulus p = 89. Testing square_root_mod_prime for modulus p = 97. Testing square_root_mod_prime for modulus p = 101. Testing square_root_mod_prime for modulus p = 103. Testing square_root_mod_prime for modulus p = 107. Testing square_root_mod_prime for modulus p = 109. Testing square_root_mod_prime for modulus p = 113. Testing square_root_mod_prime for modulus p = 127. Testing square_root_mod_prime for modulus p = 131. Testing square_root_mod_prime for modulus p = 137. Testing square_root_mod_prime for modulus p = 139. Testing square_root_mod_prime for modulus p = 149. Testing square_root_mod_prime for modulus p = 151. Testing square_root_mod_prime for modulus p = 157. Testing square_root_mod_prime for modulus p = 163. Testing square_root_mod_prime for modulus p = 167. Testing square_root_mod_prime for modulus p = 173. Testing square_root_mod_prime for modulus p = 179. Testing square_root_mod_prime for modulus p = 181. Testing square_root_mod_prime for modulus p = 191. Testing square_root_mod_prime for modulus p = 193. Testing square_root_mod_prime for modulus p = 197. Testing square_root_mod_prime for modulus p = 199. Testing square_root_mod_prime for modulus p = 211. Testing square_root_mod_prime for modulus p = 223. Testing square_root_mod_prime for modulus p = 227. Testing square_root_mod_prime for modulus p = 229. Testing square_root_mod_prime for modulus p = 233. Testing square_root_mod_prime for modulus p = 239. Testing square_root_mod_prime for modulus p = 241. Testing square_root_mod_prime for modulus p = 251. Testing square_root_mod_prime for modulus p = 257. Testing square_root_mod_prime for modulus p = 263. Testing square_root_mod_prime for modulus p = 269. Testing square_root_mod_prime for modulus p = 271. Testing square_root_mod_prime for modulus p = 277. Testing square_root_mod_prime for modulus p = 281. Testing square_root_mod_prime for modulus p = 283. Testing square_root_mod_prime for modulus p = 293. Testing square_root_mod_prime for modulus p = 307. Testing square_root_mod_prime for modulus p = 311. Testing square_root_mod_prime for modulus p = 313. Testing square_root_mod_prime for modulus p = 317. Testing square_root_mod_prime for modulus p = 331. Testing square_root_mod_prime for modulus p = 337. Testing square_root_mod_prime for modulus p = 347. Testing square_root_mod_prime for modulus p = 349. Testing square_root_mod_prime for modulus p = 353. Testing square_root_mod_prime for modulus p = 359. Testing square_root_mod_prime for modulus p = 367. Testing square_root_mod_prime for modulus p = 373. Testing square_root_mod_prime for modulus p = 379. Testing square_root_mod_prime for modulus p = 383. Testing square_root_mod_prime for modulus p = 389. Testing square_root_mod_prime for modulus p = 397. Testing square_root_mod_prime for modulus p = 401. Testing square_root_mod_prime for modulus p = 409. Testing square_root_mod_prime for modulus p = 419. Testing square_root_mod_prime for modulus p = 421. Testing square_root_mod_prime for modulus p = 431. Testing square_root_mod_prime for modulus p = 433. Testing square_root_mod_prime for modulus p = 439. Testing square_root_mod_prime for modulus p = 443. Testing square_root_mod_prime for modulus p = 449. Testing square_root_mod_prime for modulus p = 457. Testing square_root_mod_prime for modulus p = 461. Testing square_root_mod_prime for modulus p = 463. Testing square_root_mod_prime for modulus p = 467. Testing square_root_mod_prime for modulus p = 479. Testing square_root_mod_prime for modulus p = 487. Testing square_root_mod_prime for modulus p = 491. Testing square_root_mod_prime for modulus p = 499. Testing square_root_mod_prime for modulus p = 503. Testing square_root_mod_prime for modulus p = 509. Testing square_root_mod_prime for modulus p = 521. Testing square_root_mod_prime for modulus p = 523. Testing square_root_mod_prime for modulus p = 541. Testing square_root_mod_prime for modulus p = 547. Testing square_root_mod_prime for modulus p = 557. Testing square_root_mod_prime for modulus p = 563. Testing square_root_mod_prime for modulus p = 569. Testing square_root_mod_prime for modulus p = 571. Testing square_root_mod_prime for modulus p = 577. Testing square_root_mod_prime for modulus p = 587. Testing square_root_mod_prime for modulus p = 593. Testing square_root_mod_prime for modulus p = 599. Testing square_root_mod_prime for modulus p = 601. Testing square_root_mod_prime for modulus p = 607. Testing square_root_mod_prime for modulus p = 613. Testing square_root_mod_prime for modulus p = 617. Testing square_root_mod_prime for modulus p = 619. Testing square_root_mod_prime for modulus p = 631. Testing square_root_mod_prime for modulus p = 641. Testing square_root_mod_prime for modulus p = 643. Testing square_root_mod_prime for modulus p = 647. Testing square_root_mod_prime for modulus p = 653. Testing square_root_mod_prime for modulus p = 659. Testing square_root_mod_prime for modulus p = 661. Testing square_root_mod_prime for modulus p = 673. Testing square_root_mod_prime for modulus p = 677. Testing square_root_mod_prime for modulus p = 683. Testing square_root_mod_prime for modulus p = 691. Testing square_root_mod_prime for modulus p = 701. Testing square_root_mod_prime for modulus p = 709. Testing square_root_mod_prime for modulus p = 719. Testing square_root_mod_prime for modulus p = 727. Testing square_root_mod_prime for modulus p = 733. Testing square_root_mod_prime for modulus p = 739. Testing square_root_mod_prime for modulus p = 743. Testing square_root_mod_prime for modulus p = 751. Testing square_root_mod_prime for modulus p = 757. Testing square_root_mod_prime for modulus p = 761. Testing square_root_mod_prime for modulus p = 769. Testing square_root_mod_prime for modulus p = 773. Testing square_root_mod_prime for modulus p = 787. Testing square_root_mod_prime for modulus p = 797. Testing square_root_mod_prime for modulus p = 809. Testing square_root_mod_prime for modulus p = 811. Testing square_root_mod_prime for modulus p = 821. Testing square_root_mod_prime for modulus p = 823. Testing square_root_mod_prime for modulus p = 827. Testing square_root_mod_prime for modulus p = 829. Testing square_root_mod_prime for modulus p = 839. Testing square_root_mod_prime for modulus p = 853. Testing square_root_mod_prime for modulus p = 857. Testing square_root_mod_prime for modulus p = 859. Testing square_root_mod_prime for modulus p = 863. Testing square_root_mod_prime for modulus p = 877. Testing square_root_mod_prime for modulus p = 881. Testing square_root_mod_prime for modulus p = 883. Testing square_root_mod_prime for modulus p = 887. Testing square_root_mod_prime for modulus p = 907. Testing square_root_mod_prime for modulus p = 911. Testing square_root_mod_prime for modulus p = 919. Testing square_root_mod_prime for modulus p = 929. Testing square_root_mod_prime for modulus p = 937. Testing square_root_mod_prime for modulus p = 941. Testing square_root_mod_prime for modulus p = 947. Testing square_root_mod_prime for modulus p = 953. Testing square_root_mod_prime for modulus p = 967. Testing square_root_mod_prime for modulus p = 971. Testing square_root_mod_prime for modulus p = 977. Testing square_root_mod_prime for modulus p = 983. Testing square_root_mod_prime for modulus p = 991. Testing square_root_mod_prime for modulus p = 997. Testing square_root_mod_prime for modulus p = 1009. Testing square_root_mod_prime for modulus p = 1013. Testing square_root_mod_prime for modulus p = 1019. Testing square_root_mod_prime for modulus p = 1021. Testing square_root_mod_prime for modulus p = 1031. Testing square_root_mod_prime for modulus p = 1033. Testing square_root_mod_prime for modulus p = 1039. Testing square_root_mod_prime for modulus p = 1049. Testing square_root_mod_prime for modulus p = 1051. Testing square_root_mod_prime for modulus p = 1061. Testing square_root_mod_prime for modulus p = 1063. Testing square_root_mod_prime for modulus p = 1069. Testing square_root_mod_prime for modulus p = 1087. Testing square_root_mod_prime for modulus p = 1091. Testing square_root_mod_prime for modulus p = 1093. Testing square_root_mod_prime for modulus p = 1097. Testing square_root_mod_prime for modulus p = 1103. Testing square_root_mod_prime for modulus p = 1109. Testing square_root_mod_prime for modulus p = 1117. Testing square_root_mod_prime for modulus p = 1123. Testing square_root_mod_prime for modulus p = 1129. Testing square_root_mod_prime for modulus p = 1151. Testing square_root_mod_prime for modulus p = 1153. Testing square_root_mod_prime for modulus p = 1163. Testing square_root_mod_prime for modulus p = 1171. Testing square_root_mod_prime for modulus p = 1181. Testing square_root_mod_prime for modulus p = 1187. Testing square_root_mod_prime for modulus p = 1193. Testing square_root_mod_prime for modulus p = 1201. Testing square_root_mod_prime for modulus p = 1213. Testing square_root_mod_prime for modulus p = 1217. Testing square_root_mod_prime for modulus p = 1223. Testing square_root_mod_prime for modulus p = 1229. Testing jacobi for modulus m = 3. Testing jacobi for modulus m = 5. Testing jacobi for modulus m = 7. Testing jacobi for modulus m = 9. Testing jacobi for modulus m = 11. Testing jacobi for modulus m = 13. Testing jacobi for modulus m = 15. Testing jacobi for modulus m = 17. Testing jacobi for modulus m = 19. Testing jacobi for modulus m = 21. Testing jacobi for modulus m = 23. Testing jacobi for modulus m = 25. Testing jacobi for modulus m = 27. Testing jacobi for modulus m = 29. Testing jacobi for modulus m = 31. Testing jacobi for modulus m = 33. Testing jacobi for modulus m = 35. Testing jacobi for modulus m = 37. Testing jacobi for modulus m = 39. Testing jacobi for modulus m = 41. Testing jacobi for modulus m = 43. Testing jacobi for modulus m = 45. Testing jacobi for modulus m = 47. Testing jacobi for modulus m = 49. Testing jacobi for modulus m = 51. Testing jacobi for modulus m = 53. Testing jacobi for modulus m = 55. Testing jacobi for modulus m = 57. Testing jacobi for modulus m = 59. Testing jacobi for modulus m = 61. Testing jacobi for modulus m = 63. Testing jacobi for modulus m = 65. Testing jacobi for modulus m = 67. Testing jacobi for modulus m = 69. Testing jacobi for modulus m = 71. Testing jacobi for modulus m = 73. Testing jacobi for modulus m = 75. Testing jacobi for modulus m = 77. Testing jacobi for modulus m = 79. Testing jacobi for modulus m = 81. Testing jacobi for modulus m = 83. Testing jacobi for modulus m = 85. Testing jacobi for modulus m = 87. Testing jacobi for modulus m = 89. Testing jacobi for modulus m = 91. Testing jacobi for modulus m = 93. Testing jacobi for modulus m = 95. Testing jacobi for modulus m = 97. Testing jacobi for modulus m = 99. Testing jacobi for modulus m = 101. Testing jacobi for modulus m = 103. Testing jacobi for modulus m = 105. Testing jacobi for modulus m = 107. Testing jacobi for modulus m = 109. Testing jacobi for modulus m = 111. Testing jacobi for modulus m = 113. Testing jacobi for modulus m = 115. Testing jacobi for modulus m = 117. Testing jacobi for modulus m = 119. Testing jacobi for modulus m = 121. Testing jacobi for modulus m = 123. Testing jacobi for modulus m = 125. Testing jacobi for modulus m = 127. Testing jacobi for modulus m = 129. Testing jacobi for modulus m = 131. Testing jacobi for modulus m = 133. Testing jacobi for modulus m = 135. Testing jacobi for modulus m = 137. Testing jacobi for modulus m = 139. Testing jacobi for modulus m = 141. Testing jacobi for modulus m = 143. Testing jacobi for modulus m = 145. Testing jacobi for modulus m = 147. Testing jacobi for modulus m = 149. Testing jacobi for modulus m = 151. Testing jacobi for modulus m = 153. Testing jacobi for modulus m = 155. Testing jacobi for modulus m = 157. Testing jacobi for modulus m = 159. Testing jacobi for modulus m = 161. Testing jacobi for modulus m = 163. Testing jacobi for modulus m = 165. Testing jacobi for modulus m = 167. Testing jacobi for modulus m = 169. Testing jacobi for modulus m = 171. Testing jacobi for modulus m = 173. Testing jacobi for modulus m = 175. Testing jacobi for modulus m = 177. Testing jacobi for modulus m = 179. Testing jacobi for modulus m = 181. Testing jacobi for modulus m = 183. Testing jacobi for modulus m = 185. Testing jacobi for modulus m = 187. Testing jacobi for modulus m = 189. Testing jacobi for modulus m = 191. Testing jacobi for modulus m = 193. Testing jacobi for modulus m = 195. Testing jacobi for modulus m = 197. Testing jacobi for modulus m = 199. Testing jacobi for modulus m = 201. Testing jacobi for modulus m = 203. Testing jacobi for modulus m = 205. Testing jacobi for modulus m = 207. Testing jacobi for modulus m = 209. Testing jacobi for modulus m = 211. Testing jacobi for modulus m = 213. Testing jacobi for modulus m = 215. Testing jacobi for modulus m = 217. Testing jacobi for modulus m = 219. Testing jacobi for modulus m = 221. Testing jacobi for modulus m = 223. Testing jacobi for modulus m = 225. Testing jacobi for modulus m = 227. Testing jacobi for modulus m = 229. Testing jacobi for modulus m = 231. Testing jacobi for modulus m = 233. Testing jacobi for modulus m = 235. Testing jacobi for modulus m = 237. Testing jacobi for modulus m = 239. Testing jacobi for modulus m = 241. Testing jacobi for modulus m = 243. Testing jacobi for modulus m = 245. Testing jacobi for modulus m = 247. Testing jacobi for modulus m = 249. Testing jacobi for modulus m = 251. Testing jacobi for modulus m = 253. Testing jacobi for modulus m = 255. Testing jacobi for modulus m = 257. Testing jacobi for modulus m = 259. Testing jacobi for modulus m = 261. Testing jacobi for modulus m = 263. Testing jacobi for modulus m = 265. Testing jacobi for modulus m = 267. Testing jacobi for modulus m = 269. Testing jacobi for modulus m = 271. Testing jacobi for modulus m = 273. Testing jacobi for modulus m = 275. Testing jacobi for modulus m = 277. Testing jacobi for modulus m = 279. Testing jacobi for modulus m = 281. Testing jacobi for modulus m = 283. Testing jacobi for modulus m = 285. Testing jacobi for modulus m = 287. Testing jacobi for modulus m = 289. Testing jacobi for modulus m = 291. Testing jacobi for modulus m = 293. Testing jacobi for modulus m = 295. Testing jacobi for modulus m = 297. Testing jacobi for modulus m = 299. Testing jacobi for modulus m = 301. Testing jacobi for modulus m = 303. Testing jacobi for modulus m = 305. Testing jacobi for modulus m = 307. Testing jacobi for modulus m = 309. Testing jacobi for modulus m = 311. Testing jacobi for modulus m = 313. Testing jacobi for modulus m = 315. Testing jacobi for modulus m = 317. Testing jacobi for modulus m = 319. Testing jacobi for modulus m = 321. Testing jacobi for modulus m = 323. Testing jacobi for modulus m = 325. Testing jacobi for modulus m = 327. Testing jacobi for modulus m = 329. Testing jacobi for modulus m = 331. Testing jacobi for modulus m = 333. Testing jacobi for modulus m = 335. Testing jacobi for modulus m = 337. Testing jacobi for modulus m = 339. Testing jacobi for modulus m = 341. Testing jacobi for modulus m = 343. Testing jacobi for modulus m = 345.......................................... Testing jacobi for modulus m = 347. Testing jacobi for modulus m = 349. Testing jacobi for modulus m = 351. Testing jacobi for modulus m = 353. Testing jacobi for modulus m = 355. Testing jacobi for modulus m = 357. Testing jacobi for modulus m = 359. Testing jacobi for modulus m = 361. Testing jacobi for modulus m = 363. Testing jacobi for modulus m = 365. Testing jacobi for modulus m = 367. Testing jacobi for modulus m = 369. Testing jacobi for modulus m = 371. Testing jacobi for modulus m = 373. Testing jacobi for modulus m = 375. Testing jacobi for modulus m = 377. Testing jacobi for modulus m = 379. Testing jacobi for modulus m = 381. Testing jacobi for modulus m = 383. Testing jacobi for modulus m = 385. Testing jacobi for modulus m = 387. Testing jacobi for modulus m = 389. Testing jacobi for modulus m = 391. Testing jacobi for modulus m = 393. Testing jacobi for modulus m = 395. Testing jacobi for modulus m = 397. Testing jacobi for modulus m = 399. Testing inverse_mod . . . 6087 tests of inverse_mod completed. 0 errors detected. (3,10) + (9,7) = (17,20) Good. (3,10) doubled = (7,12) Good. (3,10) + (3,10) = (7,12) Good. (3,10) * 2 = (7,12) Good. infinity doubled = infinity Good. (13,7) * 0 = infinity, expected infinity . . . Good. (13,7) * 1 = (13,7), expected (13,7) . . . Good. (13,7) * 2 = (5,4), expected (5,4) . . . Good. (13,7) * 3 = (17,3), expected (17,3) . . . Good. (13,7) * 4 = (17,20), expected (17,20) . . . Good. (13,7) * 5 = (5,19), expected (5,19) . . . Good. (13,7) * 6 = (13,16), expected (13,16) . . . Good. (13,7) * 7 = infinity, expected infinity . . . Good. p192 * d came out right. k * p192 came out right. u1 * p192 + u2 * Q came out right. NIST Curve P-192: p192 * d came out right. k * p192 came out right. u1 * p192 + u2 * Q came out right. r and s came out right. Signature verified OK. Forgery was correctly rejected. Testing point validity, as per ECDSAVS.pdf B.2.2: Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Point validity tested as expected. Trying signature-verification tests from ECDSAVS.pdf B.2.4: P-192: Signature tested as expected: got True, expected True. Signature tested as expected: got True, expected True. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got True, expected True. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Signature tested as expected: got False, expected False. Testing the example code: Demo verification succeeded. Demo verification correctly rejected tampered hash. ---------------------------------------------------------------------- Ran 41 tests in 14.367s OK + exit 0 Processing files: python2-ecdsa-0.13-4.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kAhhet + umask 022 + cd /builddir/build/BUILD + cd ecdsa-0.13 + DOCDIR=/builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python2-ecdsa-0.13 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python2-ecdsa-0.13 + cp -pr LICENSE /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python2-ecdsa-0.13 + cp -pr NEWS /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python2-ecdsa-0.13 + cp -pr PKG-INFO /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python2-ecdsa-0.13 + cp -pr README.md /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python2-ecdsa-0.13 + exit 0 Provides: python-ecdsa = 0.13-4.el7.centos python2-ecdsa = 0.13-4.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Obsoletes: python-ecdsa < 0.13-4.el7.centos Processing files: python34-ecdsa-0.13-4.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fw977E + umask 022 + cd /builddir/build/BUILD + cd ecdsa-0.13 + DOCDIR=/builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python34-ecdsa-0.13 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python34-ecdsa-0.13 + cp -pr LICENSE /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python34-ecdsa-0.13 + cp -pr NEWS /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python34-ecdsa-0.13 + cp -pr PKG-INFO /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python34-ecdsa-0.13 + cp -pr README.md /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64/usr/share/doc/python34-ecdsa-0.13 + exit 0 Provides: python34-ecdsa = 0.13-4.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-939276335.novalocal Wrote: /builddir/build/RPMS/python2-ecdsa-0.13-4.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/python34-ecdsa-0.13-4.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Gx98uj + umask 022 + cd /builddir/build/BUILD + cd ecdsa-0.13 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-ecdsa-0.13-4.el7.centos.x86_64 + exit 0 Child return code was: 0