Searched refs:private_key (Results 1 – 1 of 1) sorted by relevance
/scripts/ |
D | sign-file.c | 137 EVP_PKEY *private_key; in read_private_key() local 153 private_key = ENGINE_load_private_key(e, private_key_name, in read_private_key() 155 ERR(!private_key, "%s", private_key_name); in read_private_key() 161 private_key = PEM_read_bio_PrivateKey(b, NULL, pem_pw_cb, in read_private_key() 163 ERR(!private_key, "%s", private_key_name); in read_private_key() 167 return private_key; in read_private_key() 222 EVP_PKEY *private_key; in main() local 297 private_key = read_private_key(private_key_name); in main() 313 ERR(!CMS_add1_signer(cms, x509, private_key, digest_algo, in main() 322 pkcs7 = PKCS7_sign(x509, private_key, NULL, bm, in main()
|