-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed
Labels
branch: 3.0Merge to openssl-3.0 branchMerge to openssl-3.0 branchbranch: masterMerge to master branchMerge to master branchresolved: answeredThe issue contained a question which has been answeredThe issue contained a question which has been answeredtriaged: questionThe issue contains a questionThe issue contains a question
Description
In short: OpenSSL-3 (and master) build normally (config attached), passes all the tests, pretends that RIPEMD is there - but fail to actually use it when asked.
With 3.0.0:
$ openssl speed ripemd160
Doing rmd160 for 3s on 16 size blocks: rmd160 error!
006E861201000000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:346:Global default library context, Algorithm (RIPEMD160 : 101), Properties ()
006E861201000000:error:03000086:digital envelope routines:evp_md_init_internal:initialization error:crypto/evp/digest.c:234:
version: 3.0.0
built on: built on: Thu Oct 14 00:15:47 2021 UTC
options:bn(64,64)
compiler: /usr/bin/clang -fPIC -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -DL_ENDIAN -DOPENSSL_PIC -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
CPUINFO: OPENSSL_ia32cap=0x7ffef3ffffebffff:0x139efffb
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
rmd160 0.00 0.00 0.00 0.00 0.00 0.00
With master
:
$ openssl3 speed ripemd160
Doing rmd160 for 3s on 16 size blocks: rmd160 error!
004E5D0401000000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:349:Global default library context, Algorithm (RIPEMD160 : 97), Properties ()
004E5D0401000000:error:03000086:digital envelope routines:evp_md_init_internal:initialization error:crypto/evp/digest.c:235:
version: 3.1.0-dev
built on: Mon Nov 8 14:51:48 2021 UTC
options: bn(64,64)
compiler: clang -fPIC -arch x86_64 -O3 -std=gnu18 -march=native -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -g -DL_ENDIAN -DOPENSSL_PIC -D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DZLIB_SHARED
CPUINFO: OPENSSL_ia32cap=0x7ffef3ffffebffff:0x139efffb
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
rmd160 0.00 0.00 0.00 0.00 0.00 0.00
Also, are dynamically-loaded engines no longer supported?!
$ openssl3 engine -t
(rdrand) Intel RDRAND engine
[ available ]
(dynamic) Dynamic engine loading support
[ unavailable ]
(gost) Reference implementation of GOST engine
[ available ]
$ openssl3 version
OpenSSL 3.1.0-dev (Library: OpenSSL 3.1.0-dev )
$
Update
My configurator did not include enable-rmd160
. Re-testing with it added.
cculianu, SamTolmay, androvisck and kenorb
Metadata
Metadata
Assignees
Labels
branch: 3.0Merge to openssl-3.0 branchMerge to openssl-3.0 branchbranch: masterMerge to master branchMerge to master branchresolved: answeredThe issue contained a question which has been answeredThe issue contained a question which has been answeredtriaged: questionThe issue contains a questionThe issue contains a question