diff options
Diffstat (limited to 'src/lib/libcrypto/engine/hw_cryptodev.c')
| -rw-r--r-- | src/lib/libcrypto/engine/hw_cryptodev.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/libcrypto/engine/hw_cryptodev.c b/src/lib/libcrypto/engine/hw_cryptodev.c index b8aa3cd62c..954eb85207 100644 --- a/src/lib/libcrypto/engine/hw_cryptodev.c +++ b/src/lib/libcrypto/engine/hw_cryptodev.c | |||
| @@ -120,7 +120,6 @@ static struct { | |||
| 120 | { CRYPTO_BLF_CBC, NID_bf_cbc, 8, 16, }, | 120 | { CRYPTO_BLF_CBC, NID_bf_cbc, 8, 16, }, |
| 121 | { CRYPTO_CAST_CBC, NID_cast5_cbc, 8, 16, }, | 121 | { CRYPTO_CAST_CBC, NID_cast5_cbc, 8, 16, }, |
| 122 | { CRYPTO_SKIPJACK_CBC, NID_undef, 0, 0, }, | 122 | { CRYPTO_SKIPJACK_CBC, NID_undef, 0, 0, }, |
| 123 | { CRYPTO_ARC4, NID_rc4, 8, 16, }, | ||
| 124 | { 0, NID_undef, 0, 0, }, | 123 | { 0, NID_undef, 0, 0, }, |
| 125 | }; | 124 | }; |
| 126 | 125 | ||
| @@ -481,20 +480,6 @@ cryptodev_cleanup(EVP_CIPHER_CTX *ctx) | |||
| 481 | * gets called when libcrypto requests a cipher NID. | 480 | * gets called when libcrypto requests a cipher NID. |
| 482 | */ | 481 | */ |
| 483 | 482 | ||
| 484 | /* ARC4 (16 byte key) */ | ||
| 485 | const EVP_CIPHER cryptodev_arc4_cipher = { | ||
| 486 | NID_rc4, | ||
| 487 | 1, 16, 0, | ||
| 488 | EVP_CIPH_VARIABLE_LENGTH, | ||
| 489 | cryptodev_init_key, | ||
| 490 | cryptodev_cipher, | ||
| 491 | cryptodev_cleanup, | ||
| 492 | sizeof(struct dev_crypto_state), | ||
| 493 | NULL, | ||
| 494 | NULL, | ||
| 495 | NULL | ||
| 496 | }; | ||
| 497 | |||
| 498 | /* DES CBC EVP */ | 483 | /* DES CBC EVP */ |
| 499 | const EVP_CIPHER cryptodev_des_cbc = { | 484 | const EVP_CIPHER cryptodev_des_cbc = { |
| 500 | NID_des_cbc, | 485 | NID_des_cbc, |
| @@ -575,9 +560,6 @@ cryptodev_engine_ciphers(ENGINE *e, const EVP_CIPHER **cipher, | |||
| 575 | return (cryptodev_usable_ciphers(nids)); | 560 | return (cryptodev_usable_ciphers(nids)); |
| 576 | 561 | ||
| 577 | switch (nid) { | 562 | switch (nid) { |
| 578 | case NID_rc4: | ||
| 579 | *cipher = &cryptodev_arc4_cipher; | ||
| 580 | break; | ||
| 581 | case NID_des_ede3_cbc: | 563 | case NID_des_ede3_cbc: |
| 582 | *cipher = &cryptodev_3des_cbc; | 564 | *cipher = &cryptodev_3des_cbc; |
| 583 | break; | 565 | break; |
