Home
last modified time | relevance | path

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

/bootable/recovery/
Dverifier.cpp344 Certificate* cert = out + (*numKeys - 1); in load_keys() local
345 memset(cert, '\0', sizeof(Certificate)); in load_keys()
351 cert->key_type = Certificate::RSA; in load_keys()
352 cert->rsa = (RSAPublicKey*)malloc(sizeof(RSAPublicKey)); in load_keys()
353 cert->rsa->exponent = 3; in load_keys()
354 cert->hash_len = SHA_DIGEST_SIZE; in load_keys()
360 cert->key_type = Certificate::RSA; in load_keys()
361 cert->rsa = (RSAPublicKey*)malloc(sizeof(RSAPublicKey)); in load_keys()
362 cert->rsa->exponent = 65537; in load_keys()
363 cert->hash_len = SHA_DIGEST_SIZE; in load_keys()
[all …]
Dverifier_test.cpp189 Certificate* cert = &certs[num_keys - 1]; in main() local
190 cert->hash_len = SHA256_DIGEST_SIZE; in main()
193 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::EC); in main() local
194 cert->ec = &test_ec_key; in main()
197 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::RSA); in main() local
198 cert->rsa = &test_key; in main()
201 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::RSA); in main() local
202 cert->rsa = &test_f4_key; in main()