summaryrefslogtreecommitdiff
path: root/crypto/engine/eng_int.h
diff options
context:
space:
mode:
authorgeoff <geoff>2001-09-25 21:28:39 +0000
committergeoff <geoff>2001-09-25 21:28:39 +0000
commita9bb1e2c45cf90f8adc935c65dc2b6f59c078529 (patch)
treeb2cc58ef04243655c8ddd4fd7378551d1d65c939 /crypto/engine/eng_int.h
parent4431cf754e4b3eb8c41b0e7e9e551613739ab436 (diff)
downloadopenssl-a9bb1e2c45cf90f8adc935c65dc2b6f59c078529.tar.gz
This change adds cipher and digest support into ENGINE using the
ENGING_TABLE mechanism. The necessary hooks from crypto/evp/ to use this will be committed shortly.
Diffstat (limited to 'crypto/engine/eng_int.h')
-rw-r--r--crypto/engine/eng_int.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/engine/eng_int.h b/crypto/engine/eng_int.h
index e07da813b..65ba9d43a 100644
--- a/crypto/engine/eng_int.h
+++ b/crypto/engine/eng_int.h
@@ -138,6 +138,11 @@ struct engine_st
const DSA_METHOD *dsa_meth;
const DH_METHOD *dh_meth;
const RAND_METHOD *rand_meth;
+ /* Cipher handling is via this callback */
+ ENGINE_CIPHERS_PTR ciphers;
+ /* Digest handling is via this callback */
+ ENGINE_DIGESTS_PTR digests;
+
ENGINE_GEN_INT_FUNC_PTR destroy;
@@ -157,7 +162,7 @@ struct engine_st
* simply to cope with (de)allocation of this structure. Hence,
* running_ref <= struct_ref at all times. */
int funct_ref;
- /* A place to store per-key data */
+ /* A place to store per-ENGINE data */
CRYPTO_EX_DATA ex_data;
/* Used to maintain the linked-list of engines. */
struct engine_st *prev;