[PATCH v2 1/2] Add support for DTLS-SRTP profile negotiation (RFC 5764)

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Nov 2 00:06:47 CET 2012

On 11/01/2012 04:31 PM, Martin Storsjö wrote:

>> Is the key size fixed for each profile? If yes, then wouldn't be easier
>> to have a helper function to extract the key, based on the negotiated
>> profile?
> Yes, the master key size should be 128 bit and the master salt size 112
> bit, so having a function extract all of it at once would be useful. But
> it might be better to hold back on this until I've actually got those
> parts tested against some other reference.

I've hacked a helper function (gnutls_srtp_get_keys) with these values.
It would be nice if you can verify its correctness, and if it is not, we
fix it.


More information about the Gnutls-devel mailing list