Skip to content

[Bug] Trunc Length in Client Hello #110

@karthikbhargavan

Description

@karthikbhargavan

Describe the bug
While verifying the F* code, the treatment of trunc_len seems to be wrong.
It is treated as the length of the suffix in some places and as the length of the prefix in others.
This bears investigation.

See e.g.

assume(v chlen >= v trunc_len + v hlen);

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions