Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
EVP_PKEY_new, EVP_PKEY_up_ref, EVP_PKEY_free, EVP_PKEY_new_raw_private_key, EVP_PKEY_new_raw_public_key, EVP_PKEY_new_CMAC_key, EVP_PKEY_new_mac_key, EVP_PKEY_get_raw_private_key, EVP_PKEY_get_raw_public_key — public and private key allocation and raw key handling functionsSYNOPSIS
#include <openssl/evp.h>EVP_PKEY_new(void);
EVP_PKEY_up_ref(EVP_PKEY *pkey);
EVP_PKEY_free(EVP_PKEY *pkey);
EVP_PKEY_new_raw_private_key(int type, ENGINE *e, const unsigned char *rawpriv, size_t rawlen);
EVP_PKEY_new_raw_public_key(int type, ENGINE *e, const unsigned char *rawpub, size_t rawlen);
EVP_PKEY_new_CMAC_key(ENGINE *e, const unsigned char *rawpriv, size_t rawlen, const EVP_CIPHER *cipher);
EVP_PKEY_new_mac_key(int type, ENGINE *e, const unsigned char *rawpriv, int rawlen);
EVP_PKEY_get_raw_private_key(const EVP_PKEY *pkey, unsigned char *rawpriv, size_t *rawlen);
EVP_PKEY_get_raw_public_key(const EVP_PKEY *pkey, unsigned char *rawpub, size_t *rawlen);