aboutsummaryrefslogtreecommitdiff
path: root/libavb/avb_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavb/avb_ops.h')
-rw-r--r--libavb/avb_ops.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/libavb/avb_ops.h b/libavb/avb_ops.h
index dec163d..7f86386 100644
--- a/libavb/avb_ops.h
+++ b/libavb/avb_ops.h
@@ -191,10 +191,6 @@ struct AvbOps {
*
* If AVB_IO_RESULT_OK is returned then |out_is_trusted| is set -
* true if trusted or false if untrusted.
- *
- * NOTE: If AVB_SLOT_VERIFY_FLAGS_NO_VBMETA_PARTITION is passed to
- * avb_slot_verify() then this operation is never used. Instead, the
- * validate_public_key_for_partition() operation is used
*/
AvbIOResult (*validate_vbmeta_public_key)(AvbOps* ops,
const uint8_t* public_key_data,
@@ -312,25 +308,6 @@ struct AvbOps {
const char* name,
size_t value_size,
const uint8_t* value);
-
- /* Like validate_vbmeta_public_key() but for when the flag
- * AVB_SLOT_VERIFY_FLAGS_NO_VBMETA_PARTITION is being used. The name of the
- * partition to get the public key for is passed in |partition_name|.
- *
- * Also returns the rollback index location to use for the partition, in
- * |out_rollback_index_location|.
- *
- * Returns AVB_IO_RESULT_OK on success, otherwise an error code.
- */
- AvbIOResult (*validate_public_key_for_partition)(
- AvbOps* ops,
- const char* partition,
- const uint8_t* public_key_data,
- size_t public_key_length,
- const uint8_t* public_key_metadata,
- size_t public_key_metadata_length,
- bool* out_is_trusted,
- uint32_t* out_rollback_index_location);
};
#ifdef __cplusplus