-
Notifications
You must be signed in to change notification settings - Fork 21.1k
Closed
Labels
Description
I wanted to list the differences from SEC 1 that I found while working on ECIES for ethereumj. SEC 1 says:
- IV should be all zeros and should not be transmitted (see section 3.8 discussion about IV/ICB)
- IV should not be part of MAC (message tag) computation
- also noticed an extra hash of the MAC key in the go-ethereum implementation
I believe that the reason SEC 1 recommends constant IV is that the ephemeral key is used only once, so use of a random IV is superfluous.
The changes don't seem to introduce any weakness, just curious about the motivation.
( @romanman )