summaryrefslogtreecommitdiff
path: root/firmware/lib21/include/vb21_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib21/include/vb21_common.h')
-rw-r--r--firmware/lib21/include/vb21_common.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/firmware/lib21/include/vb21_common.h b/firmware/lib21/include/vb21_common.h
index 6362a150..442ccb07 100644
--- a/firmware/lib21/include/vb21_common.h
+++ b/firmware/lib21/include/vb21_common.h
@@ -144,38 +144,6 @@ vb2_error_t vb21_verify_data(const void *data, uint32_t size,
const struct vb2_public_key *key,
const struct vb2_workbuf *wb);
-/**
- * Check the sanity of a keyblock using a public key.
- *
- * Header fields are also checked for sanity. Does not verify key index or key
- * block flags. Signature inside block is destroyed during check.
- *
- * @param block Keyblock to verify
- * @param size Size of keyblock buffer
- * @param key Key to use to verify block
- * @param wb Work buffer
- * @return VB2_SUCCESS, or non-zero error code if error.
- */
-vb2_error_t vb21_verify_keyblock(struct vb21_keyblock *block, uint32_t size,
- const struct vb2_public_key *key,
- const struct vb2_workbuf *wb);
-
-/**
- * Check the sanity of a firmware preamble using a public key.
- *
- * The signature in the preamble is destroyed during the check.
- *
- * @param preamble Preamble to verify
- * @param size Size of preamble buffer
- * @param key Key to use to verify preamble
- * @param wb Work buffer
- * @return VB2_SUCCESS, or non-zero error code if error.
- */
-vb2_error_t vb21_verify_fw_preamble(struct vb21_fw_preamble *preamble,
- uint32_t size,
- const struct vb2_public_key *key,
- const struct vb2_workbuf *wb);
-
#ifdef __cplusplus
}
#endif /* __cplusplus */