Skip to content

Instantly share code, notes, and snippets.

@Martyrshot
Last active November 9, 2021 16:59
Show Gist options
  • Save Martyrshot/9b6acc809353f428d4bfd409fe4c108b to your computer and use it in GitHub Desktop.
Save Martyrshot/9b6acc809353f428d4bfd409fe4c108b to your computer and use it in GitHub Desktop.
Updated doc format for multiple upstreams

Kyber

Parameter set summary

Parameter set Security model Claimed NIST Level Public key size (bytes) Secret key size (bytes) Ciphertext size (bytes) Shared secret size (bytes)
Kyber512 IND-CCA2 1 800 1632 768 32
Kyber512-90s IND-CCA2 1 800 1632 768 32
Kyber768 IND-CCA2 3 1184 2400 1088 32
Kyber768-90s IND-CCA2 3 1184 2400 1088 32
Kyber1024 IND-CCA2 5 1568 3168 1568 32
Kyber1024-90s IND-CCA2 5 1568 3168 1568 32

Kyber512 implementation characteristics

Implementation source Identifier in upstream Supported architecture(s) Supported operating system(s) CPU extension(s) used No branching-on-secrets claimed? No branching-on-secrets checked by valgrind? Large stack usage?‡
primary ref All All None True True False
primary avx2 x86_64 Linux,Darwin AVX2,BMI2,POPCNT True True False
i. aarch64 aarch64 Linux,Darwin NEON True False False

Are implementations chosen based on runtime CPU feature detection? Yes.

‡For an explanation of what this denotes, consult the Explanation of Terms section at the end of this file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment