Skip to content

Differences from SEC 1 in ethereum ECIES #473

@devrandom

Description

@devrandom

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 )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions