Skip to content
Snippets Groups Projects
Commit e63475de authored by Rohit Gupta's avatar Rohit Gupta
Browse files

minor fix for compilation of core simulators

parent d9398cdb
No related branches found
No related tags found
No related merge requests found
...@@ -48,7 +48,7 @@ void test_uncipher_ctr(const struct nettle_cipher *cipher, const uint8_t *key, ...@@ -48,7 +48,7 @@ void test_uncipher_ctr(const struct nettle_cipher *cipher, const uint8_t *key,
uint8_t *data = malloc(length); uint8_t *data = malloc(length);
uint8_t *ctr = malloc(cipher->block_size); uint8_t *ctr = malloc(cipher->block_size);
cipher->set_encrypt_key(ctx, key); cipher->set_encrypt_key(ctx, key_length, key);
memcpy(ctr, ictr, cipher->block_size); memcpy(ctr, ictr, cipher->block_size);
ctr_crypt(ctx, cipher->encrypt, ctr_crypt(ctx, cipher->encrypt,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment