#include <avb.h>
|
| Avb () |
|
| Avb (std::string avbtool_path, std::string algorithm, std::string key) |
|
Result< void > | AddHashFooter (const std::string &image_path, const std::string &partition_name, off_t partition_size_bytes) const |
|
Result< std::string > | InfoImage (const std::string &image_path) const |
|
Result< void > | MakeVbMetaImage (const std::string &output_path, const std::vector< ChainPartition > &chained_partitions, const std::vector< std::string > &included_partitions, const std::vector< std::string > &extra_arguments) |
|
◆ Avb() [1/2]
◆ Avb() [2/2]
cuttlefish::Avb::Avb |
( |
std::string |
avbtool_path, |
|
|
std::string |
algorithm, |
|
|
std::string |
key |
|
) |
| |
◆ AddHashFooter()
Result< void > cuttlefish::Avb::AddHashFooter |
( |
const std::string & |
image_path, |
|
|
const std::string & |
partition_name, |
|
|
off_t |
partition_size_bytes |
|
) |
| const |
AddHashFooter - sign and add hash footer to the partition for avb and dm-verity verification
@image_path: path to image to sign @partition_name: partition name (without A/B suffix) @partition_size_bytes: partition size (in bytes)
◆ GenerateAddHashFooter()
Command cuttlefish::Avb::GenerateAddHashFooter |
( |
const std::string & |
image_path, |
|
|
const std::string & |
partition_name, |
|
|
off_t |
partition_size_bytes |
|
) |
| const |
|
private |
◆ GenerateInfoImage()
Command cuttlefish::Avb::GenerateInfoImage |
( |
const std::string & |
image_path, |
|
|
const SharedFD & |
output_path |
|
) |
| const |
|
private |
◆ GenerateMakeVbMetaImage()
Command cuttlefish::Avb::GenerateMakeVbMetaImage |
( |
const std::string & |
output_path, |
|
|
const std::vector< ChainPartition > & |
chained_partitions, |
|
|
const std::vector< std::string > & |
included_partitions, |
|
|
const std::vector< std::string > & |
extra_arguments |
|
) |
| |
|
private |
◆ InfoImage()
Result< std::string > cuttlefish::Avb::InfoImage |
( |
const std::string & |
image_path | ) |
const |
◆ MakeVbMetaImage()
Result< void > cuttlefish::Avb::MakeVbMetaImage |
( |
const std::string & |
output_path, |
|
|
const std::vector< ChainPartition > & |
chained_partitions, |
|
|
const std::vector< std::string > & |
included_partitions, |
|
|
const std::vector< std::string > & |
extra_arguments |
|
) |
| |
◆ algorithm_
std::string cuttlefish::Avb::algorithm_ |
|
private |
◆ avbtool_path_
std::string cuttlefish::Avb::avbtool_path_ |
|
private |
◆ key_
std::string cuttlefish::Avb::key_ |
|
private |
The documentation for this class was generated from the following files:
- cuttlefish/host/libs/avb/avb.h
- cuttlefish/host/libs/avb/avb.cpp