aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/md5.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-19 13:53:15 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-19 13:53:15 (GMT)
commit44ec48ebfd19c1828c26880d7f32f6e658477e30 (patch)
treeb54df008fc9308d07876126c090fd57825b73417 /src/crypto/md5.h
parentbe9e8c293caee7d08257da1807fd9c20f4af61c3 (diff)
downloadhostap-44ec48ebfd19c1828c26880d7f32f6e658477e30.zip
hostap-44ec48ebfd19c1828c26880d7f32f6e658477e30.tar.gz
hostap-44ec48ebfd19c1828c26880d7f32f6e658477e30.tar.bz2
FIPS: Remove md5-non-fips.c
Commit c9e08af24fd7dda3f21674cdc744579b8c38fa28 removed the only user of the special case MD5 use that would be allowed in FIPS mode in tls_prf_sha1_md5(). Commit 271dbf1594bea461ea2ea7946a773a30bfa254aa removed the file from the build, but left the implementation into the repository. To clean things up even further, remove this functionality completely since it is not expected to be needed for FIPS mode anymore. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/crypto/md5.h')
-rw-r--r--src/crypto/md5.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/crypto/md5.h b/src/crypto/md5.h
index 4d6e904..33f8426 100644
--- a/src/crypto/md5.h
+++ b/src/crypto/md5.h
@@ -15,15 +15,5 @@ int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem,
const u8 *addr[], const size_t *len, u8 *mac);
int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len,
u8 *mac);
-#ifdef CONFIG_FIPS
-int hmac_md5_vector_non_fips_allow(const u8 *key, size_t key_len,
- size_t num_elem, const u8 *addr[],
- const size_t *len, u8 *mac);
-int hmac_md5_non_fips_allow(const u8 *key, size_t key_len, const u8 *data,
- size_t data_len, u8 *mac);
-#else /* CONFIG_FIPS */
-#define hmac_md5_vector_non_fips_allow hmac_md5_vector
-#define hmac_md5_non_fips_allow hmac_md5
-#endif /* CONFIG_FIPS */
#endif /* MD5_H */