A simple library to support serving https.
Dependents: oldheating gps motorhome heating
crypto.c@12:2c342345b3db, 2019-09-26 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Sep 26 07:19:09 2019 +0000
- Revision:
- 12:2c342345b3db
- Parent:
- 10:e269fd7b9500
Chinese remainder theorem implemented giving a useful reduction from 20s to 5s to decrypt RSA.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 10:e269fd7b9500 | 1 | #include "rsa.h" |
andrewboyson | 10:e269fd7b9500 | 2 | #include "tls.h" |
andrewboyson | 10:e269fd7b9500 | 3 | #include "ser-cer.h" |
andrewboyson | 10:e269fd7b9500 | 4 | #include "pri-key.h" |
andrewboyson | 10:e269fd7b9500 | 5 | #include "led.h" |
andrewboyson | 10:e269fd7b9500 | 6 | |
andrewboyson | 10:e269fd7b9500 | 7 | void CryptoInit() |
andrewboyson | 10:e269fd7b9500 | 8 | { |
andrewboyson | 12:2c342345b3db | 9 | RsaInit(); |
andrewboyson | 10:e269fd7b9500 | 10 | TlsInit(); |
andrewboyson | 10:e269fd7b9500 | 11 | SerCerInit(); |
andrewboyson | 10:e269fd7b9500 | 12 | PriKeyInit(); |
andrewboyson | 10:e269fd7b9500 | 13 | } |
andrewboyson | 10:e269fd7b9500 | 14 | void CryptoMain() |
andrewboyson | 10:e269fd7b9500 | 15 | { |
andrewboyson | 12:2c342345b3db | 16 | RsaMain(); |
andrewboyson | 10:e269fd7b9500 | 17 | TlsMain(); |
andrewboyson | 10:e269fd7b9500 | 18 | } |