summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2002-06-18 10:54:34 +0000
committermarkus <markus@openbsd.org>2002-06-18 10:54:34 +0000
commit2606c88b63f320514f629c57e537106de2ca270c (patch)
treefaeb5d4b6e2621d539ba4741250f072421b659dd /lib/libssl/src
parentRewrite to get proper Copyright. (diff)
downloadwireguard-openbsd-2606c88b63f320514f629c57e537106de2ca270c.tar.xz
wireguard-openbsd-2606c88b63f320514f629c57e537106de2ca270c.zip
per-evp state is now sizeof(struct dev_crypto_state) instead sizeof(struct session_op)
Diffstat (limited to 'lib/libssl/src')
-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