Skip to content

[Bug] Record protocol counters may overflow #111

@karthikbhargavan

Description

@karthikbhargavan

Describe the bug
While verifying the F* code generated from Bertie, we found that the record protocol message/encryption counters could potentially overflow. We should trigger an error to prevent this.

See e.g.

assume (v n < maxint u64_inttype);

To Reproduce

Expected behavior

Actual behavior

Screenshots or debug log

Platform (please complete the following information):

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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