Can we add our symmetric algorithm to OpenSSL?
I want to add my symmetric encryption algorithm to OpenSSL and use it as a symmetric algorithm in SSL protocol. I need to test it using s_client
. So I need to say that OpenSSL uses it as a symmetric algorithm. It is enough for OpenSSL to use RSA for key exchange phases. I just want an algorithm like DES
or to be replaced in the encryption algorithm AES
.
Is it possible? If so, how can I do this? Do I have a tutorial for my problem?
source to share
Yes, you can. Please download the latest version (1.0.1j as of today) of openssl and look at the engines / ccgost folder. There you can find the implemented Russian symmetric encryption algorithm gost89 and use them as an example (see files gost89. * And gost_crypt.c). Full description of how to do it from this area. Good luck.
source to share