diff aes.c @ 241:998d097d926d libavutil

make key parameter const
author bcoudurier
date Sun, 11 Feb 2007 16:57:17 +0000
parents 6ff860ccdcff
children 980e486fcda1
line wrap: on
line diff
--- a/aes.c	Sun Feb 11 12:50:33 2007 +0000
+++ b/aes.c	Sun Feb 11 16:57:17 2007 +0000
@@ -120,7 +120,7 @@
 }
 
 // this is based on the reference AES code by Paulo Barreto and Vincent Rijmen
-int av_aes_init(AVAES *a, uint8_t *key, int key_bits, int decrypt) {
+int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
     int i, j, t, rconpointer = 0;
     uint8_t tk[8][4];
     int KC= key_bits>>5;