summaryrefslogtreecommitdiffstats
path: root/ncr-pk.c
diff options
context:
space:
mode:
Diffstat (limited to 'ncr-pk.c')
-rw-r--r--ncr-pk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ncr-pk.c b/ncr-pk.c
index 904e8d6..6de044b 100644
--- a/ncr-pk.c
+++ b/ncr-pk.c
@@ -33,6 +33,8 @@
#include "ncr-int.h"
#include <tomcrypt.h>
+#ifdef CONFIG_ASSYMETRIC
+
int _ncr_tomerr(int err)
{
switch (err) {
@@ -683,3 +685,5 @@ int ret;
return ret;
}
+
+#endif /* CONFIG_ASSYMETRIC */