Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBMC: State (not prove) poly_invntt_tomont + Prove polyvec_ntt and polyvec_invntt_tomont #380

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

mkannwischer
Copy link
Contributor

@mkannwischer mkannwischer commented Nov 12, 2024

This PR:

  • Proves polyvec_ntt based on the proof of poly_ntt (not that the previous spec missed the pre-condition on the input bounds)
  • States the contract of poly_invntt_tomont (but does not proof it)
  • Proves polyvec_invntt_tomont based on the contract of poly_invntt_tomont

Resolves #330
Resolves #378

Based on #371

@hanno-becker hanno-becker changed the title CBMC: State (not proof) poly_invntt_tomong + Proof polyvec_ntt and polyvec_invntt_tomont CBMC: State (not prove) poly_invntt_tomong + Proof polyvec_ntt and polyvec_invntt_tomont Nov 12, 2024
@hanno-becker hanno-becker changed the title CBMC: State (not prove) poly_invntt_tomong + Proof polyvec_ntt and polyvec_invntt_tomont CBMC: State (not prove) poly_invntt_tomong + Prove polyvec_ntt and polyvec_invntt_tomont Nov 12, 2024
@mkannwischer mkannwischer marked this pull request as ready for review November 12, 2024 08:26
@mkannwischer mkannwischer changed the title CBMC: State (not prove) poly_invntt_tomong + Prove polyvec_ntt and polyvec_invntt_tomont CBMC: State (not prove) poly_invntt_tomont + Prove polyvec_ntt and polyvec_invntt_tomont Nov 12, 2024
This adds a straightforward proof of polyvec_ntt based on
poly_ntt.

Signed-off-by: Matthias J. Kannwischer <[email protected]>
@hanno-becker hanno-becker merged commit d7fd84f into main Nov 12, 2024
33 checks passed
@hanno-becker hanno-becker deleted the cbmc-invntt branch November 12, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CBMC: Prove polyvec_invntt CBMC: State (but not prove) specs for NTT and invNTT
2 participants