Home
last modified time | relevance | path

Searched refs:load_key (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/crypto/openssh/regress/unittests/authopt/
H A Dtests.c28 load_key(const char *name) in load_key() function
305 cert = load_key("no_" keybase ".cert"); \ in test_cert_parse()
312 cert = load_key("only_" keybase ".cert"); \ in test_cert_parse()
328 cert = load_key("all_permit.cert"); in test_cert_parse()
335 cert = load_key("no_permit.cert"); in test_cert_parse()
343 cert = load_key("force_command.cert"); in test_cert_parse()
352 cert = load_key("sourceaddr.cert"); in test_cert_parse()
364 cert = load_key(keybase ".cert"); \ in test_cert_parse()
391 cert = load_key(keyname ".cert"); \ in test_merge()
/freebsd/crypto/openssh/regress/unittests/sshsig/
H A Dtests.c46 load_key(const char *name) in load_key() function
62 k = load_key(keyname); in check_sig()
/freebsd/crypto/openssl/demos/encode/
H A Drsa_encode.c29 static EVP_PKEY *load_key(OSSL_LIB_CTX *libctx, FILE *f, const char *passphrase) in load_key() function
186 pkey = load_key(libctx, stdin, passphrase_in); in main()
H A Dec_encode.c29 static EVP_PKEY *load_key(OSSL_LIB_CTX *libctx, FILE *f, const char *passphrase) in load_key() function
189 pkey = load_key(libctx, stdin, passphrase_in); in main()
/freebsd/crypto/openssl/test/
H A Drsa_test.c509 static RSA *load_key(int priv) in load_key() function
659 if (!TEST_ptr(rsa_priv = load_key(1))) in test_rsa_saos()
661 if (!TEST_ptr(rsa_pub = load_key(0))) in test_rsa_saos()
/freebsd/contrib/libfido2/tools/
H A Dlargeblob.c165 load_key(const char *keyf, const char *cred_id64, const char *rp_id, in load_key() function
210 load_key(keyf, cred_id64, rp_id, path, dev, &pin, &key) < 0) in blob_set()
249 if (load_key(keyf, cred_id64, rp_id, path, dev, &pin, &key) < 0) in blob_get()
283 if (load_key(keyf, cred_id64, rp_id, path, dev, &pin, &key) < 0) in blob_delete()
/freebsd/crypto/openssl/engines/
H A De_ossltest.c377 static EVP_PKEY *load_key(ENGINE *eng, const char *key_id, int pub, in load_key() function
402 return load_key(eng, key_id, 0, ui_method, ui_data); in ossltest_load_privkey()
408 return load_key(eng, key_id, 1, ui_method, ui_data); in ossltest_load_pubkey()
/freebsd/crypto/openssl/apps/
H A Dspkac.c148 pkey = load_key(strcmp(keyfile, "-") ? keyfile : NULL, in spkac_main()
H A Ddsa.c181 pkey = load_key(infile, informat, 1, passin, e, "private key"); in dsa_main()
H A Drsautl.c190 pkey = load_key(keyfile, keyformat, 0, passin, e, "private key"); in rsautl_main()
H A Dec.c178 eckey = load_key(infile, informat, 1, passin, e, "private key"); in ec_main()
H A Dpkey.c214 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkey_main()
H A Dsmime.c523 key = load_key(keyfile, keyform, 0, passin, e, "signing key"); in smime_main()
615 key = load_key(keyfile, keyform, 0, passin, e, "signing key"); in smime_main()
H A Drsa.c251 pkey = load_key(infile, informat, 1, passin, e, "private key"); in rsa_main()
H A Dcrl.c267 pkey = load_key(keyfile, keyformat, 0, NULL, NULL, "CRL signing key"); in crl_main()
H A Dpkcs8.c232 pkey = load_key(infile, informat, 1, passin, e, "key"); in pkcs8_main()
H A Docsp.c601 rkey = load_key(rkeyfile, FORMAT_UNDEF, 0, passin, NULL, in ocsp_main()
696 key = load_key(keyfile, FORMAT_UNDEF, 0, NULL, NULL, in ocsp_main()
H A Dx509.c661 privkey = load_key(privkeyfile, keyformat, 0, passin, e, "private key"); in x509_main()
933 if ((CAkey = load_key(CAkeyfile, CAkeyformat, in x509_main()
H A Dcms.c899 key = load_key(keyfile, keyform, 0, passin, e, "signing key"); in cms_main()
1122 key = load_key(keyfile, keyform, 0, passin, e, "signing key"); in cms_main()
H A Dreq.c627 pkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in req_main()
764 if ((CAkey = load_key(CAkeyfile, FORMAT_UNDEF, in req_main()
H A Ddgst.c289 sigkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in dgst_main()
H A Dpkeyutl.c638 pkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in get_pkey()
H A Ds_server.c1811 s_key = load_key(s_key_file, s_key_format, 0, pass, engine, in s_server_main()
1828 s_key2 = load_key(s_key_file2, s_key_format, 0, pass, engine, in s_server_main()
1873 s_dkey = load_key(s_dkey_file, s_dkey_format, in s_server_main()
/freebsd/crypto/openssl/apps/include/
H A Dapps.h132 EVP_PKEY *load_key(const char *uri, int format, int maybe_stdin,
/freebsd/crypto/openssl/apps/lib/
H A Ds_cb.c1121 exc->key = load_key(exc->keyfile, exc->keyform, in load_excert()
1124 exc->key = load_key(exc->certfile, exc->certform, in load_excert()

12