aboutsummaryrefslogtreecommitdiff
path: root/lib/libsecureboot/h
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2020-03-25 19:12:19 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2020-03-25 19:12:19 +0000
commit53f151f90603580d0c0a8fa1840ba1262958a7c1 (patch)
tree78969ebac620eb68b5a22beb561b91e35c99db70 /lib/libsecureboot/h
parent7c63520c42754642acce60c7be5fc9676e3e3266 (diff)
Notes
Diffstat (limited to 'lib/libsecureboot/h')
-rw-r--r--lib/libsecureboot/h/libsecureboot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libsecureboot/h/libsecureboot.h b/lib/libsecureboot/h/libsecureboot.h
index 581b72b411d23..33f98bca04795 100644
--- a/lib/libsecureboot/h/libsecureboot.h
+++ b/lib/libsecureboot/h/libsecureboot.h
@@ -78,10 +78,11 @@ unsigned char *verify_sig(const char *, int);
unsigned char *verify_asc(const char *, int); /* OpenPGP */
void ve_pcr_init(void);
-void ve_pcr_update(unsigned char *, size_t);
+void ve_pcr_update(const char *, unsigned char *, size_t);
ssize_t ve_pcr_get(unsigned char *, size_t);
int ve_pcr_updating_get(void);
void ve_pcr_updating_set(int);
+char * ve_pcr_hashed_get(int);
/* flags for verify_{asc,sig,signed} */
#define VEF_VERBOSE 1