Home
last modified time | relevance | path

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

/external/epid-sdk/tools/revokekey/src/
Dmain.c50 int OpenKey(char const* privkey_file, char const* gpubkey_file, in OpenKey() argument
53 size_t file_size = GetFileSize(privkey_file); in OpenKey()
55 if (0 == file_size && !FileExists(privkey_file)) { in OpenKey()
56 log_error("cannot access '%s'", privkey_file); in OpenKey()
61 if (0 != ReadLoud(privkey_file, priv_key, sizeof(PrivKey))) { in OpenKey()
82 if (0 != ReadLoud(privkey_file, &cmp_key, sizeof(CompressedPrivKey))) { in OpenKey()
116 log_error("unexpected file size for '%s'", privkey_file); in OpenKey()
248 struct arg_file* privkey_file = arg_file0( in main() local
271 argtable[0] = privkey_file; in main()
292 privkey_file->filename[0] = PRIVKEY_DEFAULT; in main()
[all …]