summaryrefslogtreecommitdiff
path: root/include/aes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aes.h')
-rw-r--r--include/aes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/aes.h b/include/aes.h
index 8f9c64f..49f14d8 100644
--- a/include/aes.h
+++ b/include/aes.h
@@ -21,9 +21,9 @@ aes_context;
extern "C" {
#endif
-int aes_set_key( aes_context *ctx, uint8 *key, int nbits );
-void aes_encrypt( aes_context *ctx, uint8 input[16], uint8 output[16] );
-void aes_decrypt( aes_context *ctx, uint8 input[16], uint8 output[16] );
+int aes_set_key( aes_context *ctx, const uint8 *key, int nbits );
+void aes_encrypt( aes_context *ctx, const uint8 input[16], uint8 output[16] );
+void aes_decrypt( aes_context *ctx, const uint8 input[16], uint8 output[16] );
#ifdef __cplusplus
}