mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
cleanup: remove a couple of unused functions and files
scripts/sign_data.sh is just a wrapper to do this:
./signature_digest_utility $1 $3 \
| openssl rsautl -sign -pkcs -inkey $2
AFAICT, that script is only invoked by the SignatureFile()
function in host/lib/file_keys.c, which is not referenced by
anything. I think I can remove both of those things.
Also remove utility/gbb_utility.cc, which should have been done
long ago in commit 6f39615.
BUG=none
BRANCH=ToT
TEST=make runalltests
Also ran it on daisy_spring-paladin and link-tot-paladin.
Change-Id: I16de5022765806f11bf6144d7ffd8cc849578a68
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/216719
Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
a1d9fe6eec
commit
bc3f0b74f9
@@ -31,13 +31,4 @@ RSAPublicKey* RSAPublicKeyFromFile(const char* input_file);
|
||||
*/
|
||||
uint8_t* DigestFile(char* input_file, int sig_algorithm);
|
||||
|
||||
/* Helper function to invoke external program to calculate signature on
|
||||
* [input_file] using private key [key_file] and signature algorithm
|
||||
* [algorithm].
|
||||
*
|
||||
* Returns the signature. Caller owns the buffer and must Free() it.
|
||||
*/
|
||||
uint8_t* SignatureFile(const char* input_file, const char* key_file,
|
||||
unsigned int algorithm);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_FILE_KEYS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user