blob: 136ad7544983e98f0e9319b3d3bc09eb61e59ae5 [file] [log] [blame]
#include <openssl/pem.h>
int
sign_efi_var(char *payload, int payload_size, char *keyfile, char *certfile,
unsigned char **sig, int *sigsize, char *engine);
int
sign_efi_var_ssl(char *payload, int payload_size, EVP_PKEY *pkey, X509 *cert,
unsigned char **sig, int *sigsize);
EVP_PKEY *
read_private_key(char *engine, char *keyfile);