Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_signer.cc281 FILE* fprikey = fopen(private_key_path.c_str(), "rb"); in SignHash() local
282 TEST_AND_RETURN_FALSE(fprikey != nullptr); in SignHash()
283 RSA* rsa = PEM_read_RSAPrivateKey(fprikey, nullptr, nullptr, nullptr); in SignHash()
284 fclose(fprikey); in SignHash()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc224 FILE* fprikey = fopen(private_key_path.c_str(), "w"); in SignGeneratedShellPayload() local
225 EXPECT_NE(nullptr, fprikey); in SignGeneratedShellPayload()
228 fprikey, rsa, nullptr, nullptr, 0, nullptr, nullptr)); in SignGeneratedShellPayload()
229 fclose(fprikey); in SignGeneratedShellPayload()