Skip to content

Using proper KDF #82

Closed
Closed
@savely-krasovsky

Description

@savely-krasovsky

Currently KDF is just SHA256, but there are a bunch of standards which defines what KDF should be. There is an old one ANSI-X9.63: http://www.secg.org/sec1-v2.pdf (clause 3.6.1).

But there is also newer ISO 18033-2 document that defines new KDF: https://www.shoup.net/iso/std6.pdf (clause 6.2). (Drafts contain discussion why not just Hash (https://www.shoup.net/papers/iso-2_1.pdf))

And pay an attention: Both documents define generic KDF for every algorithm described in the documents.

I guess we should replace current KDF with ISO 18033-2 variant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions