1

I want to use an ECC private key for encryption because of mutual authentication.
But I cannot find a method (or function) in wolfcrypt (wolfSSL) or the micro-ecc library.

Is is okay to use an (ECC) private key for encryption?
And if so, how can I do this?

  • Welcome to Information Security Stack Exchange! I've edited your question. Requests for tools are off-topic here, because they attract spam, and because the answers get outdated quickly. So I've removed that, to keep the question open. – S.L. Barth Feb 23 '17 at 7:50
1

No. In Public key Infrastructure(RSA, ECC) the private key is used to decrypt and the public to encrypt.

Furthermore, you can use private key to sign with digital signature. And the Public key to verify the integrity of the signature.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.