Searched refs:Certificate (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/ |
D | verifier_test.cpp | 160 static Certificate* add_certificate(Certificate** certsp, int* num_keys, in add_certificate() 161 Certificate::KeyType key_type) { in add_certificate() 164 *certsp = (Certificate*) realloc(*certsp, *num_keys * sizeof(Certificate)); in add_certificate() 165 Certificate* certs = *certsp; in add_certificate() 178 Certificate* certs = NULL; in main() 189 Certificate* cert = &certs[num_keys - 1]; in main() 193 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::EC); in main() 197 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::RSA); in main() 201 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::RSA); in main() 225 certs = (Certificate*) calloc(1, sizeof(Certificate)); in main() [all …]
|
D | verifier.h | 38 } Certificate; typedef 46 const Certificate *pKeys, unsigned int numKeys); 48 Certificate* load_keys(const char* filename, int* numKeys);
|
D | verifier.cpp | 116 const Certificate* pKeys, unsigned int numKeys) { in verify_file() 253 if (pKeys[i].key_type == Certificate::RSA) { in verify_file() 269 } else if (pKeys[i].key_type == Certificate::EC in verify_file() 327 Certificate* 329 Certificate* out = NULL; in load_keys() 343 out = (Certificate*)realloc(out, *numKeys * sizeof(Certificate)); in load_keys() 344 Certificate* cert = out + (*numKeys - 1); in load_keys() 345 memset(cert, '\0', sizeof(Certificate)); in load_keys() 351 cert->key_type = Certificate::RSA; in load_keys() 360 cert->key_type = Certificate::RSA; in load_keys() [all …]
|
D | install.cpp | 225 Certificate* loadedKeys = load_keys(PUBLIC_KEYS_FILE, &numKeys); in really_install_package()
|