1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00

aestst: Allow compilation with stricter warnings

This commit is contained in:
Saleem Rashid 2017-08-14 13:25:17 +01:00 committed by Pavol Rusnak
parent ae126e5ae8
commit 2b25724f13
2 changed files with 2 additions and 2 deletions

BIN
aes/aestst Executable file

Binary file not shown.

View File

@ -53,7 +53,7 @@
void out_state(long s0, long s1, long s2, long s3) void out_state(long s0, long s1, long s2, long s3)
{ {
printf("\n%08x%08x508x%08x", s0, s1, s2, s3); printf("\n%08lx%08lx%08lx%08lx", s0, s1, s2, s3);
} }
void oblk(char m[], unsigned char v[], unsigned long n) void oblk(char m[], unsigned char v[], unsigned long n)
@ -65,7 +65,7 @@ void oblk(char m[], unsigned char v[], unsigned long n)
printf("%02x", v[i]); printf("%02x", v[i]);
} }
void message(const char *s) { printf(s); } void message(const char *s) { printf("%s", s); }
unsigned char pih[32] = // hex digits of pi unsigned char pih[32] = // hex digits of pi
{ {