aboutsummaryrefslogtreecommitdiff
path: root/lib/libsecureboot/h
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2019-06-26 23:33:32 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2019-06-26 23:33:32 +0000
commitf9510887eeb5ad2eab96b48c41631886f8f33ad6 (patch)
treeb718b14ac9447df1e131cb6e7ab9030ca1d04fbc /lib/libsecureboot/h
parent84322e3ee3b5ce7ad02a5939ac9dcc31c2b04190 (diff)
Notes
Diffstat (limited to 'lib/libsecureboot/h')
-rw-r--r--lib/libsecureboot/h/libsecureboot.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libsecureboot/h/libsecureboot.h b/lib/libsecureboot/h/libsecureboot.h
index 81984fde5f3e8..d7d72e8807441 100644
--- a/lib/libsecureboot/h/libsecureboot.h
+++ b/lib/libsecureboot/h/libsecureboot.h
@@ -42,6 +42,7 @@
#include <bearssl.h>
+unsigned char * read_fd(int, size_t);
#ifndef NEED_BRSSL_H
unsigned char * read_file(const char *, size_t *);
#endif
@@ -51,8 +52,12 @@ extern int DebugVe;
#define DEBUG_PRINTF(n, x) if (DebugVe >= n) printf x
int ve_trust_init(void);
+size_t ve_trust_anchors_add_buf(unsigned char *, size_t);
+size_t ve_trust_anchors_revoke(unsigned char *, size_t);
int ve_trust_add(const char *);
void ve_debug_set(int);
+void ve_anchor_verbose_set(int);
+int ve_anchor_verbose_get(void);
void ve_utc_set(time_t utc);
char *ve_error_get(void);
int ve_error_set(const char *, ...) __printflike(1,2);