diff options
| author | markus <> | 2002-06-18 10:54:34 +0000 |
|---|---|---|
| committer | markus <> | 2002-06-18 10:54:34 +0000 |
| commit | 346e8e94df63fe8b64bfb3a62d0a89569fba9626 (patch) | |
| tree | 9fa5c193a4ee74b5e55f9c1063afee7caa9fd240 /src/lib/libcrypto/engine/hw_cryptodev.c | |
| parent | 09ca6e6de39071310c47c09e4134588c92defcc3 (diff) | |
| download | openbsd-346e8e94df63fe8b64bfb3a62d0a89569fba9626.tar.gz openbsd-346e8e94df63fe8b64bfb3a62d0a89569fba9626.tar.bz2 openbsd-346e8e94df63fe8b64bfb3a62d0a89569fba9626.zip | |
per-evp state is now sizeof(struct dev_crypto_state) instead sizeof(struct session_op)
Diffstat (limited to 'src/lib/libcrypto/engine/hw_cryptodev.c')
| -rw-r--r-- | src/lib/libcrypto/engine/hw_cryptodev.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/engine/hw_cryptodev.c b/src/lib/libcrypto/engine/hw_cryptodev.c index 84b245e49f..859af048ee 100644 --- a/src/lib/libcrypto/engine/hw_cryptodev.c +++ b/src/lib/libcrypto/engine/hw_cryptodev.c | |||
| @@ -452,7 +452,7 @@ const EVP_CIPHER cryptodev_arc4_cipher = { | |||
| 452 | cryptodev_init_key, | 452 | cryptodev_init_key, |
| 453 | cryptodev_cipher, | 453 | cryptodev_cipher, |
| 454 | cryptodev_cleanup, | 454 | cryptodev_cleanup, |
| 455 | sizeof(struct session_op), | 455 | sizeof(struct dev_crypto_state), |
| 456 | NULL, | 456 | NULL, |
| 457 | NULL, | 457 | NULL, |
| 458 | NULL | 458 | NULL |
| @@ -466,7 +466,7 @@ const EVP_CIPHER cryptodev_des_cbc = { | |||
| 466 | cryptodev_init_key, | 466 | cryptodev_init_key, |
| 467 | cryptodev_cipher, | 467 | cryptodev_cipher, |
| 468 | cryptodev_cleanup, | 468 | cryptodev_cleanup, |
| 469 | sizeof(struct session_op), | 469 | sizeof(struct dev_crypto_state), |
| 470 | EVP_CIPHER_set_asn1_iv, | 470 | EVP_CIPHER_set_asn1_iv, |
| 471 | EVP_CIPHER_get_asn1_iv, | 471 | EVP_CIPHER_get_asn1_iv, |
| 472 | NULL | 472 | NULL |
| @@ -480,7 +480,7 @@ const EVP_CIPHER cryptodev_3des_cbc = { | |||
| 480 | cryptodev_init_key, | 480 | cryptodev_init_key, |
| 481 | cryptodev_cipher, | 481 | cryptodev_cipher, |
| 482 | cryptodev_cleanup, | 482 | cryptodev_cleanup, |
| 483 | sizeof(struct session_op), | 483 | sizeof(struct dev_crypto_state), |
| 484 | EVP_CIPHER_set_asn1_iv, | 484 | EVP_CIPHER_set_asn1_iv, |
| 485 | EVP_CIPHER_get_asn1_iv, | 485 | EVP_CIPHER_get_asn1_iv, |
| 486 | NULL | 486 | NULL |
| @@ -493,7 +493,7 @@ const EVP_CIPHER cryptodev_bf_cbc = { | |||
| 493 | cryptodev_init_key, | 493 | cryptodev_init_key, |
| 494 | cryptodev_cipher, | 494 | cryptodev_cipher, |
| 495 | cryptodev_cleanup, | 495 | cryptodev_cleanup, |
| 496 | sizeof(struct session_op), | 496 | sizeof(struct dev_crypto_state), |
| 497 | EVP_CIPHER_set_asn1_iv, | 497 | EVP_CIPHER_set_asn1_iv, |
| 498 | EVP_CIPHER_get_asn1_iv, | 498 | EVP_CIPHER_get_asn1_iv, |
| 499 | NULL | 499 | NULL |
| @@ -506,7 +506,7 @@ const EVP_CIPHER cryptodev_cast_cbc = { | |||
| 506 | cryptodev_init_key, | 506 | cryptodev_init_key, |
| 507 | cryptodev_cipher, | 507 | cryptodev_cipher, |
| 508 | cryptodev_cleanup, | 508 | cryptodev_cleanup, |
| 509 | sizeof(struct session_op), | 509 | sizeof(struct dev_crypto_state), |
| 510 | EVP_CIPHER_set_asn1_iv, | 510 | EVP_CIPHER_set_asn1_iv, |
| 511 | EVP_CIPHER_get_asn1_iv, | 511 | EVP_CIPHER_get_asn1_iv, |
| 512 | NULL | 512 | NULL |
| @@ -519,7 +519,7 @@ const EVP_CIPHER cryptodev_aes_cbc = { | |||
| 519 | cryptodev_init_key, | 519 | cryptodev_init_key, |
| 520 | cryptodev_cipher, | 520 | cryptodev_cipher, |
| 521 | cryptodev_cleanup, | 521 | cryptodev_cleanup, |
| 522 | sizeof(struct session_op), | 522 | sizeof(struct dev_crypto_state), |
| 523 | EVP_CIPHER_set_asn1_iv, | 523 | EVP_CIPHER_set_asn1_iv, |
| 524 | EVP_CIPHER_get_asn1_iv, | 524 | EVP_CIPHER_get_asn1_iv, |
| 525 | NULL | 525 | NULL |
