Skip to content

Conversation

@brian-jarvis-aws
Copy link
Contributor

Description of changes:

This patch mirrors the technique used in the upstream Kyber reference code (commit 272125f) to prevent the compiler from using the DIV instruction in poly_compress and polyvec_compress.

Addresses t/V1179892555.

Testing:

CI testing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

… polyvec_compress to prevent the compiler from using DIV.
@codecov-commenter
Copy link

codecov-commenter commented Dec 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.80%. Comparing base (7226be1) to head (469ec3e).
Report is 1216 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1376      +/-   ##
==========================================
- Coverage   76.84%   76.80%   -0.04%     
==========================================
  Files         424      424              
  Lines       71392    71410      +18     
==========================================
- Hits        54859    54846      -13     
- Misses      16533    16564      +31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@brian-jarvis-aws brian-jarvis-aws marked this pull request as ready for review December 30, 2023 16:04
@brian-jarvis-aws brian-jarvis-aws requested a review from a team as a code owner December 30, 2023 16:04
@WillChilds-Klein WillChilds-Klein merged commit 4c37fba into aws:main Jan 2, 2024
andrewhop pushed a commit to andrewhop/aws-lc that referenced this pull request Jan 3, 2024
… polyvec_compress to prevent the compiler from using DIV. (aws#1376)
@geedo0 geedo0 mentioned this pull request Jan 3, 2024
geedo0 pushed a commit to geedo0/aws-lc that referenced this pull request Jan 3, 2024
… polyvec_compress to prevent the compiler from using DIV. (aws#1376)
@brian-jarvis-aws brian-jarvis-aws deleted the kyber_update branch January 9, 2024 17:34
dougch pushed a commit to dougch/aws-lc that referenced this pull request Jan 30, 2024
… polyvec_compress to prevent the compiler from using DIV. (aws#1376)
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.

4 participants