diff options
author | 2002-06-18 10:54:34 +0000 | |
---|---|---|
committer | 2002-06-18 10:54:34 +0000 | |
commit | 2606c88b63f320514f629c57e537106de2ca270c (patch) | |
tree | faeb5d4b6e2621d539ba4741250f072421b659dd /lib/libcrypto/engine/hw_cryptodev.c | |
parent | Rewrite to get proper Copyright. (diff) | |
download | wireguard-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/libcrypto/engine/hw_cryptodev.c')
-rw-r--r-- | lib/libcrypto/engine/hw_cryptodev.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libcrypto/engine/hw_cryptodev.c b/lib/libcrypto/engine/hw_cryptodev.c index 84b245e49f9..859af048ee5 100644 --- a/lib/libcrypto/engine/hw_cryptodev.c +++ b/lib/libcrypto/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 |