summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-06-18 10:54:35 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-06-18 10:54:35 +0000
commitb5b804c218559a63ac287f75d40a02246dfa63d6 (patch)
tree0a340f9d546204f890a25690acbf0902388c98d6 /lib
parent3ab21123b333a48f1faa5b44350336e58ef00f0e (diff)
per-evp state is now sizeof(struct dev_crypto_state) instead sizeof(struct session_op)
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/crypto/engine/hw_cryptodev.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libssl/src/crypto/engine/hw_cryptodev.c b/lib/libssl/src/crypto/engine/hw_cryptodev.c
index 84b245e49f9..859af048ee5 100644
--- a/lib/libssl/src/crypto/engine/hw_cryptodev.c
+++ b/lib/libssl/src/crypto/engine/hw_cryptodev.c
@@ -452,7 +452,7 @@ const EVP_CIPHER cryptodev_arc4_cipher = {
cryptodev_init_key,
cryptodev_cipher,
cryptodev_cleanup,
- sizeof(struct session_op),
+ sizeof(struct dev_crypto_state),
NULL,
NULL,
NULL
@@ -466,7 +466,7 @@ const EVP_CIPHER cryptodev_des_cbc = {
cryptodev_init_key,
cryptodev_cipher,
cryptodev_cleanup,
- sizeof(struct session_op),
+ sizeof(struct dev_crypto_state),
EVP_CIPHER_set_asn1_iv,
EVP_CIPHER_get_asn1_iv,
NULL
@@ -480,7 +480,7 @@ const EVP_CIPHER cryptodev_3des_cbc = {
cryptodev_init_key,
cryptodev_cipher,
cryptodev_cleanup,
- sizeof(struct session_op),
+ sizeof(struct dev_crypto_state),
EVP_CIPHER_set_asn1_iv,
EVP_CIPHER_get_asn1_iv,
NULL
@@ -493,7 +493,7 @@ const EVP_CIPHER cryptodev_bf_cbc = {
cryptodev_init_key,
cryptodev_cipher,
cryptodev_cleanup,
- sizeof(struct session_op),
+ sizeof(struct dev_crypto_state),
EVP_CIPHER_set_asn1_iv,
EVP_CIPHER_get_asn1_iv,
NULL
@@ -506,7 +506,7 @@ const EVP_CIPHER cryptodev_cast_cbc = {
cryptodev_init_key,
cryptodev_cipher,
cryptodev_cleanup,
- sizeof(struct session_op),
+ sizeof(struct dev_crypto_state),
EVP_CIPHER_set_asn1_iv,
EVP_CIPHER_get_asn1_iv,
NULL
@@ -519,7 +519,7 @@ const EVP_CIPHER cryptodev_aes_cbc = {
cryptodev_init_key,
cryptodev_cipher,
cryptodev_cleanup,
- sizeof(struct session_op),
+ sizeof(struct dev_crypto_state),
EVP_CIPHER_set_asn1_iv,
EVP_CIPHER_get_asn1_iv,
NULL