Home
last modified time | relevance | path

Searched refs:fatalUsage (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/util/nanoapp_encr/
Dnanoapp_encr.c235 static void fatalUsage(const char *name, const char *msg, const char *arg) in fatalUsage() function
284 fatalUsage(appName, "unknown argument", argv[i]); in main()
303 fatalUsage(appName, "too many positional arguments", argv[i]); in main()
309 fatalUsage(appName, "missing argument after", prev); in main()
312 fatalUsage(appName, "missing input file name", NULL); in main()
320 fatalUsage(appName, "select either -d or -e", NULL); in main()
323 fatalUsage(appName, "no key file given", NULL); in main()
326 fatalUsage(appName, "Non-zero Key ID must be given to encrypt data", NULL); in main()
330 fatalUsage(appName, "Key file does not exist or has incorrect size", keyFile); in main()
340 fatalUsage(appName, "failed to create/open output file", posArg[1]); in main()
/device/google/contexthub/util/nanoapp_sign/
Dnanoapp_sign.c402 static void fatalUsage(const char *name, const char *msg, const char *arg) in fatalUsage() function
464 fatalUsage(appName, "unknown argument", argv[i]); in main()
473 fatalUsage(appName, "too many positional arguments", argv[i]); in main()
479 fatalUsage(appName, "missing argument after", prev); in main()
482 fatalUsage(appName, "missing input file name", NULL); in main()
492 fatalUsage(appName, "select either -s, -t, or -b", NULL); in main()
497 fatalUsage(appName, "We need both PUB (-m) and PVT (-e) keys for signing", NULL); in main()
500 fatalUsage(appName, "We only need PUB (-m) key for signature checking", NULL); in main()
504 fatalUsage(appName, "Can't read PVT key from", keyPvtFile); in main()
513 fatalUsage(appName, "Can't read PUB key from", keyPubFile); in main()
[all …]
/device/google/contexthub/util/nanoapp_postprocess/
Dpostprocess.c103 static void fatalUsage(const char *name, const char *msg, const char *arg) in fatalUsage() function
676 fatalUsage(appName, "unknown argument", argv[i]); in main()
695 fatalUsage(appName, "too many positional arguments", argv[i]); in main()
701 fatalUsage(appName, "missing argument after", prev); in main()
704 fatalUsage(appName, "missing input file name", NULL); in main()
714 fatalUsage(appName, "Invalid layout name", layoutName); in main()
718 fatalUsage(appName, "App layout requires app ID", NULL); in main()
720 fatalUsage(appName, "Key layout requires key ID", NULL); in main()
722 fatalUsage(appName, "OS layout does not need any ID", NULL); in main()
732 fatalUsage(appName, "failed to create/open output file", posArg[1]); in main()
Dpostprocess_elf.c100 static void fatalUsage(const char *name, const char *msg, const char *arg) in fatalUsage() function
943 fatalUsage(appName, "unknown argument", argv[i]); in main()
962 fatalUsage(appName, "too many positional arguments", argv[i]); in main()
968 fatalUsage(appName, "missing argument after", prev); in main()
971 fatalUsage(appName, "missing input file name", NULL); in main()
981 fatalUsage(appName, "Invalid layout name", layoutName); in main()
985 fatalUsage(appName, "Only app layout is supported for static option", NULL); in main()
988 fatalUsage(appName, "App layout requires app ID", NULL); in main()
990 fatalUsage(appName, "Key layout requires key ID", NULL); in main()
992 fatalUsage(appName, "OS layout does not need any ID", NULL); in main()
[all …]