Searched refs:private_key (Results 1 – 1 of 1) sorted by relevance
/scripts/ |
D | sign-file.c | 144 EVP_PKEY *private_key; in read_private_key() local 160 private_key = ENGINE_load_private_key(e, private_key_name, in read_private_key() 162 ERR(!private_key, "%s", private_key_name); in read_private_key() 168 private_key = PEM_read_bio_PrivateKey(b, NULL, pem_pw_cb, in read_private_key() 170 ERR(!private_key, "%s", private_key_name); in read_private_key() 174 return private_key; in read_private_key() 229 EVP_PKEY *private_key; in main() local 304 private_key = read_private_key(private_key_name); in main() 320 ERR(!CMS_add1_signer(cms, x509, private_key, digest_algo, in main() 329 pkcs7 = PKCS7_sign(x509, private_key, NULL, bm, in main()
|