Reference implementations of PQC
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

27 rindas
552 B

  1. """
  2. Checks that the archive library can be successfully built for every
  3. scheme/implementation.
  4. """
  5. import pqclean
  6. import helpers
  7. def test_compile_lib():
  8. for scheme in pqclean.Scheme.all_schemes():
  9. for implementation in scheme.implementations:
  10. yield check_compile_lib, implementation
  11. def check_compile_lib(implementation):
  12. helpers.make(working_dir=implementation.path())
  13. if __name__ == '__main__':
  14. try:
  15. import nose2
  16. nose2.main()
  17. except ImportError:
  18. import nose
  19. nose.runmodule()