Searched refs:cert (Results 1 – 2 of 2) sorted by relevance
344 Certificate* cert = out + (*numKeys - 1); in load_keys() local345 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 …]
189 Certificate* cert = &certs[num_keys - 1]; in main() local190 cert->hash_len = SHA256_DIGEST_SIZE; in main()193 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::EC); in main() local194 cert->ec = &test_ec_key; in main()197 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::RSA); in main() local198 cert->rsa = &test_key; in main()201 Certificate* cert = add_certificate(&certs, &num_keys, Certificate::RSA); in main() local202 cert->rsa = &test_f4_key; in main()