[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Thu Apr 23 19:40:59 UTC 2020
New commits:
commit 8a8b80e6e0270e74d7ea7346998594e6911d8a34
Merge: aa36745 f31da2c
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Apr 23 15:39:21 2020 -0400
crypto: pass perspective into IKEv2 sign_hash()
And drop all the ROLE parameters which were always .st_original_role.
Merge commit 'f31da2c160432116e8c06014146f33d59922952b'
commit f31da2c160432116e8c06014146f33d59922952b
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Apr 23 12:46:43 2020 -0400
crypto: replace role+firstpacket params to v2_calculate_sighash() with from_the_perspective_of
Code emitting hash always passes in LOCAL_PERSPECTIVE, and code
verifying hash always passes in REMOTE_PERSPECTIVE.
Use perspective to select firstpacket. Use with IKE's .st_sa_role to
select [ir].
commit b789ddfe05539fa7ba02eca8e7fd2e39852730e2
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Apr 23 13:05:29 2020 -0400
crypto: drop role parameter to v2_verify_{ecdsa,rsa}_hash(), always .st_original_role
commit 90801bb7ed8f118ef2688076c949cb3457838e8b
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Apr 23 13:00:29 2020 -0400
crypto: drop role parameter to v2_check_auth(), always st_original_role
commit 65ca89f5a2268a9ab0c477909777d07b0082fb6c
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Apr 23 12:51:28 2020 -0400
crypto: drop role parameter to ikev2_calculate_rsa_hash(), always st_original_role
commit c574de15a1844f8019eafa6751a1017c06927dfc
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Apr 23 12:43:13 2020 -0400
ikev2: add enum perspective { NO_PERSPECTIVE, LOCAL_PERSPECTIVE, REMOTE_PERSPECTIVE }
For instance, the authentication hash when emitted is from a local
perspective, but authenticated from a remote perspective.
More information about the Swan-commit
mailing list