cryspen / bertie

Bertie TLS 1.3 Implementation
Apache License 2.0
112 stars 3 forks source link

Bertie Lax Typechecking #107

Closed karthikbhargavan closed 6 months ago

karthikbhargavan commented 6 months ago

This PR addresses issue #86.

It requires some changes to the source code to generate better F* code. In particular, we work around some issues around the use of question-marks until they are resolved in hax (see https://github.com/hacspec/hax/issues/15)

It also requires some hand-edits to the generated F*, to add let rec for recursive functions, and to add a trait implementation for mutable Bytes

Type of change

Motivation and Context

This is part of the formal verification of Bertie.

Changes

Checklist

Fixes #