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

chore(hlapi): remove unused keychain_member from macro #587

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

tmontaigu
Copy link
Contributor

No description provided.

@cla-bot cla-bot bot added the cla-signed label Sep 26, 2023
@github-actions
Copy link

@slab-ci cpu_fast_test

assert_eq!(
cks.parameters().message_modulus().0,
1 << 2,
"This API only supports integers with 2 bits per block (MessageModulus(16))",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MessageModulus(4) ? in that case you could use the debug format to avoid having to write it yourself :)

Comment on lines 122 to 124
assert_eq!(
cks.parameters().message_modulus().0,
1 << 2,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason for that ? I thought we were ok for 1_1 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No were not (and still are not) ok with 1_1, in the HLAPI number of blocks are statically fixed for each types assuming 2_2 parameters.

And we don't support all operations on 1_1 parameters

So first we should support all ops on 1_1 at the integer level then we can add suport for 1_1 params in HLAPI

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the HLAPI number of blocks are statically fixed for each types assuming 2_2 parameters

that's surprising, does it mean 3_3 or 4_4 params would not work as expected ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah ok I just saw it's an assert_eq

@github-actions
Copy link

@slab-ci cpu_fast_test

@github-actions
Copy link

Pull Request has been approved 🎉
Launching full test suite...
@slab-ci cpu_test
@slab-ci cpu_integer_test
@slab-ci cpu_multi_bit_test
@slab-ci cpu_wasm_test
@slab-ci csprng_randomness_testing

@tmontaigu tmontaigu merged commit 0154094 into main Sep 27, 2023
20 checks passed
@tmontaigu tmontaigu deleted the tm/hlapi-quick-fix branch September 27, 2023 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants