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

PolarSSL #7

Closed
jaromil opened this issue Dec 3, 2012 · 10 comments
Closed

PolarSSL #7

jaromil opened this issue Dec 3, 2012 · 10 comments

Comments

@jaromil
Copy link
Contributor

jaromil commented Dec 3, 2012

Have you evaluated use of PolarSSL instead of OpenSSL?

It implements almost all the same calls, works better on embedded and is less license encumbered. It already can absolve to all tasks needed by OpenVPN, for instance.

Picocoin is neat! and much needed. will have a look...

@jgarzik
Copy link
Owner

jgarzik commented Dec 3, 2012

Not familiar with PolarSSL, but always open to new ideas.

@jgarzik
Copy link
Owner

jgarzik commented Dec 3, 2012

Bitcoin requires: sha1, sha256, ripemd160, BIGNUM, ECDSA.

Looks like PolarSSL lacks ECDSA and RIPEMD160, but has SHA1, SHA256 and BIGNUM.

@jaromil
Copy link
Contributor Author

jaromil commented Dec 3, 2012

mmm... ECDSA secp256k1 is the tough guy.

@cjdelisle
Copy link

Possibly this could be used in conjunction: https://github.com/sipa/secp256k1
I would be concerned about the OpenSSL DER flexability issue, although I gather it's pretty well understood by now.

@ghost
Copy link

ghost commented Dec 31, 2013

The current release of PolarSSL is 1.3.2 (Nov. 5th, 2013).

ECDSA has been supported since version 1.3.0:

https://polarssl.org/tech-updates/blog/new-features-in-polarssl-1.3.0

As far as I can see RIPEMD-160 is currently not supported but the main developer Paul Bakker is open to including it in the core code:

https://polarssl.org/discussions/feature-request/support-for-ripmed-algorithm

I have raised this as an issue on the PolarSSL github page:

Mbed-TLS/mbedtls#44

@ghost
Copy link

ghost commented Jan 13, 2014

This is promising:

Mbed-TLS/mbedtls#44 (comment)

@pjbakker
Copy link

Added to the PolarSSL development branch (Both RIPEMD-160 and the Koblitz curves!)! So ready for testing.

Will be included in the release 1.3.4 that will show up after the weekend!

@pjbakker
Copy link

PolarSSL 1.3.4 is out with RIPEMD-160 and secp256k1 support.. Let me know if you run into anything!

@aido aido mentioned this issue Jan 28, 2014
@jgarzik
Copy link
Owner

jgarzik commented Apr 1, 2016

Closing - moving in the direction of OpenSSL removal + algorithm direct inclusion

@jgarzik jgarzik closed this as completed Apr 1, 2016
@jacobbogers
Copy link

jgarzik, this means you will "ripp" out specific OpenSSL functionality and add it to picocoin? as not to depend on the entire OpenSSL library?

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

No branches or pull requests

5 participants