commit | 1d073c59adb37ea954065b33f841c66d83a520bf | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jul 08 20:15:51 2014 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Jul 08 20:17:07 2014 +0200 |
tree | 625ff2bff40a1106823e9ab5f10479800204f2b1 | |
parent | f73b718f172502651faa35d3a78edcf6c550f528 [diff] [blame] |
Add static and casts to prevent compiler warnings
diff --git a/library/gcm.c b/library/gcm.c index f1a43af..08435f9 100644 --- a/library/gcm.c +++ b/library/gcm.c
@@ -129,7 +129,8 @@ 0x9180, 0x8da0, 0xa9c0, 0xb5e0 }; -void gcm_mult( gcm_context *ctx, const unsigned char x[16], unsigned char output[16] ) +static void gcm_mult( gcm_context *ctx, const unsigned char x[16], + unsigned char output[16] ) { int i = 0; unsigned char z[16];