Hi, I like to build a prototype of my invention which allows to realize an electronic signature using a low cost embedded microcontroller inside a smart card or USB dongle having the size of a key. Today an electronic signature is normally realized by a public key algorithm like RSA requiring a expensive hardware for the modular arithmetric of large interger numbers. My idea is to use a special hardware to make the encryption irreversible. Therefore, only a much more efficient symmetric algorithm like the triple data encryption standard TDES is required.
The requirments are: A trust center which is not corrupted, a special hardware (smart card ISO7816 or USB dongle) symmetric block cipher TDES or AES, a secure hashfunction (SHA-1). Advantage: 1000 times faster than RSA, no need for a hybrid technique, long term security, low cost hardware.
These library functions are: des3key(uint8_t *key, int dir) Ddes(uint8_t *in, uint8_t *out)