[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit 3f60371901c32284c4e641c0594907673c352ea2
Author: Andrew Cagney 
Date:   Mon Jul 16 15:53:08 2018 -0400

ike_alg: merge alg headers into ike_alg_{hash,prf,integ,encrypt}.h

This makes it consistent with ike_alg_dh.h which has all the #ifdefs
deciding if an algorithm should be declared in one place.  While not
pretty it should be easier to maintain.

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit 54be5f22d49b25cfefe960e7643da2f4ffd128fc
Author: Andrew Cagney 
Date:   Mon Jul 16 16:02:47 2018 -0400

ike_alg: mvoe ike_alg.c to libswan (was hiding in pluto)

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit e6611b048d15fc0f3abf2b20f6bf27587b9700a0
Author: Andrew Cagney 
Date:   Mon Jul 16 18:58:44 2018 -0400

ike_alg: add AUTH_ALGORITHM_HMAC_SHA2_256_TRUNCBUG to ike algorithm list

So that searches for the SADB variant work.

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit 7177c4127b6ee13550024eb167a54d0e541bc913
Author: Andrew Cagney 
Date:   Mon Jul 16 17:20:09 2018 -0400

ike_alg: replace ike_alg_snprintf() with lswlog_ike_alg()

eliminating yet another chunk of code trying to safely append
to a buffer

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit a679c42df34cf11bd253157a9af883ab9a0e6ec3
Author: Andrew Cagney 
Date:   Mon Jul 16 18:57:31 2018 -0400

kernel: add AUTH_ALGORITHM_HMAC_SHA2_256_TRUNCBUG to named constants

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit b3ef43676614e2fae748015e99b03a045193a5c9
Merge: 7177c41 b55cbe8
Author: Andrew Cagney 
Date:   Mon Jul 16 17:41:34 2018 -0400

ike_alg: adjust algorithm list so that sha2-256-truncbug will fit

Merge commit 'b55cbe856b7a231be685df978fdcb2b8454dbd24'

commit b55cbe856b7a231be685df978fdcb2b8454dbd24
Author: Andrew Cagney 
Date:   Mon Jul 16 17:38:45 2018 -0400

testing: update expect algorithm list to allow for latest white space

commit e52f5b705125450a410b0d6761fcf53921a68e4d
Author: Andrew Cagney 
Date:   Mon Jul 16 17:38:12 2018 -0400

ike_alg: make space for the very long sha2-256-truncbug when listing 
algorithms

g

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread D. Hugh Redelmeier
New commits:
commit c2ecdefb06fed7f51cbf6571f3a431b5643a1d7a
Author: D. Hugh Redelmeier 
Date:   Mon Jul 16 19:28:50 2018 -0400

pluto: convert all struct_desc initialization to use C new-style

Too many fields to understand at a glance at an old-style initializer.

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit ba3ec6b9af072ac34c35dbe3d345b7fdf0edcb96
Merge: e0a29de bc7ee3f
Author: Andrew Cagney 
Date:   Mon Jul 16 21:58:10 2018 -0400

kernel: use ike_alg's .fqn when listing kernel integ(auth) algorithms

Merge commit 'bc7ee3f9dfad7a74cffba3a7358d86477f70999d'

commit bc7ee3f9dfad7a74cffba3a7358d86477f70999d
Author: Andrew Cagney 
Date:   Mon Jul 16 21:57:18 2018 -0400

testing: expect ike_alg's .fqn in kernel integ list

commit d160552fb650ab232e50b55e91ff2b03f9be017b
Author: Andrew Cagney 
Date:   Mon Jul 16 21:54:38 2018 -0400

kernel: use shorter IKE_ALG's .fqn for alg names when listing supported 
kernel integ(auth)

And finally finally delete alg_info_esp_sadb2aa().

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit ea5c48f80b755ba89154548b2d55b2f8176d371c
Merge: ba3ec6b e75ce78
Author: Andrew Cagney 
Date:   Mon Jul 16 22:33:07 2018 -0400

kernel: use ike_alg's .fqn as the name when listing kernel encrypt algs

Rather than the IKEv1 name.  Another reason for IKEv1 encrypt names
containing bogus entries bites the dust.

Merge commit 'e75ce78a3cc9d368206265d4fedcf73979c71b35'

commit e75ce78a3cc9d368206265d4fedcf73979c71b35
Author: Andrew Cagney 
Date:   Mon Jul 16 22:31:36 2018 -0400

testing: expect ike_alg .fqn in kernel encryption alg list

commit 4e802b7c6ef0984e9caa68deaebcd96350736942
Author: Andrew Cagney 
Date:   Mon Jul 16 22:31:10 2018 -0400

kernel: use ike_alg .fqn when listing encryption algorithms

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit 2dfbf2f25fa01f9c906c925c9e46c8e46d1e881b
Author: Andrew Cagney 
Date:   Mon Jul 16 20:16:08 2018 -0400

kernel: when listing algorithms, expect the sadb->ike_alg lookup to work

Follow-on changes will start using the returned value.

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit e0a29dedd545af609890c47eefbca1ae075d47ac
Merge: 2dfbf2f bb0c120
Author: Andrew Cagney 
Date:   Mon Jul 16 21:06:24 2018 -0400

kernel: for integ(auth) algorithms list a single key-length=...

Min/max values are SADB centric (and always equals).

Merge commit 'bb0c120abd1ca3cf38cfd82a381a65dfdc4ce69b'

commit bb0c120abd1ca3cf38cfd82a381a65dfdc4ce69b
Author: Andrew Cagney 
Date:   Mon Jul 16 21:05:28 2018 -0400

testing: expect key-length=... in kernel integ algorithm list

commit 1ed6de21e00676bf74c1cb38cf871376c586d040
Author: Andrew Cagney 
Date:   Mon Jul 16 21:04:01 2018 -0400

kernel: for kernel integ algorithms, only list one key-length

While SADB might support a range, the range is always equal.
Get value from integ_desc.

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread D. Hugh Redelmeier
New commits:
commit 6b72aa1f32af0a43dc9a811e4b5615ad212813cd
Author: D. Hugh Redelmeier 
Date:   Mon Jul 16 22:51:55 2018 -0400

kernel: fix spelling mistake in a comment

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit dfd6cccd46a59056e375ddda762c225d9f9753ad
Author: Andrew Cagney 
Date:   Mon Jul 16 23:36:30 2018 -0400

kernel: use ike_alg key lengths when printing encrypt algs key length range

Instead of the SADB range.  Should probably just list the valid
key lengths, later.

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit 69de88e133eda9cb4a3d3ac21e2ef85c00431631
Merge: dfd6ccc 612f833
Author: Andrew Cagney 
Date:   Tue Jul 17 00:14:39 2018 -0400

kernel: don't include ivlen=... in encryption algorithm list, value 
bogus/ignored

Merge commit '612f833ceca763455d0016c6e1f049284240bdf6'

commit 612f833ceca763455d0016c6e1f049284240bdf6
Author: Andrew Cagney 
Date:   Tue Jul 17 00:11:32 2018 -0400

kernel: drop ivlen=... from kernel algorithm list, value SADB value from 
kernel is bogus/ignored

For instance AES_CBC has printed either 128 (ok in bits) or 8 (just
wrong).

commit cc76b2f5f770ac1adbdcc3b0bea4a763a8acd297
Author: Andrew Cagney 
Date:   Tue Jul 17 00:13:21 2018 -0400

testing: don't expect ivlen= in kernel algorithm list

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit 9532aa45704b7787bdf0eaaa75fae16e849c56b2
Author: Andrew Cagney 
Date:   Mon Jul 16 21:14:59 2018 -0400

kernel: debug-log each alg as it is added to the db context

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread D. Hugh Redelmeier
New commits:
commit b858f9398aa5e9552b345ecea11f970774e7a8b6
Author: D. Hugh Redelmeier 
Date:   Mon Jul 16 09:15:14 2018 -0400

pluto: reduce boilerplace in generating notify payloads and in using 
critical()

- Most calls to ship_v2N had stereotyped parameters.  Added,
  documented, and used ship_v2Ns and ship_v2Nsp wrapper functions to
  exploit this.

- Added EXPECT code to detect violations of the RFC's rule
  that specific notifications must include SPI information
  and that no other notification may do so.

  This pexpect does get triggered in our test suite, highlighting that
  we have a bug.  (We knew that already.)

- Eliminated the first argument tocritical().  All calls had supplied
  "false" as the first argument.

- general tidying

commit 19b7099dac5ce68413adb247a6951ae70301419f
Author: D. Hugh Redelmeier 
Date:   Mon Jul 16 09:06:02 2018 -0400

pluto: connections.c: formatting improvement

commit 1b7be1e6cd5435176553d1e1e669f6c7fdee03c7
Author: D. Hugh Redelmeier 
Date:   Sun Jul 15 21:06:35 2018 -0400

pervasive: add a space after each comma that hasn't got one

commit b6ab1e0bf54af98d4aaa8f73f3ea43a2fd59b28c
Author: D. Hugh Redelmeier 
Date:   Sun Jul 15 20:59:27 2018 -0400

pluto: kernel.c: improve a line break

commit 5ca5ca7c450402d51e350442af74ec2a326b7fd3
Author: D. Hugh Redelmeier 
Date:   Sun Jul 15 20:51:56 2018 -0400

pluto: kernel_netlink.c: make broken source lines more legible

commit 3f883756ec19e3224c426f43588b1c5d980b3836
Author: D. Hugh Redelmeier 
Date:   Sun Jul 15 20:01:56 2018 -0400

pluto: tidy show.c's log_state()

commit 35525205a596ca123876dc41d58fd323b39d80c1
Author: D. Hugh Redelmeier 
Date:   Sun Jul 15 19:26:35 2018 -0400

pluto: tidy connections.h

- delete unused struct connection's member "initiated"

- delete declaration of parse_mark_mask() since it is never defined nor used

- add ??? for struct connection's member "tunnel_addr_family"
  noting that it is set but never used.

- whitespace and comment fiddling

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit b7a892599874414c1340bb3ceaae6b7b0e16c568
Author: Andrew Cagney 
Date:   Mon Jul 16 19:54:49 2018 -0400

testing: replace "(null)" with AUTH_ALGORITHM_HMAC_SHA2_256_TRUNCBUG in 
algorithm list

Long standing bug.

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


[Swan-commit] Changes to ref refs/heads/master

2018-07-16 Thread Andrew Cagney
New commits:
commit 0b166b961a70b60165e895ddf07ab190e405ae86
Author: Andrew Cagney 
Date:   Mon Jul 16 23:33:15 2018 -0400

testing: expect shorter HMAC_SHA2_256_TRUNCBUG name in kernel's integ alg 
list

Follow-up b7a892599874414c1340bb3ceaae6b7b0e16c568

___
Swan-commit mailing list
Swan-commit@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit