#include <stdio.h>
#include <string.h>
#include <openssl/crypto.h>
#include <openssl/pem.h>
#include <openssl/dso.h>
#include <openssl/engine.h>
#include <openssl/ui.h>
#include <openssl/rand.h>
#include <openssl/rsa.h>
#include <openssl/dh.h>
#include <openssl/bn.h>
#include "vendor_defns/hwcryptohook.h"
#include "e_chil_err.c"
Go to the source code of this file.
Classes | |
struct | HWCryptoHook_MutexValue |
struct | HWCryptoHook_PassphraseContextValue |
struct | HWCryptoHook_CallerContextValue |
Macros | |
#define | HWCRHK_LIB_NAME "CHIL engine" |
#define | HWCRHK_CMD_SO_PATH ENGINE_CMD_BASE |
#define | HWCRHK_CMD_FORK_CHECK (ENGINE_CMD_BASE + 1) |
#define | HWCRHK_CMD_THREAD_LOCKING (ENGINE_CMD_BASE + 2) |
#define | HWCRHK_CMD_SET_USER_INTERFACE (ENGINE_CMD_BASE + 3) |
#define | HWCRHK_CMD_SET_CALLBACK_DATA (ENGINE_CMD_BASE + 4) |
#define | BN2MPI(mp, bn) {mp.size = bn->top * sizeof(BN_ULONG); mp.buf = (unsigned char *)bn->d;} |
#define | MPI2BN(bn, mp) {mp.size = bn->dmax * sizeof(BN_ULONG); mp.buf = (unsigned char *)bn->d;} |
#define BN2MPI | ( | mp, | |
bn | |||
) | {mp.size = bn->top * sizeof(BN_ULONG); mp.buf = (unsigned char *)bn->d;} |
#define HWCRHK_CMD_FORK_CHECK (ENGINE_CMD_BASE + 1) |
#define HWCRHK_CMD_SET_CALLBACK_DATA (ENGINE_CMD_BASE + 4) |
#define HWCRHK_CMD_SET_USER_INTERFACE (ENGINE_CMD_BASE + 3) |
#define HWCRHK_CMD_SO_PATH ENGINE_CMD_BASE |
#define HWCRHK_CMD_THREAD_LOCKING (ENGINE_CMD_BASE + 2) |