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

uECC_decompress() gives garbage when passed an already-decompressed key #195

Open
derekatkins opened this issue May 5, 2022 · 0 comments

Comments

@derekatkins
Copy link

Hi,
The documentation seems to imply that uECC_decompress() will take either a compressed or uncompressed key and return an uncompressed key. That, however, does not seem to be the case, and passing an uncompressed key to uECC_decompress() results in a garbage result. Is there an "isCompressed?" function I can use to determine whether or not to call the decompression function? Or better yet, how hard would it be to make uECC_decompress() detect whether or not the key is compressed and act appropriately?

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