Skip to content

Avoid unnessarily duplicating HKDF work by using separate "expand" and "extract" steps. #61

@rfk

Description

@rfk

As noted by Martin here, we currently do unnecessary work when deriving key material, because our crypto backend only exposes a single hkdf_sha256 operation. If it instead exposed separate hkdf_sha256_extract and hkdf_sha256_expand operations, we could save a few iterations of the hash function by doing a single extract and then multiple expands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions