[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 1/2] Add support for DTLS-SRTP profile negotiation (RFC 57
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [PATCH v2 1/2] Add support for DTLS-SRTP profile negotiation (RFC 5764) |
Date: |
Fri, 02 Nov 2012 00:06:47 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120805 Icedove/10.0.6 |
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.
regards,
Nikos