Philipp Hancke 6caca655d8 Reland "Spanify SRTP key export"
This is a reland of commit 65ae3245f9380e46b1d755f3f452ba63ab6cdf8d
with more backward compat which also fixes the off-by-one issue which caused wrong SRTP keys to be extracted.

Original change's description:
> Spanify SRTP key export
>
> and simplify the interface used as this is only used for exporting
> SRTP keys and passing arcane OpenSSL arguments around does not make
> much sense.
>
> BUG=webrtc:357776213
>
> Change-Id: I9e5a94fe368b77975e48b6dd5ab6a2d2575d6382
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/364521
> Commit-Queue: Philipp Hancke <phancke@meta.com>
> Reviewed-by: Harald Alvestrand <hta@webrtc.org>
> Reviewed-by: Florent Castelli <orphis@webrtc.org>
> Cr-Commit-Position: refs/heads/main@{#43198}

Bug: webrtc:357776213
Change-Id: I5d43dc23f90ef630834fb400751979fcc5e18203
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/365180
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Jeremy Leconte <jleconte@webrtc.org>
Commit-Queue: Philipp Hancke <phancke@meta.com>
Cr-Commit-Position: refs/heads/main@{#43225}
2024-10-11 19:39:28 +00:00
..
2023-11-15 12:10:28 +00:00
2023-04-21 06:17:42 +00:00
2024-08-09 14:58:10 +00:00
2023-04-21 06:17:42 +00:00
2024-04-24 20:53:23 +00:00
2022-01-28 15:13:45 +00:00
2023-04-21 06:17:42 +00:00
2024-08-14 07:11:57 +00:00
2023-04-21 06:17:42 +00:00
2021-08-31 14:27:49 +00:00
2024-02-01 14:43:30 +00:00
2024-02-01 14:43:30 +00:00
2024-06-07 09:47:26 +00:00
2024-06-07 09:47:26 +00:00
2024-08-14 07:11:57 +00:00
2024-02-01 14:43:30 +00:00
2023-04-21 06:17:42 +00:00
2021-09-21 15:17:26 +00:00
2024-04-24 20:53:23 +00:00
2024-06-07 09:47:26 +00:00