Closed
Bug 1110688
Opened 10 years ago
Closed 10 years ago
Resolve open question about random initialization
Categories
(Firefox for iOS :: Sync, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: rnewman, Assigned: rnewman)
Details
Attachments
(1 file)
In Sync we use SecRandomCopyBytes. It's not immediately obvious whether this needs to be initialized or seeded. This bug is to resolve that question.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8535545 -
Flags: review?(sarentz)
Comment 2•10 years ago
|
||
I also see Apple sample code use `arc4random`. See https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man3/arc4random.3.html - which has a note: > There is no need to call arc4random_stir() before using arc4random() functions family, since they auto-matically automatically matically initialize themselves.
Assignee | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Attachment #8535545 -
Flags: review?(sarentz) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•