summaryrefslogtreecommitdiff
path: root/include/crypto_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto_api.h')
-rw-r--r--include/crypto_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/crypto_api.h b/include/crypto_api.h
index 07bda7f5be..8a8ccacf99 100644
--- a/include/crypto_api.h
+++ b/include/crypto_api.h
@@ -56,6 +56,11 @@ void app_compute_hash(uint8_t *p_buf, size_t num_bytes,
*/
int app_cipher(const void *salt, void *out, const void *in, size_t size);
+/*
+ * Return a Boolean showing if crypto hardware is enabled.
+ */
+int crypto_enabled(void);
+
#ifdef __cplusplus
}
#endif