Skip to content

Commit

Permalink
enable fips
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <[email protected]>
  • Loading branch information
Pterosaur committed Mar 19, 2024
1 parent 0fec38d commit 35c8bca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/config/wpasupplicant/linux
Original file line number Diff line number Diff line change
Expand Up @@ -603,3 +603,6 @@ CONFIG_OWE=y
# This requires CONFIG_IEEE80211W=y to be enabled, too. (see
# wpa_supplicant/README-DPP for details)
CONFIG_DPP=y

# CONFIG_FIPS=y
CONFIG_OPENSSL_CMAC=y
1 change: 1 addition & 0 deletions src/crypto/crypto_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ int crypto_get_random(void *buf, size_t len)
int omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem,
const u8 *addr[], const size_t *len, u8 *mac)
{
wpa_printf(MSG_ERROR, "Openssl CMAC: omac1_aes_vector");
#if OPENSSL_VERSION_NUMBER >= 0x30000000L
EVP_MAC_CTX *ctx = NULL;
EVP_MAC *emac;
Expand Down

0 comments on commit 35c8bca

Please sign in to comment.