Page MenuHomeFreeBSD

libcrypto: fix the FIPS provider on amd64
ClosedPublic

Authored by khorben on Sep 4 2023, 6:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 13, 12:17 AM
Unknown Object (File)
Sun, Dec 7, 5:21 AM
Unknown Object (File)
Sun, Nov 30, 11:14 AM
Unknown Object (File)
Thu, Nov 27, 4:04 AM
Unknown Object (File)
Tue, Nov 25, 1:11 AM
Unknown Object (File)
Sun, Nov 23, 1:22 PM
Unknown Object (File)
Nov 16 2025, 1:16 AM
Unknown Object (File)
Nov 15 2025, 9:14 PM
Subscribers

Details

Summary

This corrects the list of source files required for the FIPS provider,
as tested on a amd64 host. This still requires testing on the other
architectures.

Test Plan
# openssl fipsinstall -out /etc/ssl/fipsmodule.cnf -module /usr/lib/ossl-modules/fips.so
# vi /etc/ssl/openssl.cnf
[enable the FIPS module]
# echo test | openssl aes-256-cbc -provider fips -a -pbkdf2
enter AES-256-CBC encryption password:
Verifying - enter AES-256-CBC encryption password:
U2FsdGVkX199k8PlM+6jTPK4AARYYVR3BXF+a1bCLCk=

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

khorben created this revision.
secure/lib/libcrypto/modules/fips/Makefile
45

This needs aes-586.S now I think

Also build aes-586.S for i386.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 21 2023, 3:38 PM
This revision was automatically updated to reflect the committed changes.