Topic: Adding custom SRP cipher suite into wolfSSL

Hi,
Is it possible to add custom SRP-AES-128-CBC-SHA cipher suite into wolfSSL? What all steps need to be done to achieve this? I have already  done some OpenSSL applications using this cipher suite. I'm currently trying to follow instructions on this post:
https://www.wolfssl.com/forums/topic845 … urves.html.
But I'm having trouble filling out the "ssl->specs" that I have created in keys.c file. Also what are the modifications in internal.c? Is there some reference I can look at? I'm not an expert in this field. Any help is much appreciated.

Share

Re: Adding custom SRP cipher suite into wolfSSL

Hi Arun,

Thanks for contacting wolfSSL Support. Adding support for SRP ciphers sounds great!

Here is a description of the steps for adding a custom cipher:
https://www.wolfssl.com/adding-alternat … library-2/

If you are interested in contributing your changes, you can open a pull request at https://github.com/wolfSSL/wolfssl.

Kind regards,
Eric @ wolfSSL Support

Re: Adding custom SRP cipher suite into wolfSSL

There doesn't seem to be a lot of information on the provided link. Is there any chance of a new wolfSSL version that supports any kind of SRP cipher suit in the near future?

Share

Re: Adding custom SRP cipher suite into wolfSSL

Hi Arun,

I completely missed the fact that wolfSSL already has some support for SRP.
https://www.wolfssl.com/doxygen/group__SRP.html

There is even some test code you could use as an example:
https://github.com/wolfSSL/wolfssl/blob … ests/srp.c

Hope this helps!