Skip to content

Commit

Permalink
aes: correct parameters for stub
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Jul 7, 2023
1 parent 0432be3 commit bf9d80c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/aes/stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

int aes_alloc(struct aes **stp, enum aes_mode mode,
const uint8_t *key, size_t key_bits,
const uint8_t iv[AES_BLOCK_SIZE])
const uint8_t *iv)
{
(void)stp;
(void)mode;
Expand All @@ -20,9 +20,9 @@ int aes_alloc(struct aes **stp, enum aes_mode mode,
}


void aes_set_iv(struct aes *st, const uint8_t iv[AES_BLOCK_SIZE])
void aes_set_iv(struct aes *aes, const uint8_t *iv)
{
(void)st;
(void)aes;
(void)iv;
}

Expand Down

0 comments on commit bf9d80c

Please sign in to comment.