Skip to content

Commit

Permalink
remove comments & zephyr build fix
Browse files Browse the repository at this point in the history
Signed-off-by: Basil Hess <[email protected]>
  • Loading branch information
bhess committed Jul 8, 2024
1 parent 03b6cb4 commit 33164c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions src/common/aes/aes_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ void oqs_aes128_load_iv_u64_ni(uint64_t iv, void *_schedule);
void oqs_aes128_free_schedule_ni(void *schedule);
void oqs_aes128_enc_sch_block_ni(const uint8_t *plaintext, const void *_schedule, uint8_t *ciphertext);
void oqs_aes128_ecb_enc_sch_ni(const uint8_t *plaintext, const size_t plaintext_len, const void *schedule, uint8_t *ciphertext);
// to implement
void oqs_aes128_ctr_enc_sch_ni(const uint8_t *iv, const size_t iv_len, const void *schedule, uint8_t *out, size_t out_len);
void oqs_aes128_ctr_enc_sch_upd_blks_ni(void *schedule, uint8_t *out, size_t out_len);

Expand All @@ -17,7 +16,6 @@ void oqs_aes128_load_iv_c(const uint8_t *iv, size_t iv_len, void *_schedule);
void oqs_aes128_load_iv_u64_c(uint64_t iv, void *_schedule);
void oqs_aes128_free_schedule_c(void *schedule);
void oqs_aes128_ecb_enc_sch_c(const uint8_t *plaintext, const size_t plaintext_len, const void *schedule, uint8_t *ciphertext);
// to implement
void oqs_aes128_ctr_enc_sch_c(const uint8_t *iv, const size_t iv_len, const void *schedule, uint8_t *out, size_t out_len);
void oqs_aes128_ctr_enc_sch_upd_blks_c(void *schedule, uint8_t *out, size_t out_len);

Expand All @@ -26,7 +24,6 @@ void oqs_aes128_load_iv_armv8(const uint8_t *iv, size_t iv_len, void *_schedule)
void oqs_aes128_free_schedule_no_bitslice(void *schedule);
void oqs_aes128_enc_sch_block_armv8(const uint8_t *plaintext, const void *_schedule, uint8_t *ciphertext);
void oqs_aes128_ecb_enc_sch_armv8(const uint8_t *plaintext, const size_t plaintext_len, const void *schedule, uint8_t *ciphertext);
// to implement
void oqs_aes128_ctr_enc_sch_armv8(const uint8_t *iv, const size_t iv_len, const void *schedule, uint8_t *out, size_t out_len);
void oqs_aes128_ctr_enc_sch_upd_blks_armv8(void *schedule, uint8_t *out, size_t out_blks);

Expand Down
7 changes: 1 addition & 6 deletions zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,11 @@ if(CONFIG_LIBOQS)

if(CONFIG_LIBOQS_ENABLE_SIG_MAYO)
set(OQS_ENABLE_SIG_MAYO ON)
set(OQS_ENABLE_SIG_mayo_5 OFF)
else()
set(OQS_ENABLE_SIG_MAYO OFF)
endif()

if(CONFIG_LIBOQS_ENABLE_SIG_MAYO_5)
set(OQS_ENABLE_SIG_MAYO_5 ON)
else()
set(OQS_ENABLE_SIG_MAYO_5 OFF)
endif()

# Add the actual liboqs targets
add_subdirectory(.. build)

Expand Down

0 comments on commit 33164c4

Please sign in to comment.