X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=host%2Fgf256_table_gen.c;h=b30f688f76f3c8a2ec5c5f7ef20812f07e79623e;hb=2c909fca2a13cd76a526515bda5d0292483d7a55;hp=395343a1574c9c35ff1c8b1294fabe8ed6bf013f;hpb=7b5401ab9ce23a5da1de8b6c7de3a1aa20ac4cf8;p=avr-crypto-lib.git diff --git a/host/gf256_table_gen.c b/host/gf256_table_gen.c index 395343a..b30f688 100644 --- a/host/gf256_table_gen.c +++ b/host/gf256_table_gen.c @@ -28,7 +28,7 @@ #include #include #include -#include "gf256mul/gf256mul.h" +#include "gf256mul.h" int print_header = 1, print_braces = 1, @@ -36,7 +36,7 @@ int print_header = 1, print_align = 1, print_prefix = 1; -char* fmt_strings[]={"%d", "%3d", +char *fmt_strings[]={"%d", "%3d", "%X", "%2.2X", "%o", "%3o", "%d", "%3d", @@ -65,7 +65,7 @@ int main(int argc, char** argv){ int i,j; int c; int option_index=0; - char* fmt=NULL; + char *fmt=NULL; static struct option long_options[] = { /* These options set a flag. */ @@ -98,7 +98,7 @@ int main(int argc, char** argv){ unsigned long ul_reducer=0x00, max=0xff, min=0x00; uint8_t reducer, a; char** eptr; - FILE* of = stdout; + FILE *of = stdout; while(c!=-1){ c = getopt_long(argc, argv,"cCbBdh8aApPr:l:u:f:", long_options, &option_index);