Home | History | Annotate | Download | only in engine

Lines Matching full:engine

30 #include <openssl/engine.h>
101 static int cryptodev_engine_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
103 static int cryptodev_engine_digests(ENGINE *e, const EVP_MD **digest,
130 static int cryptodev_ctrl(ENGINE *e, int cmd, long i, void *p,
315 * thing called by the engine init crud which determines what it
316 * can use for ciphers from this engine. We want to return
323 * use this engine as the default, and if for whatever reason
492 * libcrypto EVP stuff - this is how we get wired to EVP so the engine
604 * Registered by the ENGINE when used to find out how to deal with
605 * a particular NID in the ENGINE. this says what we'll do at the
609 cryptodev_engine_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
898 cryptodev_engine_digests(ENGINE *e, const EVP_MD **digest,
1345 cryptodev_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
1367 ENGINE *engine = ENGINE_new();
1370 if (engine == NULL)
1373 ENGINE_free(engine);
1382 engine);
1387 if (!ENGINE_set_id(engine, "cryptodev") ||
1388 !ENGINE_set_name(engine, "BSD cryptodev engine") ||
1389 !ENGINE_set_ciphers(engine, cryptodev_engine_ciphers) ||
1390 !ENGINE_set_digests(engine, cryptodev_engine_digests) ||
1391 !ENGINE_set_ctrl_function(engine, cryptodev_ctrl) ||
1392 !ENGINE_set_cmd_defns(engine, cryptodev_defns)) {
1393 ENGINE_free(engine);
1397 if (ENGINE_set_RSA(engine, &cryptodev_rsa)) {
1417 if (ENGINE_set_DSA(engine, &cryptodev_dsa)) {
1431 if (ENGINE_set_DH(engine, &cryptodev_dh)){
1445 ENGINE_add(engine);
1446 ENGINE_free(engine);