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

const qualifiers in s2n-bignum header file #167

Open
aqjune-aws opened this issue Dec 2, 2024 · 0 comments
Open

const qualifiers in s2n-bignum header file #167

aqjune-aws opened this issue Dec 2, 2024 · 0 comments

Comments

@aqjune-aws
Copy link
Collaborator

aqjune-aws commented Dec 2, 2024

Currently the s2n-bignum header files do not eagerly attach the const qualifier to buffer arguments, but this causes users to introduce const casts.
The customized version of AWS-LC has const already attached: https://github.com/aws/aws-lc/blob/main/third_party/s2n-bignum/include/s2n-bignum_aws-lc.h

Probably we can automatize generation of the function signatures from specifications.

@aqjune-aws aqjune-aws changed the title const quantifiers in s2n-bignum header file const qualifiers in s2n-bignum header file Dec 2, 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

No branches or pull requests

1 participant