diff --git a/aes/aestst b/aes/aestst new file mode 100755 index 000000000..446065d2b Binary files /dev/null and b/aes/aestst differ diff --git a/aes/aestst.c b/aes/aestst.c index e34b60728..bc54814be 100644 --- a/aes/aestst.c +++ b/aes/aestst.c @@ -53,7 +53,7 @@ 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) @@ -65,7 +65,7 @@ void oblk(char m[], unsigned char v[], unsigned long n) 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 {