On 2009.04.29 at 05:03:00 -0700, siavash fallahdoost wrote:

>    Hi all,
>    I want to add new cipher algorithms to openssl library and rebuild openssl
>    on Windows(VC++).

Really you don't need to rebuild OpenSSL just for adding a
cryptoalgorithm.

You can implement this algorithm as loadable module (engine).
It probably require much less source code reading and have less chances
to break something.

As an example, you can study source code of ccgost engine, included in
the OpenSSL 1.0. It does add
1. New digest algorithm
2. New simmetric cipher algorithm
3. New MAC algorithm which is not HMAC
4. New digital signature (asymmetric cryptography) algorithms.

While you'll need OpenSSL 1.0 and later to add public key (asymmetric)
and non-HMAC MAC algorithms, it symmetric chiphers and digests can be
easily added to OpenSSL 0.9.8 as well.

Unfortunately, TLS cipher suites cannot be added without recompilation
even to OpenSSL 1.0

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to