0

I'm using openssl-3.0.7, enabled legacy providers along with activating default provider. openssl list -providers is successfully listing both the providers. openssl list -cipher-algorithms is also listing default and legacy algorithms. Tried running speed test for all algorithms , I notice some errors only with DES-EDE-ECB, DES-EDE-ECB, DES-EDE-CBC, DES-EDE-CFB and DES-EDE-OFB algorithms.I have not replaced deprecated functions(don't have enough time) as there are being trated as warnings as of now and functions we can still use and ignore warnings.Encryption and decryption is happening fine with just warnings as it is expected. Here is the output of speed test for DES-EDE-OFB algorithm.

command : openssl speed -evp DES-EDE-OFB

version: 3.0.7

Doing DES-EDE-OFB for 3s on 16 size blocks: 5074005 DES-EDE-OFB's in 3.00s

Doing DES-EDE-OFB for 3s on 64 size blocks: 1297913 DES-EDE-OFB's in 3.00s

Doing DES-EDE-OFB for 3s on 256 size blocks: 325584 DES-EDE-OFB's in 3.00s

Doing DES-EDE-OFB for 3s on 1024 size blocks: 81767 DES-EDE-OFB's in 3.00s

Doing DES-EDE-OFB for 3s on 8192 size blocks: 10213 DES-EDE-OFB's in 3.00s

Doing DES-EDE-OFB for 3s on 16384 size blocks: 5106 DES-EDE-OFB's in 3.00s

40379BA7E97F0000:error:1C800079:Provider routines:(unknown function):failed to generate key:providers/implementations/ciphers/cipher_tdes_common.c:145:

40379BA7E97F0000:error:1C800079:Provider routines:(unknown function):failed to generate key:providers/implementations/ciphers/cipher_tdes_common.c:145:

40379BA7E97F0000:error:1C800079:Provider routines:(unknown function):failed to generate key:providers/implementations/ciphers/cipher_tdes_common.c:145:

40379BA7E97F0000:error:1C800079:Provider routines:(unknown function):failed to generate key:providers/implementations/ciphers/cipher_tdes_common.c:145:

40379BA7E97F0000:error:1C800079:Provider routines:(unknown function):failed to generate key:providers/implementations/ciphers/cipher_tdes_common.c:145:

40379BA7E97F0000:error:1C800079:Provider routines:(unknown function):failed to generate key:providers/implementations/ciphers/cipher_tdes_common.c:145:

version: 3.0.7

built on: Tue Jan 24 11:52:39 2023 UTC

options: bn(64,64)

compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -O3 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -DOPENSSL_NO_CAPIENG

The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes

DES-EDE-OFB 27061.36k 27688.81k 27783.17k 27909.80k 27888.30k 27885.57k

Tried searching on openssl site regarding the error but didn't find anything related, tried online to get some kind of help or clue but none. wonder if anyone else also facing the same issue.I don't have much understanding regarding openssl inner files code. please suggest some ways/suggestions to fix this.

Ishani
  • 1
  • 2

0 Answers0