aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libmbedcrypto.h
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2019-03-21 17:04:46 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-04-29 13:18:09 +0200
commite4465073527b12b8efef338b212b78e3434959ee (patch)
tree87d9a32072aa4fedec43f133c4b21bbac7b81610 /include/libssh/libmbedcrypto.h
parent67beaf363fc16be235edf9cbf2f580f7906ef99c (diff)
downloadlibssh-e4465073527b12b8efef338b212b78e3434959ee.tar.gz
libssh-e4465073527b12b8efef338b212b78e3434959ee.tar.xz
libssh-e4465073527b12b8efef338b212b78e3434959ee.zip
Provide a function to query crypto backend for FIPS status
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/libmbedcrypto.h')
-rw-r--r--include/libssh/libmbedcrypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libmbedcrypto.h b/include/libssh/libmbedcrypto.h
index c98a50cf..c2afddf5 100644
--- a/include/libssh/libmbedcrypto.h
+++ b/include/libssh/libmbedcrypto.h
@@ -126,5 +126,7 @@ int ssh_mbedtls_random(void *where, int len, int strong);
ssh_string make_ecpoint_string(const mbedtls_ecp_group *g, const
mbedtls_ecp_point *p);
+#define ssh_fips_mode() false
+
#endif /* HAVE_LIBMBEDCRYPTO */
#endif /* LIBMBEDCRYPTO_H_ */