84faa631a5
Refactor memory allocation for the symmetric ciphers context structures.
5781341d99
Use the OpenSSL HMAC implementation, and thus also the OpenSSL EVP_sha1()
implementation.
Experiments show about a 1.5x speedup on Intel CPUs with AVX2.
fb95445019
When building with OpenSSL, pass the AES_ICM key to the EVP context (and
thus, do AES key expansion) in srtp_cipher_init, not srtp_cipher_set_iv.
This means that AES key expansion is done once per key, rather than once
per packet, resulting in a 2-3x speedup for AES-128.
1acba56991
When building with OpenSSL, pass the AES_GCM key to the EVP context (and
thus, do AES key expansion) in srtp_cipher_init, not srtp_cipher_set_iv.
Improves AES_GCM performance 2x-3x.
0b45423678
Changes for OpenSSL 1.1.0 compatibility.
In OpenSSL 1.1.0, EVP_CIPHER_CTX, HMAC_CTX, and EVP_MD_CTX are opaque
types, and have to be allocated with *_new methods and deallocated with
*_free.
EVP_CIPHER_CTX_new/free is present in OpenSSL 1.0.1 and later, but
HMAC_CTX_new and EVP_MD_CTX_new are new in OpenSSL 1.1.0.
Use the _new unconditionally for ciphers, and conditionally use the old
or new APIs for HMAC and MD.
No noticible performance change for older OpenSSL.
PR: 228866
I have had around for a while.
It merely brings the usage into modernity. (Well, it drops ia64, but
that was done in a tree sweep a long time ago.)
Approved by: portmgr (tier-2 blanket)
This will primarily help powerpc64.
For archs where clang is the default compiler, these changes will have no
effect, as the base compiler already has these capabilities (primarily, but
not exclusively, c++-11).
Tested for no-harm on amd64.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
(I will accept the explanation that many of these are not useful for mips64,
but there are some in archivers, comms, databases, ...)
Tested on: amd64; mips64 xbuild.
Approved by: portmgr (tier-2 blanket)
Changelog: https://sourceforge.net/p/gimp-print/mailman/message/36300478/
While here, remove cups-genppd symlink (added in ports r465457) again.
The symlink is not being provided by upstream, and it's not expected
that users use this tool anyway (most of those who do are following
outdated documentation). (Noted by tijl@)
<ChangeLog>
*) Feature: configuration of environment variables for application
processes.
*) Feature: customization of php.ini path.
*) Feature: setting of individual PHP configuration options.
*) Feature: configuration of execution arguments for Go applications.
*) Bugfix: keep-alive connections might hang after reconfiguration.
</ChangeLog>
Lsyncd is designed to synchronize a local directory tree with low
profile of expected changes to a remote mirror. Lsyncd is especially
useful to sync data from a secure area to a not-so-secure area.
WWW: https://axkibe.github.io/lsyncd/
PR: 228714
Submitted by: Junichi Satoh <junichi@junichi.org>
Subversion doesn't allow mixed line endings when svn:eol-style
property is set. files/patch-bug1402766 tries to create a new test
file, so simply strip carriage-return from lines which is what
actually happens on checkout. Originally, the file landed via
git-svn which doesn't appear to run sanity checks on dcommit.
$ svn cat files/patch-bug1402766
svn: E135000: Inconsistent line ending style
Reported by: gjb
Pull in gcsplit from sysutils/coreutils when users try to embed
certificates via CERT= in MAKE_ARGS. This currently fails because
iPXE expects csplit to behave like GNU csplit and uses constructs
that our csplit does not support.
PR: 228835
Submitted by: Chad Jacob Milios <milios@ccsys.com> (based on)