Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2023 20:12:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272454] openssl 3 fips module doesn't load on arm64
Message-ID:  <bug-272454-227-JwvT8VP8wJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272454-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272454-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272454

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #3 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Pierre Pronchery from comment #1)
The patch fixes the error, but now I get an error for a different symbol:

markj@devkit> openssl rc4 -provider fips -e -a -pbkdf2
rc4: unable to load provider fips
Hint: use -provider-path option or OPENSSL_MODULES environment variable.
0020018DE9650000:error:12800067:DSO support routines:dlfcn_load:could not l=
oad
the shared
library:/usr/home/markj/src/freebsd/crypto/openssl/crypto/dso/dso_dlfcn.c:1=
18:filename(/usr/lib/ossl-modules/fips.so):
/usr/lib/ossl-modules/fips.so: Undefined symbol "gcm_ghash_v8"
0020018DE9650000:error:12800067:DSO support routines:DSO_load:could not load
the shared
library:/usr/home/markj/src/freebsd/crypto/openssl/crypto/dso/dso_lib.c:152:
0020018DE9650000:error:07880025:common libcrypto
routines:provider_init:reason(524325):/usr/home/markj/src/freebsd/crypto/op=
enssl/crypto/provider_core.c:912:name=3Dfips

(In reply to Pierre Pronchery from comment #1)
> I suspect that on amd64 the symbols are exposed through libcrypto.so, whi=
le arm64 looks for them only in fips.so. Does it make sense?

You're suggesting that symbol resolution is somehow working differently on
arm64 than amd64?  I think this is unlikely.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272454-227-JwvT8VP8wJ>