Skip to content

xchacha20poly1305 clen int type issue #142

@franziskuskiefer

Description

@franziskuskiefer

The output length in the xchacha20poly1305 functions such as crypto_aead_xchacha20poly1305_ietf_encrypt is an unsigned long long in C (64-bit) but an int (signed 32-bit) here in the wrapper. This can lead to overflows in the output length (unlikely with this interface, but still an issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions