project-oak / silveroak

Formal specification and verification of hardware, especially for security and privacy.
Apache License 2.0
123 stars 20 forks source link

Partial version of sha256 proof #948

Closed jadephilipoom closed 2 years ago

jadephilipoom commented 2 years ago

This is my work on the sha256 proof so far, to be updated a little more before I unmark as draft.

What's done right now:

Still to be done:

jadephilipoom commented 2 years ago

Oh, I also slightly modified the sha256_padder circuit to make it ignore the value of is_final if data_valid is false. That seemed like more logical behavior to me, and made the logic slightly simpler in the padder proof.

jadephilipoom commented 2 years ago

Now improved with: