Skip to content

Commit

Permalink
update after merge [trigger downstream]
Browse files Browse the repository at this point in the history
Signed-off-by: Basil Hess <bhe@zurich.ibm.com>
  • Loading branch information
bhess committed Jul 11, 2024
1 parent 2223225 commit c12c293
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/common/aes/aes_ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,21 @@ struct OQS_AES_callbacks {
*/
void (*AES128_ECB_load_schedule)(const uint8_t *key, void **ctx);

/**
* Implementation of function OQS_AES256_CTR_inc_init.
*/
void (*AES128_CTR_inc_init)(const uint8_t *key, void **ctx);

/**
* Implementation of function OQS_AES256_CTR_inc_iv.
*/
void (*AES128_CTR_inc_iv)(const uint8_t *iv, size_t iv_len, void *ctx);

/**
* Implementation of function OQS_AES256_CTR_inc_ivu64.
*/
void (*AES128_CTR_inc_ivu64)(uint64_t iv, void *ctx);

/**
* Implementation of function OQS_AES128_free_schedule.
*/
Expand All @@ -40,6 +55,11 @@ struct OQS_AES_callbacks {
*/
void (*AES128_ECB_enc_sch)(const uint8_t *plaintext, const size_t plaintext_len, const void *schedule, uint8_t *ciphertext);

/**
* Implementation of function OQS_AES128_CTR_inc_stream_iv.
*/
void (*AES128_CTR_inc_stream_iv)(const uint8_t *iv, size_t iv_len, const void *ctx, uint8_t *out, size_t out_len);

/**
* Implementation of function OQS_AES256_ECB_load_schedule.
*/
Expand Down

0 comments on commit c12c293

Please sign in to comment.