Closed Bug 981872 Opened 10 years ago Closed 10 years ago

Replace use of MessageDigest with NativeCrypto where applicable

Categories

(Android Background Services Graveyard :: Crypto, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 31

People

(Reporter: mcomella, Assigned: mcomella)

References

Details

Attachments

(2 files)

via bug 959652 comment 21:

> Additionally, I noticed we use MessageDigest in other places in the sync
> code that will require the same initialization (just not at startup),
> including sha1 routines

We should replace these with NativeCrypto to avoid initializing the crypto providers on Android 4.3 and greater (in addition to the hashing performance gains).
Assignee: nobody → michael.l.comella
Status: NEW → ASSIGNED
Comment on attachment 8402941 [details] [review]
Patch (github)

Comment on github PR, but r+ after streamlining.
Attachment #8402941 - Flags: review?(nalexander) → review+
https://hg.mozilla.org/mozilla-central/rev/12e30a3a76b1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 31
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: