Skip to content

Incorrect digest after 2^32 bits = 512 MB #2

@real-or-random

Description

@real-or-random

This implementation uses an internal byte counter of width 32 bits that's additionally shifted by 3 to the left to count bits instead of bytes. The counter overflows after processing 2^32 bits = 512 MB and the library produces wrong digests.

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