aboutsummaryrefslogtreecommitdiff
path: root/src/secret.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/secret.h')
-rw-r--r--src/secret.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/secret.h b/src/secret.h
new file mode 100644
index 0000000..3dd03a4
--- /dev/null
+++ b/src/secret.h
@@ -0,0 +1,9 @@
+#ifndef BOKF_SECRET_H
+#define BOKF_SECRET_H
+
+int secret_available(void);
+int secret_encrypt(const char *plain, char **out);
+int secret_decrypt(const char *stored, char **out);
+int secret_key_is_secret(const char *key);
+
+#endif