Skip to content

Commit

Permalink
committing new algs
Browse files Browse the repository at this point in the history
  • Loading branch information
trigpolynom committed Dec 5, 2023
1 parent a588655 commit 9263390
Show file tree
Hide file tree
Showing 14 changed files with 4,746 additions and 4,059 deletions.
110 changes: 103 additions & 7 deletions ALGORITHMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,45 @@ As standardization for these algorithms within TLS is not done, all TLS code poi
| dilithium2WithShake256 | 0xfea2 |Yes| OQS_CODEPOINT_DILITHIUM2WITHSHAKE256
| dilithium3 | 0xfea3 |Yes| OQS_CODEPOINT_DILITHIUM3
| p384_dilithium3 | 0xfea4 |Yes| OQS_CODEPOINT_P384_DILITHIUM3
| dilithium5 | 0xfea5 |Yes| OQS_CODEPOINT_DILITHIUM5
| p521_dilithium5 | 0xfea6 |Yes| OQS_CODEPOINT_P521_DILITHIUM5
| falcon512 | 0xfeae |Yes| OQS_CODEPOINT_FALCON512
| p256_falcon512 | 0xfeaf |Yes| OQS_CODEPOINT_P256_FALCON512
| rsa3072_falcon512 | 0xfeb0 |Yes| OQS_CODEPOINT_RSA3072_FALCON512
| falcon1024 | 0xfeb1 |Yes| OQS_CODEPOINT_FALCON1024
| p521_falcon1024 | 0xfeb2 |Yes| OQS_CODEPOINT_P521_FALCON1024
| dilithium3WithSha256 | 0xfea5 |Yes| OQS_CODEPOINT_DILITHIUM3WITHSHA256
| dilithium3WithSha384 | 0xfea6 |Yes| OQS_CODEPOINT_DILITHIUM3WITHSHA384
| dilithium3WithSha512 | 0xfea7 |Yes| OQS_CODEPOINT_DILITHIUM3WITHSHA512
| dilithium3WithSha3At256 | 0xfea8 |Yes| OQS_CODEPOINT_DILITHIUM3WITHSHA3AT256
| dilithium3WithSha3At384 | 0xfea9 |Yes| OQS_CODEPOINT_DILITHIUM3WITHSHA3AT384
| dilithium3WithSha3At512 | 0xfeaa |Yes| OQS_CODEPOINT_DILITHIUM3WITHSHA3AT512
| dilithium3WithShake128 | 0xfeab |Yes| OQS_CODEPOINT_DILITHIUM3WITHSHAKE128
| dilithium3WithShake256 | 0xfeac |Yes| OQS_CODEPOINT_DILITHIUM3WITHSHAKE256
| dilithium5 | 0xfead |Yes| OQS_CODEPOINT_DILITHIUM5
| p521_dilithium5 | 0xfeae |Yes| OQS_CODEPOINT_P521_DILITHIUM5
| dilithium5WithSha256 | 0xfeaf |Yes| OQS_CODEPOINT_DILITHIUM5WITHSHA256
| dilithium5WithSha384 | 0xfeb0 |Yes| OQS_CODEPOINT_DILITHIUM5WITHSHA384
| dilithium5WithSha512 | 0xfeb1 |Yes| OQS_CODEPOINT_DILITHIUM5WITHSHA512
| dilithium5WithSha3At256 | 0xfeb2 |Yes| OQS_CODEPOINT_DILITHIUM5WITHSHA3AT256
| dilithium5WithSha3At384 | 0xfeb3 |Yes| OQS_CODEPOINT_DILITHIUM5WITHSHA3AT384
| dilithium5WithSha3At512 | 0xfeb4 |Yes| OQS_CODEPOINT_DILITHIUM5WITHSHA3AT512
| dilithium5WithShake128 | 0xfeb5 |Yes| OQS_CODEPOINT_DILITHIUM5WITHSHAKE128
| dilithium5WithShake256 | 0xfeb6 |Yes| OQS_CODEPOINT_DILITHIUM5WITHSHAKE256
| falcon512 | 0xfebe |Yes| OQS_CODEPOINT_FALCON512
| p256_falcon512 | 0xfebf |Yes| OQS_CODEPOINT_P256_FALCON512
| rsa3072_falcon512 | 0xfec0 |Yes| OQS_CODEPOINT_RSA3072_FALCON512
| falcon512WithSha256 | 0xfec1 |Yes| OQS_CODEPOINT_FALCON512WITHSHA256
| falcon512WithSha384 | 0xfec2 |Yes| OQS_CODEPOINT_FALCON512WITHSHA384
| falcon512WithSha512 | 0xfec3 |Yes| OQS_CODEPOINT_FALCON512WITHSHA512
| falcon512WithSha3At256 | 0xfec4 |Yes| OQS_CODEPOINT_FALCON512WITHSHA3AT256
| falcon512WithSha3At384 | 0xfec5 |Yes| OQS_CODEPOINT_FALCON512WITHSHA3AT384
| falcon512WithSha3At512 | 0xfec6 |Yes| OQS_CODEPOINT_FALCON512WITHSHA3AT512
| falcon512WithShake128 | 0xfec6 |Yes| OQS_CODEPOINT_FALCON512WITHSHAKE128
| falcon512WithShake256 | 0xfec7 |Yes| OQS_CODEPOINT_FALCON512WITHSHAKE256
| falcon1024 | 0xfec8 |Yes| OQS_CODEPOINT_FALCON1024
| p521_falcon1024 | 0xfec9 |Yes| OQS_CODEPOINT_P521_FALCON1024
| falcon1024WithSha256 | 0xfeca |Yes| OQS_CODEPOINT_FALCON1024WITHSHA256
| falcon1024WithSha384 | 0xfecb |Yes| OQS_CODEPOINT_FALCON1024WITHSHA384
| falcon1024WithSha512 | 0xfecc |Yes| OQS_CODEPOINT_FALCON1024WITHSHA512
| falcon1024WithSha3At256 | 0xfecd |Yes| OQS_CODEPOINT_FALCON1024WITHSHA3AT256
| falcon1024WithSha3At384 | 0xfece |Yes| OQS_CODEPOINT_FALCON1024WITHSHA3AT384
| falcon1024WithSha3At512 | 0xfecf |Yes| OQS_CODEPOINT_FALCON1024WITHSHA3AT512
| falcon1024WithShake128 | 0xfed0 |Yes| OQS_CODEPOINT_FALCON1024WITHSHAKE128
| falcon1024WithShake256 | 0xfed1 |Yes| OQS_CODEPOINT_FALCON1024WITHSHAKE256
| sphincssha2128fsimple | 0xfeb3 |Yes| OQS_CODEPOINT_SPHINCSSHA2128FSIMPLE
| p256_sphincssha2128fsimple | 0xfeb4 |Yes| OQS_CODEPOINT_P256_SPHINCSSHA2128FSIMPLE
| rsa3072_sphincssha2128fsimple | 0xfeb5 |Yes| OQS_CODEPOINT_RSA3072_SPHINCSSHA2128FSIMPLE
Expand Down Expand Up @@ -140,13 +172,45 @@ adapting the OIDs of all supported signature algorithms as per the table below.
| dilithium2WithShake256 | 1.3.6.1.4.1.18227.999.1.1.8 |Yes| OQS_OID_DILITHIUM2WITHSHAKE256
| dilithium3 | 1.3.6.1.4.1.2.267.7.6.5 |Yes| OQS_OID_DILITHIUM3
| p384_dilithium3 | 1.3.9999.2.7.3 |Yes| OQS_OID_P384_DILITHIUM3
| dilithium3WithSha256 | 1.3.6.1.4.1.18227.999.1.2.1 |Yes| OQS_OID_DILITHIUM3WITHSHA256
| dilithium3WithSha384 | 1.3.6.1.4.1.18227.999.1.2.2 |Yes| OQS_OID_DILITHIUM3WITHSHA384
| dilithium3WithSha512 | 1.3.6.1.4.1.18227.999.1.2.3 |Yes| OQS_OID_DILITHIUM3WITHSHA512
| dilithium3WithSha3At256 | 1.3.6.1.4.1.18227.999.1.2.4 |Yes| OQS_OID_DILITHIUM3WITHSHA3AT256
| dilithium3WithSha3At384 | 1.3.6.1.4.1.18227.999.1.2.5 |Yes| OQS_OID_DILITHIUM3WITHSHA3AT384
| dilithium3WithSha3At512 | 1.3.6.1.4.1.18227.999.1.2.6 |Yes| OQS_OID_DILITHIUM3WITHSHA3AT512
| dilithium3WithShake128 | 1.3.6.1.4.1.18227.999.1.2.7 |Yes| OQS_OID_DILITHIUM3WITHSHAKE128
| dilithium3WithShake256 | 1.3.6.1.4.1.18227.999.1.2.8 |Yes| OQS_OID_DILITHIUM3WITHSHAKE256
| dilithium5 | 1.3.6.1.4.1.2.267.7.8.7 |Yes| OQS_OID_DILITHIUM5
| p521_dilithium5 | 1.3.9999.2.7.4 |Yes| OQS_OID_P521_DILITHIUM5
| dilithium5WithSha256 | 1.3.6.1.4.1.18227.999.1.3.1 |Yes| OQS_OID_DILITHIUM5WITHSHA256
| dilithium5WithSha384 | 1.3.6.1.4.1.18227.999.1.3.2 |Yes| OQS_OID_DILITHIUM5WITHSHA384
| dilithium5WithSha512 | 1.3.6.1.4.1.18227.999.1.3.3 |Yes| OQS_OID_DILITHIUM5WITHSHA512
| dilithium5WithSha3At256 | 1.3.6.1.4.1.18227.999.1.3.4 |Yes| OQS_OID_DILITHIUM5WITHSHA3AT256
| dilithium5WithSha3At384 | 1.3.6.1.4.1.18227.999.1.3.5 |Yes| OQS_OID_DILITHIUM5WITHSHA3AT384
| dilithium5WithSha3At512 | 1.3.6.1.4.1.18227.999.1.3.6 |Yes| OQS_OID_DILITHIUM5WITHSHA3AT512
| dilithium5WithShake128 | 1.3.6.1.4.1.18227.999.1.3.7 |Yes| OQS_OID_DILITHIUM5WITHSHAKE128
| dilithium5WithShake256 | 1.3.6.1.4.1.18227.999.1.3.8 |Yes| OQS_OID_DILITHIUM5WITHSHAKE256
| falcon512 | 1.3.9999.3.6 |Yes| OQS_OID_FALCON512
| p256_falcon512 | 1.3.9999.3.7 |Yes| OQS_OID_P256_FALCON512
| rsa3072_falcon512 | 1.3.9999.3.8 |Yes| OQS_OID_RSA3072_FALCON512
| falcon512WithSha256 | 1.3.6.1.4.1.18227.999.2.3.1.1 |Yes| OQS_OID_FALCON512WITHSHA256
| falcon512WithSha384 | 1.3.6.1.4.1.18227.999.2.3.2.1 |Yes| OQS_OID_FALCON512WITHSHA384
| falcon512WithSha512 | 1.3.6.1.4.1.18227.999.2.3.3.1 |Yes| OQS_OID_FALCON512WITHSHA512
| falcon512WithSha3At256 | 1.3.6.1.4.1.18227.999.2.3.4.1 |Yes| OQS_OID_FALCON512WITHSHA3AT256
| falcon512WithSha3At384 | 1.3.6.1.4.1.18227.999.2.3.5.1 |Yes| OQS_OID_FALCON512WITHSHA3AT384
| falcon512WithSha3At512 | 1.3.6.1.4.1.18227.999.2.3.6.1 |Yes| OQS_OID_FALCON512WITHSHA3AT512
| falcon512WithShake128 | 1.3.6.1.4.1.18227.999.2.3.7.1 |Yes| OQS_OID_FALCON512WITHSHAKE128
| falcon512WithShake256 | 1.3.6.1.4.1.18227.999.2.3.8.1 |Yes| OQS_OID_FALCON512WITHSHAKE256
| falcon1024 | 1.3.9999.3.9 |Yes| OQS_OID_FALCON1024
| p521_falcon1024 | 1.3.9999.3.10 |Yes| OQS_OID_P521_FALCON1024
| falcon1024WithSha256 | 1.3.6.1.4.1.18227.999.2.2.1.1 |Yes| OQS_OID_FALCON1024WITHSHA256
| falcon1024WithSha384 | 1.3.6.1.4.1.18227.999.2.2.2.1 |Yes| OQS_OID_FALCON1024WITHSHA384
| falcon1024WithSha512 | 1.3.6.1.4.1.18227.999.2.2.3.1 |Yes| OQS_OID_FALCON1024WITHSHA512
| falcon1024WithSha3At256 | 1.3.6.1.4.1.18227.999.2.2.4.1 |Yes| OQS_OID_FALCON1024WITHSHA3AT256
| falcon1024WithSha3At384 | 1.3.6.1.4.1.18227.999.2.2.5.1 |Yes| OQS_OID_FALCON1024WITHSHA3AT384
| falcon1024WithSha3At512 | 1.3.6.1.4.1.18227.999.2.2.6.1 |Yes| OQS_OID_FALCON1024WITHSHA3AT512
| falcon1024WithShake128 | 1.3.6.1.4.1.18227.999.2.2.7.1 |Yes| OQS_OID_FALCON1024WITHSHAKE128
| falcon1024WithShake256 | 1.3.6.1.4.1.18227.999.2.2.8.1 |Yes| OQS_OID_FALCON1024WITHSHAKE256
| sphincssha2128fsimple | 1.3.9999.6.4.13 |Yes| OQS_OID_SPHINCSSHA2128FSIMPLE
| p256_sphincssha2128fsimple | 1.3.9999.6.4.14 |Yes| OQS_OID_P256_SPHINCSSHA2128FSIMPLE
| rsa3072_sphincssha2128fsimple | 1.3.9999.6.4.15 |Yes| OQS_OID_RSA3072_SPHINCSSHA2128FSIMPLE
Expand Down Expand Up @@ -245,9 +309,41 @@ By setting environment variables, oqs-provider can be configured to encode keys
|`OQS_ENCODING_DILITHIUM2WITHSHAKE128`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM2WITHSHAKE256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM3`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM3WITHSHA256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM3WITHSHA384`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM3WITHSHA512`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM3WITHSHA3AT256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM3WITHSHA3AT384`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM3WITHSHA3AT512`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM3WITHSHAKE128`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM3WITHSHAKE256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM5`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM5WITHSHA256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM5WITHSHA384`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM5WITHSHA512`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM5WITHSHA3AT256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM5WITHSHA3AT384`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM5WITHSHA3AT512`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM5WITHSHAKE128`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_DILITHIUM5WITHSHAKE256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON512`|`draft-uni-qsckeys-falcon-00/sk-pk`|
|`OQS_ENCODING_FALCON512WITHSHA256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON512WITHSHA384`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON512WITHSHA512`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON512WITHSHA3AT256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON512WITHSHA3AT384`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON512WITHSHA3AT512`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON512WITHSHAKE128`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON512WITHSHAKE256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON1024`|`draft-uni-qsckeys-falcon-00/sk-pk`|
|`OQS_ENCODING_FALCON1024WITHSHA256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON1024WITHSHA384`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON1024WITHSHA512`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON1024WITHSHA3AT256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON1024WITHSHA3AT384`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON1024WITHSHA3AT512`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON1024WITHSHAKE128`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_FALCON1024WITHSHAKE256`|`draft-uni-qsckeys-dilithium-00/sk-pk`|
|`OQS_ENCODING_SPHINCSSHA2128FSIMPLE`|`draft-uni-qsckeys-sphincsplus-00/sk-pk`|
|`OQS_ENCODING_SPHINCSSHA2128SSIMPLE`|`draft-uni-qsckeys-sphincsplus-00/sk-pk`|
|`OQS_ENCODING_SPHINCSSHA2192FSIMPLE`|`draft-uni-qsckeys-sphincsplus-00/sk-pk`|
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ This implementation makes available the following quantum safe algorithms:

### Signature algorithms

- **CRYSTALS-Dilithium**:`dilithium2`\*, `p256_dilithium2`\*, `rsa3072_dilithium2`\*, `dilithium2WithSha256`\*, `dilithium2WithSha384`\*, `dilithium2WithSha512`\*, `dilithium2WithSha3At256`\*, `dilithium2WithSha3At384`\*, `dilithium2WithSha3At512`\*, `dilithium2WithShake128`\*, `dilithium2WithShake256`\*, `dilithium3`\*, `p384_dilithium3`\*, `dilithium5`\*, `p521_dilithium5`\*
- **Falcon**:`falcon512`\*, `p256_falcon512`\*, `rsa3072_falcon512`\*, `falcon1024`\*, `p521_falcon1024`\*
- **CRYSTALS-Dilithium**:`dilithium2`\*, `p256_dilithium2`\*, `rsa3072_dilithium2`\*, `dilithium2WithSha256`\*, `dilithium2WithSha384`\*, `dilithium2WithSha512`\*, `dilithium2WithSha3At256`\*, `dilithium2WithSha3At384`\*, `dilithium2WithSha3At512`\*, `dilithium2WithShake128`\*, `dilithium2WithShake256`\*, `dilithium3`\*, `p384_dilithium3`\*, `dilithium3WithSha256`\*, `dilithium3WithSha384`\*, `dilithium3WithSha512`\*, `dilithium3WithSha3At256`\*, `dilithium3WithSha3At384`\*, `dilithium3WithSha3At512`\*, `dilithium3WithShake128`\*, `dilithium3WithShake256`\*, `dilithium5`\*, `p521_dilithium5`\*, `dilithium5WithSha256`\*, `dilithium5WithSha384`\*, `dilithium5WithSha512`\*, `dilithium5WithSha3At256`\*, `dilithium5WithSha3At384`\*, `dilithium5WithSha3At512`\*, `dilithium5WithShake128`\*, `dilithium5WithShake256`\*
- **Falcon**:`falcon512`\*, `p256_falcon512`\*, `rsa3072_falcon512`\*, `falcon512WithSha256`\*, `falcon512WithSha384`\*, `falcon512WithSha512`\*, `falcon512WithSha3At256`\*, `falcon512WithSha3At384`\*, `falcon512WithSha3At512`\*, `falcon512WithShake128`\*, `falcon512WithShake256`\*, `falcon1024`\*, `p521_falcon1024`\*, `falcon1024WithSha256`\*, `falcon1024WithSha384`\*, `falcon1024WithSha512`\*, `falcon1024WithSha3At256`\*, `falcon1024WithSha3At384`\*, `falcon1024WithSha3At512`\*, `falcon1024WithShake128`\*, `falcon1024WithShake256`\*

- **SPHINCS-SHA2**:`sphincssha2128fsimple`\*, `p256_sphincssha2128fsimple`\*, `rsa3072_sphincssha2128fsimple`\*, `sphincssha2128ssimple`\*, `p256_sphincssha2128ssimple`\*, `rsa3072_sphincssha2128ssimple`\*, `sphincssha2192fsimple`\*, `p384_sphincssha2192fsimple`\*, `sphincssha2192ssimple`, `p384_sphincssha2192ssimple`, `sphincssha2256fsimple`, `p521_sphincssha2256fsimple`, `sphincssha2256ssimple`, `p521_sphincssha2256ssimple`
- **SPHINCS-SHAKE**:`sphincsshake128fsimple`\*, `p256_sphincsshake128fsimple`\*, `rsa3072_sphincsshake128fsimple`\*, `sphincsshake128ssimple`, `p256_sphincsshake128ssimple`, `rsa3072_sphincsshake128ssimple`, `sphincsshake192fsimple`, `p384_sphincsshake192fsimple`, `sphincsshake192ssimple`, `p384_sphincsshake192ssimple`, `sphincsshake256fsimple`, `p521_sphincsshake256fsimple`, `sphincsshake256ssimple`, `p521_sphincsshake256ssimple`
Expand Down
Loading

0 comments on commit 9263390

Please sign in to comment.