Can Propeller do HTTPS?
william chan
Posts: 1,326
Propellerheads,
Now that the Propeller can do Ethernet and HTTP, how difficult would it be to act like a HTTPS client through SSL?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Now that the Propeller can do Ethernet and HTTP, how difficult would it be to act like a HTTPS client through SSL?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Airspace V - international hangar flying!
www.airspace-v.com/ggadgets for tools & toys
SPIN can do long multiplications easily.
Where can I find more information on the crypto calculations for HTTPS or SSL?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.fd.com.my
www.mercedes.com.my
The source code for OpenSSL would be a good start..
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cardinal Fang! Fetch the comfy chair.
You mean the 32 x 32 mutliplication operators giving lower and higher 32 bits of the result? Easily usable - yes. But not very efficient. You need to perform each multiplicaiton twice where something like one and a half would suffice in assembler. Further, you only get a 64 bit result of 32 x 32 bit. This is not really enough for SSL / HTTPS. To get an impression have a look at the mentioned GMP or at Karatsuba or Toom-Cook. And these algorithms only give you multiplication of long integers - not multiplication of long integers modulo long primes or modulo a product of two long primes.
I don't want to frighten you! I would also like to see some SSL / HTTPS implementation on a uC. But long number arithmetic is really tough stuff if you want to do it at reasonable speed! Sure, you can simply port an existing solution - but that's a lot of work. Well. it's a lot of work anyway.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Airspace V - international hangar flying!
www.airspace-v.com/ggadgets for tools & toys
Other than that, the Microchip code should be a good example of how to implement SSL on microcontrollers. Most other companies charge all sorts of elaborate fees for SSL support.
As usual, the more you investigate in such questions the more interesting they become...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Airspace V - international hangar flying!
www.airspace-v.com/ggadgets for tools & toys
Right. Or you do five table lookups for 6 x 6 muls and combine them via Toom-Cook. Whichever is faster...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Airspace V - international hangar flying!
www.airspace-v.com/ggadgets for tools & toys