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

polynomials: create coefficients in cbd from an iterator #79

Closed
wants to merge 1 commit into from

Conversation

tomato42
Copy link
Collaborator

@tomato42 tomato42 commented Jul 25, 2024

trying out if a slight optimisation on the CBD doesn't improve situation but it's basically no difference:

current main:

--------------------------------------------------------------------------------
   Params    |  keygen  |  keygen/s  |  encap  |  encap/s  |  decap  |  decap/s
--------------------------------------------------------------------------------
 ML-KEM-512  |   0.99ms |    1010.07 |  1.47ms |    681.81 |  2.10ms |  477.19 |
 ML-KEM-768  |   1.69ms |     592.47 |  2.27ms |    439.71 |  3.11ms |  321.56 |
 ML-KEM-1024 |   2.55ms |     392.77 |  3.24ms |    309.07 |  4.27ms |  234.14 |

this PR:

--------------------------------------------------------------------------------
   Params    |  keygen  |  keygen/s  |  encap  |  encap/s  |  decap  |  decap/s
--------------------------------------------------------------------------------
 ML-KEM-512  |   1.00ms |    1004.16 |  1.48ms |    677.70 |  2.10ms |  476.19 |
 ML-KEM-768  |   1.70ms |     589.87 |  2.29ms |    437.49 |  3.12ms |  320.72 |
 ML-KEM-1024 |   2.56ms |     390.77 |  3.25ms |    307.83 |  4.28ms |  233.67 |

Signed-off-by: Hubert Kario <hkario@redhat.com>
@tomato42 tomato42 closed this Jul 25, 2024
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.

1 participant