[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Fri Dec 8 15:30:47 UTC 2017
New commits:
commit 9cd8d983ca7658b08a1c55ee358fa26ff5d4ec1b
Author: Andrew Cagney <cagney at gnu.org>
Date: Fri Dec 8 09:43:01 2017 -0500
crypto: add pcr_release_crypto_{request,response}()
Place holders for anyone brave enough to add code cleaning up
cancelled crypto requests and responses.
The complication here is with DH where the union member needing to
have its fields released depends both on the tag and on the status of
the crypto calculation. For instance, the tag pcr_compute_dh_v2 could
mean that the contents of either .dhq and/or .dhv2 need releasing.
KE/NONCE avoid this by using a single structure and, instead, having
individual in/out fields.
More information about the Swan-commit
mailing list