[Swan-commit] Changes to ref refs/heads/master
D. Hugh Redelmeier
hugh at vault.libreswan.fi
Thu Feb 13 10:23:49 EET 2014
New commits:
commit 2995415b24315ad492c453055e235ec8d6168724
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Thu Feb 13 03:22:10 2014 -0500
Improve wire_chunk abstraction in pluto_crypto.h
- separate the wire_arena concept from the wire_chunk.
This helps the C type system to catch errors
and makes the code clearer
- include the space logically within the arena.
This makes a number of parameters redundant
leaving less opportunity for mistakes and
confusion.
- add macros to make the notation more concise.
- unify functions with the same purpose
- rename functions to make their purpose clearer
- document the abstraction and conventions.
- make the function of the union within struct pluto_crypto_req clearer.
- sprinkse a few const qualifiers to clarify data flow
More information about the Swan-commit
mailing list