Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

g_rng_function should only exist once #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mkiiskila
Copy link

ecc.c, ecc_dh.c and ecc_dsa.c declare their own copies of this variable. This PR makes it a single item, shared by all.
Also added a convenience target to tests directory, which'll execute all unit tests.
Try 'make run_tests' there.

Marko Kiiskila added 2 commits September 28, 2017 09:07
Rename g_rng_function -> uECC_rng_function, as the symbol(s) are not
static anymore.
@pdxjohnny
Copy link
Member

Thanks for the PR! However they are intentionally defined separately so as too allow for the following
https://github.com/01org/tinycrypt/blob/3ea1a609e7aff9f2d8d13803e1076b7a8e551804/lib/Makefile#L11-L25

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants