Lines Matching full:signature
39 Signature::Signature(const fs::path& imageDirPath, in Signature() function in phosphor::software::image::Signature
55 AvailableKeyTypes Signature::getAvailableKeyTypesFromSystem() const in getAvailableKeyTypesFromSystem()
91 inline KeyHashPathPair Signature::getKeyHashFileNames(const Key_t& key) const in getKeyHashFileNames()
99 bool Signature::verifyFullImage() in verifyFullImage()
142 bool Signature::verify() in verify()
151 error("System level Signature Validation failed"); in verify()
197 // Build Signature File name in verify()
201 // Verify the signature. in verify()
206 error("Image file Signature Validation failed on {IMAGE}", in verify()
215 error("Image full file Signature Validation failed"); in verify()
228 debug("Successfully completed Signature validation."); in verify()
242 bool Signature::systemLevelVerify() in systemLevelVerify()
248 error("Missing Signature configuration data in system"); in systemLevelVerify()
252 // Build publickey and its signature file name. in systemLevelVerify()
257 // Build manifest and its signature file name. in systemLevelVerify()
264 // Verify the file signature with available key types in systemLevelVerify()
277 // Verify manifest file signature in systemLevelVerify()
282 // Verify publickey file signature. in systemLevelVerify()
299 bool Signature::verifyFile(const fs::path& file, const fs::path& sigFile, in verifyFile()
307 error("Failed to find the Data or signature file {PATH}", "PATH", file); in verifyFile()
360 // Verify the data with signature. in verifyFile()
362 auto signature = mapFile(sigFile, size); in verifyFile() local
365 rsaVerifyCtx.get(), reinterpret_cast<unsigned char*>(signature()), in verifyFile()
378 error("EVP_DigestVerifyFinal:Signature validation failed on {PATH}", in verifyFile()
385 inline EVP_PKEY_Ptr Signature::createPublicRSA(const fs::path& publicKey) in createPublicRSA()
404 CustomMap Signature::mapFile(const fs::path& path, size_t size) in mapFile()
412 bool Signature::checkAndVerifyImage( in checkAndVerifyImage()
435 // Verify the signature. in checkAndVerifyImage()
439 error("Image file Signature Validation failed on {PATH}", "PATH", in checkAndVerifyImage()