Use SHA-256 for hashing BoringSSL crypto module.

Reason: Performs significantley better than SHA-512
on ARM64 devices

Bug: 141710485
Test: flashall
Change-Id: I40f0873d3e705a75b9a7a3ba1445a9176afff77b
This commit is contained in:
Pete Bentley 2019-10-01 17:03:17 +01:00
parent 852116a061
commit 5c4be82ce0
1 changed files with 1 additions and 0 deletions

View File

@ -1333,6 +1333,7 @@ func maybeInjectBoringSSLHash(ctx android.ModuleContext, outputFile android.Modu
rule := android.NewRuleBuilder()
rule.Command().
BuiltTool(ctx, "bssl_inject_hash").
Flag("-sha256").
FlagWithInput("-in-object ", outputFile).
FlagWithOutput("-o ", hashedOutputfile)
rule.Build(pctx, ctx, "injectCryptoHash", "inject crypto hash")