Home
last modified time | relevance | path

Searched refs:fatalUsage (Results 1 – 3 of 3) 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.c72 static void fatalUsage(const char *name, const char *msg, const char *arg) in fatalUsage() function
585 fatalUsage(appName, "unknown argument", argv[i]); in main()
604 fatalUsage(appName, "too many positional arguments", argv[i]); in main()
610 fatalUsage(appName, "missing argument after", prev); in main()
613 fatalUsage(appName, "missing input file name", NULL); in main()
623 fatalUsage(appName, "Invalid layout name", layoutName); in main()
627 fatalUsage(appName, "App layout requires app ID", NULL); in main()
629 fatalUsage(appName, "Key layout requires key ID", NULL); in main()
631 fatalUsage(appName, "OS layout does not need any ID", NULL); in main()
641 fatalUsage(appName, "failed to create/open output file", posArg[1]); in main()