Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Dpayload_signer.cc360 FILE* fprikey = fopen(private_key_path.c_str(), "rb"); in SignHash() local
361 TEST_AND_RETURN_FALSE(fprikey != nullptr); in SignHash()
362 RSA* rsa = PEM_read_RSAPrivateKey(fprikey, nullptr, nullptr, nullptr); in SignHash()
363 fclose(fprikey); in SignHash()
/system/update_engine/payload_consumer/
Ddelta_performer_integration_test.cc234 FILE* fprikey = fopen(private_key_path.c_str(), "w"); in SignGeneratedShellPayload() local
235 EXPECT_NE(nullptr, fprikey); in SignGeneratedShellPayload()
238 fprikey, rsa, nullptr, nullptr, 0, nullptr, nullptr)); in SignGeneratedShellPayload()
239 fclose(fprikey); in SignGeneratedShellPayload()