Home
last modified time | relevance | path

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

/bootable/recovery/
Dverifier.h46 const Certificate *pKeys, unsigned int numKeys);
48 Certificate* load_keys(const char* filename, int* numKeys);
Dverifier.cpp116 const Certificate* pKeys, unsigned int numKeys) { in verify_file() argument
196 for (i = 0; i < numKeys; ++i) { in verify_file()
243 for (i = 0; i < numKeys; ++i) { in verify_file()
328 load_keys(const char* filename, int* numKeys) { in load_keys() argument
330 *numKeys = 0; in load_keys()
342 ++*numKeys; in load_keys()
343 out = (Certificate*)realloc(out, *numKeys * sizeof(Certificate)); in load_keys()
344 Certificate* cert = out + (*numKeys - 1); in load_keys()
460 *numKeys = 0; in load_keys()
Dinstall.cpp224 int numKeys; in really_install_package() local
225 Certificate* loadedKeys = load_keys(PUBLIC_KEYS_FILE, &numKeys); in really_install_package()
230 LOGI("%d key(s) loaded from %s\n", numKeys, PUBLIC_KEYS_FILE); in really_install_package()
235 err = verify_file(map.addr, map.length, loadedKeys, numKeys); in really_install_package()