This PR provides a draft proposal for new macros to make the CBMC contracts less verbose and easier to read.
Fixes #169
New macros are in mlkem/cbmc.h
I went for UPPERCASE for the new macros, since this appears to be a common convention in C, and also minimizes the change of creating name-clashes in the future.
I have applied these in mlkem/poly.[hc] to see how they look. All for discussion.
This PR provides a draft proposal for new macros to make the CBMC contracts less verbose and easier to read.
Fixes #169
New macros are in mlkem/cbmc.h
I went for UPPERCASE for the new macros, since this appears to be a common convention in C, and also minimizes the change of creating name-clashes in the future.
I have applied these in mlkem/poly.[hc] to see how they look. All for discussion.
Tests and proofs all pass on this branch locally.