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:
parent
852116a061
commit
5c4be82ce0
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue