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

Better initialization of relic #2

Open
schanzen opened this issue Feb 16, 2024 · 1 comment
Open

Better initialization of relic #2

schanzen opened this issue Feb 16, 2024 · 1 comment

Comments

@schanzen
Copy link
Collaborator

We should either add a bbs_init function that initializes the subsystem or a compiler attribute (constructor) that does that when the library is loaded.
Currently, it is not even really documented outside of the tests how to use libbbs correctly.

@schanzen
Copy link
Collaborator Author

Constructor attribute use: https://git.gnunet.org/gnunet.git/tree/src/lib/util/crypto_random.c#n363
Example where init is used: https://github.com/Fraunhofer-AISEC/libbbs/blob/main/test/bbs_e2e_sign_n_proof.c#L6
Maybe constructor with bbs_init as portability fallback?

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