ENGINE_NEW(3)
π
ENGINE_NEW(3) β Library Functions Manual β¨
okay so this is the ENGINE_NEW(3) page from the Library Functions Manual, and itβs giving βthe feature is gone but the function names are still here so your old code doesnβt throw a fitβ energy. Letβs get into it, bestie. π«Ά
πΈ NAME πΈ
The whole squad, exactly as listed: ENGINE_new, ENGINE_free, ENGINE_init, ENGINE_finish, ENGINE_ctrl_cmd, ENGINE_ctrl_cmd_string, ENGINE_by_id, ENGINE_get_id, ENGINE_get_name, ENGINE_set_default, ENGINE_get_default_RSA, ENGINE_set_default_RSA, ENGINE_load_private_key, ENGINE_load_public_key, ENGINE_load_builtin_engines, ENGINE_load_dynamic, ENGINE_load_openssl, ENGINE_register_all_complete, ENGINE_cleanup β ENGINE stub functions. π
π SYNOPSIS π
#include <openssl/engine.h>
ENGINE *
ENGINE_new(void);
int
ENGINE_free(ENGINE *engine);
int
ENGINE_init(ENGINE *engine);
int
ENGINE_finish(ENGINE *engine);
int
ENGINE_ctrl_cmd(ENGINE *engine, const char *cmd_name, long i, void *p,
void (*f)(void), int cmd_optional);
int
ENGINE_ctrl_cmd_string(ENGINE *engine, const char *cmd_name,
const char *arg, int cmd_optional);
ENGINE *
ENGINE_by_id(const char *id);
const char *
ENGINE_get_id(const ENGINE *engine);
const char *
ENGINE_get_name(const ENGINE *engine);
int
ENGINE_set_default(ENGINE *engine, unsigned int flags);
ENGINE *
ENGINE_get_default_RSA(ENGINE *engine);
int
ENGINE_set_default_RSA(ENGINE *engine);
EVP_PKEY *
ENGINE_load_private_key(ENGINE *engine, const char *key_id,
UI_METHOD *ui_method, void *callback_data);
EVP_PKEY *
ENGINE_load_public_key(ENGINE *engine, const char *key_id,
UI_METHOD *ui_method, void *callback_data);
void
ENGINE_load_builtin_engines(void);
void
ENGINE_load_dynamic(void);
void
ENGINE_load_openssl(void);
int
ENGINE_register_all_complete(void);
void
ENGINE_cleanup(void);
π DESCRIPTION π
okay so ENGINE objects used to provide alternative implementations of cryptographic algorithms β like, say, using specialized hardware. But bestie, plot twist: LibreSSL no longer supports this feature. π
All functions in this manual ignore all their arguments and do nothing except return failure if possible. They are provided only to avoid patching software that expects ENGINE support to be available. Thatβs the whole bit. No cap. π«Ά
π RETURN VALUES π
ENGINE_new(),ENGINE_by_id(),ENGINE_get_default_RSA(),ENGINE_load_private_key(), andENGINE_load_public_key()β always returnNULL. πENGINE_free(),ENGINE_init(),ENGINE_finish(),ENGINE_ctrl_cmd(),ENGINE_ctrl_cmd_string(),ENGINE_set_default(),ENGINE_set_default_RSA(), andENGINE_register_all_complete()β always return0. πENGINE_get_id()andENGINE_get_name()β always return the constant empty string (""). β¨
π¦ SEE ALSO π¦
crypto(3)β go read that one, bestie. πΈ
π HISTORY π
ENGINE_new(),ENGINE_free(),ENGINE_init(),ENGINE_finish(),ENGINE_by_id(),ENGINE_get_id(),ENGINE_get_name(),ENGINE_set_default(),ENGINE_get_default_RSA(),ENGINE_set_default_RSA(),ENGINE_load_private_key(), andENGINE_load_public_key()first appeared in OpenSSL 0.9.7 and have been available since OpenBSD 2.9. πENGINE_ctrl_cmd(),ENGINE_ctrl_cmd_string(),ENGINE_load_builtin_engines(),ENGINE_load_openssl(),ENGINE_register_all_complete(), andENGINE_cleanup()first appeared in OpenSSL 0.9.7 and have been available since OpenBSD 3.4. π¦- All these functions were turned into stubs in OpenBSD 7.4. π
π source/version: Debian Β· date: November 19, 2023 Β· later, bestie! π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: libressl-devel-doc 4.1.0-bp160.1.1 Β· OpenSSL
- Copyright (c) 2023 Theo Buehler <tb@openbsd.org>
- Copyright (c) 2018 Ingo Schwarze <schwarze@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms