aboutsummaryrefslogtreecommitdiffstats
path: root/src/crypto/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/md5.h')
-rw-r--r--src/crypto/md5.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/crypto/md5.h b/src/crypto/md5.h
index 40ab630..8952590 100644
--- a/src/crypto/md5.h
+++ b/src/crypto/md5.h
@@ -21,5 +21,15 @@ 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 */