cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.2k stars 472 forks source link

Make crypto types opaque #535

Closed bifurcation closed 2 years ago

bifurcation commented 3 years ago

Right now, the internals of crypto structs are visible and widely used. This PR replaces direct struct member access with accessor functions.

It is a draft right now for feedback, and because only the cipher side of things is done. If folks are OK with this approach, then I will do the auth side as well.