Skip to content

Commit

Permalink
Run copy_from_upstream
Browse files Browse the repository at this point in the history
Signed-off-by: Eddy Kim <[email protected]>
  • Loading branch information
SWilson4 authored and Eddy-M-K committed Jul 31, 2024
1 parent 6790657 commit f4fb753
Show file tree
Hide file tree
Showing 16 changed files with 112 additions and 112 deletions.
14 changes: 7 additions & 7 deletions src/kem/classic_mceliece/kem_classic_mceliece_348864.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern int PQCLEAN_MCELIECE348864_AVX2_crypto_kem_dec(uint8_t *ss, const uint8_t
#endif

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_348864_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -67,10 +67,10 @@ OQS_API OQS_STATUS OQS_KEM_classic_mceliece_348864_keypair(uint8_t *public_key,
}

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_348864_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/classic_mceliece/kem_classic_mceliece_348864f.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern int PQCLEAN_MCELIECE348864F_AVX2_crypto_kem_dec(uint8_t *ss, const uint8_
#endif

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_348864f_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -67,10 +67,10 @@ OQS_API OQS_STATUS OQS_KEM_classic_mceliece_348864f_keypair(uint8_t *public_key,
}

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_348864f_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/classic_mceliece/kem_classic_mceliece_460896.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern int PQCLEAN_MCELIECE460896_AVX2_crypto_kem_dec(uint8_t *ss, const uint8_t
#endif

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_460896_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -67,10 +67,10 @@ OQS_API OQS_STATUS OQS_KEM_classic_mceliece_460896_keypair(uint8_t *public_key,
}

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_460896_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/classic_mceliece/kem_classic_mceliece_460896f.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern int PQCLEAN_MCELIECE460896F_AVX2_crypto_kem_dec(uint8_t *ss, const uint8_
#endif

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_460896f_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -67,10 +67,10 @@ OQS_API OQS_STATUS OQS_KEM_classic_mceliece_460896f_keypair(uint8_t *public_key,
}

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_460896f_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/classic_mceliece/kem_classic_mceliece_6688128.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern int PQCLEAN_MCELIECE6688128_AVX2_crypto_kem_dec(uint8_t *ss, const uint8_
#endif

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6688128_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -67,10 +67,10 @@ OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6688128_keypair(uint8_t *public_key,
}

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6688128_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/classic_mceliece/kem_classic_mceliece_6688128f.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern int PQCLEAN_MCELIECE6688128F_AVX2_crypto_kem_dec(uint8_t *ss, const uint8
#endif

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6688128f_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -67,10 +67,10 @@ OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6688128f_keypair(uint8_t *public_key
}

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6688128f_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/classic_mceliece/kem_classic_mceliece_6960119.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern int PQCLEAN_MCELIECE6960119_AVX2_crypto_kem_dec(uint8_t *ss, const uint8_
#endif

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6960119_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -67,10 +67,10 @@ OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6960119_keypair(uint8_t *public_key,
}

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6960119_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/classic_mceliece/kem_classic_mceliece_6960119f.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern int PQCLEAN_MCELIECE6960119F_AVX2_crypto_kem_dec(uint8_t *ss, const uint8
#endif

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6960119f_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -67,10 +67,10 @@ OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6960119f_keypair(uint8_t *public_key
}

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_6960119f_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/classic_mceliece/kem_classic_mceliece_8192128.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern int PQCLEAN_MCELIECE8192128_AVX2_crypto_kem_dec(uint8_t *ss, const uint8_
#endif

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_8192128_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -67,10 +67,10 @@ OQS_API OQS_STATUS OQS_KEM_classic_mceliece_8192128_keypair(uint8_t *public_key,
}

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_8192128_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/classic_mceliece/kem_classic_mceliece_8192128f.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ extern int PQCLEAN_MCELIECE8192128F_AVX2_crypto_kem_dec(uint8_t *ss, const uint8
#endif

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_8192128f_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -67,10 +67,10 @@ OQS_API OQS_STATUS OQS_KEM_classic_mceliece_8192128f_keypair(uint8_t *public_key
}

OQS_API OQS_STATUS OQS_KEM_classic_mceliece_8192128f_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/hqc/kem_hqc_128.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ extern int PQCLEAN_HQC128_CLEAN_crypto_kem_enc(uint8_t *ct, uint8_t *ss, const u
extern int PQCLEAN_HQC128_CLEAN_crypto_kem_dec(uint8_t *ss, const uint8_t *ct, const uint8_t *sk);

OQS_API OQS_STATUS OQS_KEM_hqc_128_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -49,10 +49,10 @@ OQS_API OQS_STATUS OQS_KEM_hqc_128_keypair(uint8_t *public_key, uint8_t *secret_
}

OQS_API OQS_STATUS OQS_KEM_hqc_128_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/hqc/kem_hqc_192.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ extern int PQCLEAN_HQC192_CLEAN_crypto_kem_enc(uint8_t *ct, uint8_t *ss, const u
extern int PQCLEAN_HQC192_CLEAN_crypto_kem_dec(uint8_t *ss, const uint8_t *ct, const uint8_t *sk);

OQS_API OQS_STATUS OQS_KEM_hqc_192_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -49,10 +49,10 @@ OQS_API OQS_STATUS OQS_KEM_hqc_192_keypair(uint8_t *public_key, uint8_t *secret_
}

OQS_API OQS_STATUS OQS_KEM_hqc_192_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/hqc/kem_hqc_256.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ extern int PQCLEAN_HQC256_CLEAN_crypto_kem_enc(uint8_t *ct, uint8_t *ss, const u
extern int PQCLEAN_HQC256_CLEAN_crypto_kem_dec(uint8_t *ss, const uint8_t *ct, const uint8_t *sk);

OQS_API OQS_STATUS OQS_KEM_hqc_256_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand All @@ -49,10 +49,10 @@ OQS_API OQS_STATUS OQS_KEM_hqc_256_keypair(uint8_t *public_key, uint8_t *secret_
}

OQS_API OQS_STATUS OQS_KEM_hqc_256_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
14 changes: 7 additions & 7 deletions src/kem/kyber/kem_kyber_1024.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ extern int PQCLEAN_KYBER1024_AARCH64_crypto_kem_dec(uint8_t *ss, const uint8_t *
#endif

OQS_API OQS_STATUS OQS_KEM_kyber_1024_keypair_derand(uint8_t *public_key, uint8_t *secret_key, const uint8_t *coins) {
(void)public_key;
(void)secret_key;
(void)coins;
(void)public_key;
(void)secret_key;
(void)coins;
return OQS_ERROR;
}

Expand Down Expand Up @@ -83,10 +83,10 @@ OQS_API OQS_STATUS OQS_KEM_kyber_1024_keypair(uint8_t *public_key, uint8_t *secr
}

OQS_API OQS_STATUS OQS_KEM_kyber_1024_encaps_derand(uint8_t *ciphertext, uint8_t *shared_secret, const uint8_t *public_key, const uint8_t *coins) {
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
(void)ciphertext;
(void)shared_secret;
(void)public_key;
(void)coins;
return OQS_ERROR;
}

Expand Down
Loading

0 comments on commit f4fb753

Please sign in to comment.