]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
store length of ESP encryption and HMAC keys so that they can be manipulated separate...
authorDaniel Lenski <dlenski@gmail.com>
Mon, 15 May 2017 04:22:06 +0000 (21:22 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 15 May 2017 04:29:26 +0000 (21:29 -0700)
commitb2b1dd0702239d415943cea6f821a345e0d50b63
tree6974deb74e2a5cb2dae5afda6e0d3a59e33a6adf
parente68c1699980d774d408c98e21ba31b64ce2399de
store length of ESP encryption and HMAC keys so that they can be manipulated separately for both Juniper and GP

David Woodhouse wrote:
> Daniel Lenski wrote:
>> -       unsigned char secrets[0x40];
>> +       unsigned char secrets[0x40]; /* Encryption key bytes, then HMAC key bytes */
>
> You're allowed to object to that horridness and split it into two
> separate fields for the encryption and HMAC keys, instead of just
> documenting it.
>
> In fact, one might argue that would be the better approach...

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
esp.c
gnutls-esp.c
oncp.c
openconnect-internal.h
openssl-esp.c