Created attachment 234333 [details] Add CTR plugin option Add CTR plugin option Add CTR OPTION. When enabled it will add --enable-ctr parameter to configure and build CTR cipher mode wrapper plugin.
Note that it would probably also be possible to add support for AES-CTR to the openssl plugin, which the port enables by default.
(In reply to Tobias Brunner from comment #1) I'll check then I can incorporate it with this change
@Francois I've pushed a patch to the openssl-ctr branch that adds CTR mode support for AES and Camellia (as used with IKE/ESP) to the openssl plugin.
Comment on attachment 234333 [details] Add CTR plugin option Happy with the patch
(In reply to Tobias Brunner from comment #3) Will test it out Tobias
The patch can be applied.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b3a2477de75eeaac86240462bd3d76abef0c2c2c commit b3a2477de75eeaac86240462bd3d76abef0c2c2c Author: Björn König <freebsd@koenigbj.8bx.de> AuthorDate: 2022-06-01 21:52:04 +0000 Commit: Dries Michiels <driesm@FreeBSD.org> CommitDate: 2022-06-01 22:03:17 +0000 security/strongswan: add CTR plugin option PR: 264354 Approved by: Francois ten Krooden (maintainer) security/strongswan/Makefile | 5 ++++- security/strongswan/pkg-plist | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-)
Thanks, committed with minor modification!