Skip to content

[work in progress] Network-level performance testing of post-quantum cryptography using the OQS suite

License

Notifications You must be signed in to change notification settings

baentsch/speed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

open-quantum-safe

speed

Performance testing

Purpose

This repository is to contain software geared to collect performance numbers across the algorithms supported by liboqs at different levels of the software and network stack.

Particularly, measurements will be collected using

  1. ´liboqs´ library-level performance testing using ´speed_sig´ and ´speed_kem´ for execution performance numbers and ´test_sig_mem´ and ´test_kem_mem´ for memory consumption numbers (heap and stack)
  2. ´openssl´ application-level performance testing using ´speed´
  3. ´openssl´ "basic network"-level raw handshake performance testing using ´s_time´
  4. "Simulated"/controlled network-level performance testing [not yet implemented]
  5. "Full stack" performance testing using standard client software like ´curl´ and standard server software like ´nginx´ [not yet implemented].

This repository will not contain tests replicating raw algorithm-level testing as done by Supercop.

Methodology

All tests

  • are packaged into standalone Docker images facilitating execution across different (cloud) platforms and hardware architectures & CPU optimizations
  • are designed to return JSON output representing current performance numbers that can be stored arbitrarily; initial storage facilities are provided to deposit data into AWS S3.
  • allow to also collect/document performance numbers of classic crypto to permit comparison with PQC algorithms
  • can be visualized by suitable Chart.js code: see visualization folder.

Wrapper scripts are created to facilitate automatically running these tests on different cloud infrastructures and storing the resulting JSON output as well as the wrapping HTML and JavaScript code.

About

[work in progress] Network-level performance testing of post-quantum cryptography using the OQS suite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.6%
  • HTML 19.7%
  • Python 10.0%
  • Dockerfile 5.8%
  • Shell 3.2%
  • CSS 0.7%