Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Openssl CMAC API (omac1_aes_vector) Availalable in Non FIPs Mode #84

Closed
wants to merge 3 commits into from
Closed

Conversation

wumiaont
Copy link
Contributor

OpenSSL CMAC wrapper API (omac1_aes_vector) is only available when FIPs is enabled for build. Which should not be the case. Openssl CMAC srapper API should also be available under non FIPS mode. When wpa-supplicant is referencing openssl should trigger openssl CMAC not the wpa internal one.

The fix is taking from hostap with those changes.
https://w1.fi/cgit/hostap/commit/src/crypto?id=ae0f6ee97ed4924189f2cd68548d2a971f17d67e https://w1.fi/cgit/hostap/commit/wpa_supplicant/Makefile?id=ae0f6ee97ed4924189f2cd68548d2a971f17d67e

Test has been done with the changes with FIPS and non FIPS and run sonic macsec testing suite. All triggers openssl CMAC with the changes.

@wumiaont wumiaont closed this Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant