Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
Signed-off-by: rtjk <[email protected]>
  • Loading branch information
rtjk committed Aug 19, 2024
1 parent 65d1eb2 commit 77c6818
Show file tree
Hide file tree
Showing 8 changed files with 3,845 additions and 2,265 deletions.
173 changes: 114 additions & 59 deletions oqsprov/oqs_decode_der2key.c

Large diffs are not rendered by default.

719 changes: 362 additions & 357 deletions oqsprov/oqs_encode_key2any.c

Large diffs are not rendered by default.

748 changes: 395 additions & 353 deletions oqsprov/oqs_kmgmt.c

Large diffs are not rendered by default.

2,645 changes: 1,835 additions & 810 deletions oqsprov/oqs_prov.h

Large diffs are not rendered by default.

725 changes: 470 additions & 255 deletions oqsprov/oqsprov.c

Large diffs are not rendered by default.

771 changes: 494 additions & 277 deletions oqsprov/oqsprov_capabilities.c

Large diffs are not rendered by default.

251 changes: 136 additions & 115 deletions oqsprov/oqsprov_keys.c

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions test/oqs_test_evp_pkey_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,52 +17,52 @@

/** \brief List of hybrid signature algorithms. */
const char *kHybridSignatureAlgorithms[] = {
"p256_dilithium2","rsa3072_dilithium2","p384_dilithium3","p521_dilithium5","p256_mldsa44","rsa3072_mldsa44","p384_mldsa65","p521_mldsa87","p256_falcon512","rsa3072_falcon512","p256_falconpadded512","rsa3072_falconpadded512","p521_falcon1024","p521_falconpadded1024","p256_sphincssha2128fsimple","rsa3072_sphincssha2128fsimple","p256_sphincssha2128ssimple","rsa3072_sphincssha2128ssimple","p384_sphincssha2192fsimple","p256_sphincsshake128fsimple","rsa3072_sphincsshake128fsimple","p256_mayo1","p256_mayo2","p384_mayo3","p521_mayo5",
NULL,
"p256_dilithium2",
"rsa3072_dilithium2",
"p384_dilithium3",
"p521_dilithium5",
"p256_mldsa44",
"rsa3072_mldsa44",
"p384_mldsa65",
"p521_mldsa87",
"p256_falcon512",
"rsa3072_falcon512",
"p256_falconpadded512",
"rsa3072_falconpadded512",
"p521_falcon1024",
"p521_falconpadded1024",
"p256_sphincssha2128fsimple",
"rsa3072_sphincssha2128fsimple",
"p256_sphincssha2128ssimple",
"rsa3072_sphincssha2128ssimple",
"p384_sphincssha2192fsimple",
"p256_sphincsshake128fsimple",
"rsa3072_sphincsshake128fsimple",
"p256_mayo1",
"p256_mayo2",
"p384_mayo3",
"p521_mayo5",
NULL,
};
///// OQS_TEMPLATE_FRAGMENT_HYBRID_SIG_ALGS_END

///// OQS_TEMPLATE_FRAGMENT_HYBRID_KEM_ALGS_START

/** \brief List of hybrid KEMs. */
const char *kHybridKEMAlgorithms[] = {
"p256_frodo640aes",
"x25519_frodo640aes",
"p256_frodo640shake",
"x25519_frodo640shake",
"p384_frodo976aes",
"x448_frodo976aes",
"p384_frodo976shake",
"x448_frodo976shake",
"p521_frodo1344aes",
"p521_frodo1344shake",
"p256_kyber512",
"x25519_kyber512",
"p384_kyber768",
"x448_kyber768",
"x25519_kyber768",
"p256_kyber768",
"p521_kyber1024",
"p256_mlkem512",
"x25519_mlkem512",
"p384_mlkem768",
"x448_mlkem768",
"x25519_mlkem768",
"p256_mlkem768",
"p521_mlkem1024",
"p384_mlkem1024",
"p256_bikel1",
"x25519_bikel1",
"p384_bikel3",
"x448_bikel3",
"p521_bikel5",
"p256_hqc128",
"x25519_hqc128",
"p384_hqc192",
"x448_hqc192",
"p521_hqc256",
NULL,
};///// OQS_TEMPLATE_FRAGMENT_HYBRID_KEM_ALGS_END
"p256_frodo640aes", "x25519_frodo640aes", "p256_frodo640shake",
"x25519_frodo640shake", "p384_frodo976aes", "x448_frodo976aes",
"p384_frodo976shake", "x448_frodo976shake", "p521_frodo1344aes",
"p521_frodo1344shake", "p256_kyber512", "x25519_kyber512",
"p384_kyber768", "x448_kyber768", "x25519_kyber768",
"p256_kyber768", "p521_kyber1024", "p256_mlkem512",
"x25519_mlkem512", "p384_mlkem768", "x448_mlkem768",
"x25519_mlkem768", "p256_mlkem768", "p521_mlkem1024",
"p384_mlkem1024", "p256_bikel1", "x25519_bikel1",
"p384_bikel3", "x448_bikel3", "p521_bikel5",
"p256_hqc128", "x25519_hqc128", "p384_hqc192",
"x448_hqc192", "p521_hqc256", NULL,
}; ///// OQS_TEMPLATE_FRAGMENT_HYBRID_KEM_ALGS_END

/** \brief Indicates if a string is in a given list of strings.
*
Expand Down

0 comments on commit 77c6818

Please sign in to comment.