cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.21k stars 474 forks source link

question about the library of ssl #494

Closed ycyang1229 closed 4 years ago

ycyang1229 commented 4 years ago

I am new in this project. I wonder is it possible to change the library of ssl from openssl to mbedtls? If I want to do this change, what obstacles will I face?

nils-ohlmeier commented 4 years ago

If you take a look here https://github.com/cisco/libsrtp/tree/master/crypto/cipher you will find different cipher implementations for OpenSSL, the files ending in _ossl., and for NSS, ending in _nss.. That should give you an idea how to add support for another crypto library.

ycyang1229 commented 4 years ago

Cool. Let me dive it. Thanks!

ycyang1229 commented 3 years ago

@nils-ohlmeier Hey, I created one pull req for this change. If you have the interest in it, please take a look. thanks.