Skip to content

Determine the maximum log plaintext length #11634

@nventuro

Description

@nventuro

#11641 naively allocates the entire private log size to the ciphertext, but this is incorrect: there's also the tag, headers, encryption padding, etc. We need to account for this to produce a better limit.

Given users can introduce alternative encryption schemes, we could initially either choose to a) assume they're using our own, or b) set some upper bound for the overhead and hope their scheme does not require more metadata than what we allocate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-aztec.nrComponent: Aztec smart contract frameworkteam-fairiesNico's team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions