Commit b2b1dd07 authored by Committed by David Woodhouse
store length of ESP encryption and HMAC keys so that they can be manipulated...
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 <firstname.lastname@example.org> Signed-off-by: David Woodhouse <email@example.com>
Showing with 48 additions and 25 deletions