Home
last modified time | relevance | path

Searched refs:avb_verifier (Results 1 – 1 of 1) sorted by relevance

/system/core/fs_mgr/libfs_avb/
Dfs_avb.cpp106 std::unique_ptr<AvbVerifier> avb_verifier(new AvbVerifier()); in Create() local
107 if (!avb_verifier) { in Create()
114 !ParseUint(value.c_str(), &avb_verifier->vbmeta_size_)) { in Create()
125 avb_verifier->hash_alg_ = HashAlgorithm::kSHA256; in Create()
128 avb_verifier->hash_alg_ = HashAlgorithm::kSHA512; in Create()
143 if (!HexToBytes(avb_verifier->digest_, sizeof(avb_verifier->digest_), digest)) { in Create()
148 return avb_verifier; in Create()
450 std::unique_ptr<AvbVerifier> avb_verifier = AvbVerifier::Create(); in Open() local
451 if (!avb_verifier) { in Open()
455 if (!avb_verifier->VerifyVbmetaImages(avb_handle->vbmeta_images_)) { in Open()