Searched refs:pk_len (Results 1 – 2 of 2) sorted by relevance
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 399 size_t pk_len; in VerifyVBMetaSignature() local 402 vbmeta_ret = avb_vbmeta_image_verify(vbmeta.data(), vbmeta.size(), &pk_data, &pk_len); in VerifyVBMetaSignature() 406 if (pk_len > 0) { in VerifyVBMetaSignature() 407 out_public_key_data->append(reinterpret_cast<const char*>(pk_data), pk_len); in VerifyVBMetaSignature() 413 if (pk_data == nullptr || pk_len <= 0) { in VerifyVBMetaSignature() 418 if (!ValidatePublicKeyBlob(pk_data, pk_len, expected_public_key_blob)) { in VerifyVBMetaSignature()
|
/system/apex/apexd/ |
D | apex_file.cpp | 205 size_t pk_len; in verifyVbMetaSignature() local 208 res = avb_vbmeta_image_verify(data, length, &pk, &pk_len); in verifyVbMetaSignature() 237 if (!CompareKeys(pk, pk_len, *public_key)) { in verifyVbMetaSignature()
|