OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros
e_chil.c File Reference
#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;}
 

Macro Definition Documentation

#define BN2MPI (   mp,
  bn 
)    {mp.size = bn->top * sizeof(BN_ULONG); mp.buf = (unsigned char *)bn->d;}

Definition at line 267 of file e_chil.c.

#define HWCRHK_CMD_FORK_CHECK   (ENGINE_CMD_BASE + 1)

Definition at line 151 of file e_chil.c.

#define HWCRHK_CMD_SET_CALLBACK_DATA   (ENGINE_CMD_BASE + 4)

Definition at line 154 of file e_chil.c.

#define HWCRHK_CMD_SET_USER_INTERFACE   (ENGINE_CMD_BASE + 3)

Definition at line 153 of file e_chil.c.

#define HWCRHK_CMD_SO_PATH   ENGINE_CMD_BASE

Definition at line 150 of file e_chil.c.

#define HWCRHK_CMD_THREAD_LOCKING   (ENGINE_CMD_BASE + 2)

Definition at line 152 of file e_chil.c.

#define HWCRHK_LIB_NAME   "CHIL engine"

Definition at line 93 of file e_chil.c.

#define MPI2BN (   bn,
  mp 
)    {mp.size = bn->dmax * sizeof(BN_ULONG); mp.buf = (unsigned char *)bn->d;}

Definition at line 269 of file e_chil.c.